aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* pdfextract: fix pdf_extra key namesBryan Newbold2020-06-251-2/+2
|
* ensure pdf_meta isn't passed an empty dict()Bryan Newbold2020-06-251-1/+4
|
* args.kafka_env refactor didn't happen (yet)Bryan Newbold2020-06-251-2/+2
|
* s3-only mode persist workers use different consumer groupBryan Newbold2020-06-251-2/+8
|
* changes from prodBryan Newbold2020-06-252-4/+18
|
* sandcrawler_worker: remove duplicate run_pdf_extract()Bryan Newbold2020-06-251-29/+0
|
* pdfextract workerBryan Newbold2020-06-251-1/+34
|
* pdfextract: don't compress thumbnail outputBryan Newbold2020-06-251-1/+1
|
* pipenv: python-poppler 0.2.1Bryan Newbold2020-06-252-49/+51
|
* fixes and tweaks from testing locallyBryan Newbold2020-06-176-18/+134
|
* fixes to pdfextract_toolBryan Newbold2020-06-171-12/+8
|
* tweak kafka topic names and seaweedfs layoutBryan Newbold2020-06-172-10/+12
|
* make process_pdf() more robust to parse errorsBryan Newbold2020-06-171-5/+29
|
* note about text layout with pdf extractionBryan Newbold2020-06-171-0/+8
|
* lint fixesBryan Newbold2020-06-174-7/+9
|
* rename pdf tools to pdfextractBryan Newbold2020-06-173-0/+0
|
* coverage-html makefile targetBryan Newbold2020-06-171-0/+3
|
* ignore PIL deprecation warningsBryan Newbold2020-06-171-0/+1
|
* partial test coverage of pdf extract workerBryan Newbold2020-06-172-6/+70
|
* fix coverage commandBryan Newbold2020-06-172-2/+4
|
* update grobid2json with type annotationsBryan Newbold2020-06-171-94/+110
|
* remove unused common.pyBryan Newbold2020-06-172-139/+0
|
* better DeprecationWarning filtersBryan Newbold2020-06-171-3/+4
|
* update Makefile from fatcat-scholar tweaks/commandsBryan Newbold2020-06-171-3/+21
|
* WIP on pdf_tool.pyBryan Newbold2020-06-171-0/+137
|
* add new pdf workers/persistersBryan Newbold2020-06-174-2/+214
|
* pdf: mypy and typo fixesBryan Newbold2020-06-172-15/+22
|
* workers: refactor to pass key to process()Bryan Newbold2020-06-176-20/+28
|
* pipenv: correct poppler; update lockfileBryan Newbold2020-06-162-76/+255
|
* pipenv: flake8, pytype, blackBryan Newbold2020-06-161-0/+7
|
* pipenv: pillow and poppler (for PDF extraction)Bryan Newbold2020-06-161-0/+2
|
* initial work on PDF extraction workerBryan Newbold2020-06-162-1/+158
| | | | | This worker fetches full PDFs, then extracts thumbnails, raw text, and PDF metadata. Similar to GROBID worker.
* pdf_thumbnail script: demonstrate PDF thumbnail generationBryan Newbold2020-06-161-0/+35
|
* refactor worker fetch code into wrapper classBryan Newbold2020-06-163-141/+111
|
* rename KafkaGrobidSink -> KafkaCompressSinkBryan Newbold2020-06-163-3/+3
|
* remove deprecated kafka_grobid.py workerBryan Newbold2020-05-261-331/+0
| | | | | | All use of pykafka was refactored to use the confluent library some time ago. And all kafka workers have been using the newer sandcrawler style worker for some time.
* pipenv: remove old python3.5 cruft; add mypyBryan Newbold2020-05-262-185/+196
|
* start a python MakefileBryan Newbold2020-05-191-0/+15
|
* handle UnboundLocalError in HTML parsingBryan Newbold2020-05-191-1/+4
|
* first iteration of oai2ingestrequest scriptBryan Newbold2020-05-051-0/+137
|
* hotfix for html meta extract codepathBryan Newbold2020-05-031-1/+1
| | | | Didn't test last commit before pushing; bad Bryan!
* ingest: handle partial citation_pdf_url tagBryan Newbold2020-05-031-0/+3
| | | | | | | | Eg: https://www.cureus.com/articles/29935-a-nomogram-for-the-rapid-prediction-of-hematocrit-following-blood-loss-and-fluid-shifts-in-neonates-infants-and-adults Has: <meta name="citation_pdf_url"/>
* workers: add missing want() dataflow pathBryan Newbold2020-04-301-0/+9
|
* ingest: don't 'want' non-PDF ingestBryan Newbold2020-04-301-0/+5
|
* timeouts: don't push through None error messagesBryan Newbold2020-04-291-2/+2
|
* timeout message implementation for GROBID and ingest workersBryan Newbold2020-04-272-0/+18
|
* worker timeout wrapper, and use for kafkaBryan Newbold2020-04-271-2/+40
|
* fix KeyError in HTML PDF URL extractionBryan Newbold2020-04-171-1/+1
|
* persist: only GROBID updates file_meta, not file-resultBryan Newbold2020-04-161-1/+1
| | | | | | | | | The hope here is to reduce deadlocks in production (on aitio). As context, we are only doing "updates" until the entire file_meta table is filled in with full metadata anyways; updates are wasteful of resources, and most inserts we have seen the file before, so should be doing "DO NOTHING" if the SHA1 is already in the table.
* batch/multiprocess for ZipfilePusherBryan Newbold2020-04-162-5/+26
|