aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/query_citation.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-27 14:19:29 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-27 18:25:58 -0700
commit956e64f47f7d47f2539cd6575c25ec0b6a33e567 (patch)
treeb6775a940f21b3dabdd3e7de3398c2da874914fd /fatcat_scholar/query_citation.py
parent02249d03d086e71a589733280a2f5e32990f72b1 (diff)
downloadfatcat-scholar-956e64f47f7d47f2539cd6575c25ec0b6a33e567.tar.gz
fatcat-scholar-956e64f47f7d47f2539cd6575c25ec0b6a33e567.zip
re-style imports (isort) on all core python files
Diffstat (limited to 'fatcat_scholar/query_citation.py')
-rw-r--r--fatcat_scholar/query_citation.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/fatcat_scholar/query_citation.py b/fatcat_scholar/query_citation.py
index 4f40c73..3f741f0 100644
--- a/fatcat_scholar/query_citation.py
+++ b/fatcat_scholar/query_citation.py
@@ -12,16 +12,16 @@ parallel with "regular" query?
import io
import sys
-from typing import Optional, Any, Tuple
import xml.etree.ElementTree as ET
+from typing import Any, Optional, Tuple
-import requests
-from fatcat_openapi_client import ReleaseEntity, ReleaseExtIds, ReleaseContrib
-from fatcat_scholar.api_entities import entity_to_dict
-from fuzzycat.matching import match_release_fuzzy
import fuzzycat.common
import fuzzycat.verify
+import requests
+from fatcat_openapi_client import ReleaseContrib, ReleaseEntity, ReleaseExtIds
+from fuzzycat.matching import match_release_fuzzy
+from fatcat_scholar.api_entities import entity_to_dict
from fatcat_scholar.grobid2json import biblio_info
@@ -172,6 +172,7 @@ if __name__ == "__main__":
Demo showing how to integrate the above functions together.
"""
import os
+
import elasticsearch
import fatcat_openapi_client