aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-02 15:01:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 17:02:50 -0700
commite148fce040b874c7dd397cb22118a3c03b7f02d4 (patch)
tree5a14528b335565da5f5ff119cd770978892f43d8 /python/fatcat_tools/importers
parent20ce31bdc9c94a35b98369249544c122821a171f (diff)
downloadfatcat-e148fce040b874c7dd397cb22118a3c03b7f02d4.tar.gz
fatcat-e148fce040b874c7dd397cb22118a3c03b7f02d4.zip
re-fmt all the fatcat_tools __init__ files for readability
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/__init__.py56
1 files changed, 39 insertions, 17 deletions
diff --git a/python/fatcat_tools/importers/__init__.py b/python/fatcat_tools/importers/__init__.py
index a2224081..06ecfd58 100644
--- a/python/fatcat_tools/importers/__init__.py
+++ b/python/fatcat_tools/importers/__init__.py
@@ -1,4 +1,3 @@
-
"""
To run an import you combine two classes; one each of:
@@ -12,25 +11,48 @@ To run an import you combine two classes; one each of:
"""
-from .common import EntityImporter, JsonLinePusher, LinePusher, CsvPusher, SqlitePusher, Bs4XmlFilePusher, Bs4XmlLargeFilePusher, Bs4XmlLinesPusher, Bs4XmlFileListPusher, KafkaJsonPusher, KafkaBs4XmlPusher, make_kafka_consumer, clean, is_cjk, LANG_MAP_MARC
-from .crossref import CrossrefImporter, CROSSREF_TYPE_MAP, lookup_license_slug
-from .datacite import DataciteImporter
-from .jalc import JalcImporter
-from .jstor import JstorImporter
+from .arabesque import ARABESQUE_MATCH_WHERE_CLAUSE, ArabesqueMatchImporter
from .arxiv import ArxivRawImporter
-from .pubmed import PubmedImporter
+from .cdl_dash_dat import auto_cdl_dash_dat
+from .chocula import ChoculaImporter
+from .common import (
+ LANG_MAP_MARC,
+ Bs4XmlFileListPusher,
+ Bs4XmlFilePusher,
+ Bs4XmlLargeFilePusher,
+ Bs4XmlLinesPusher,
+ CsvPusher,
+ EntityImporter,
+ JsonLinePusher,
+ KafkaBs4XmlPusher,
+ KafkaJsonPusher,
+ LinePusher,
+ SqlitePusher,
+ clean,
+ is_cjk,
+ make_kafka_consumer,
+)
+from .crossref import CROSSREF_TYPE_MAP, CrossrefImporter, lookup_license_slug
+from .datacite import DataciteImporter
+from .dblp_container import DblpContainerImporter
+from .dblp_release import DblpReleaseImporter
+from .doaj_article import DoajArticleImporter
+from .file_meta import FileMetaImporter
+from .fileset_generic import FilesetImporter
from .grobid_metadata import GrobidMetadataImporter
+from .ingest import (
+ IngestFileResultImporter,
+ IngestFilesetResultImporter,
+ IngestWebResultImporter,
+ SavePaperNowFileImporter,
+ SavePaperNowFilesetImporter,
+ SavePaperNowWebImporter,
+)
+from .jalc import JalcImporter
from .journal_metadata import JournalMetadataImporter
-from .chocula import ChoculaImporter
+from .jstor import JstorImporter
from .matched import MatchedImporter
from .orcid import OrcidImporter
-from .arabesque import ArabesqueMatchImporter, ARABESQUE_MATCH_WHERE_CLAUSE
-from .wayback_static import auto_wayback_static
-from .cdl_dash_dat import auto_cdl_dash_dat
-from .ingest import IngestFileResultImporter, SavePaperNowFileImporter, IngestWebResultImporter, SavePaperNowWebImporter, IngestFilesetResultImporter, SavePaperNowFilesetImporter
+from .pubmed import PubmedImporter
from .shadow import ShadowLibraryImporter
-from .file_meta import FileMetaImporter
-from .doaj_article import DoajArticleImporter
-from .dblp_release import DblpReleaseImporter
-from .dblp_container import DblpContainerImporter
-from .fileset_generic import FilesetImporter
+from .wayback_static import auto_wayback_static