Papermerge Worker
pmwroker's main job is OCR processing. It extracts text from pdf, tiff, jpeg and png. For full project description please see Papermerge Project
Requirements
python >= 3.6
pmworker.wrapper uses subprocess.run method, method added in python 3.5. Also argument of subprocess.run(encoding='utf-8') is used. This argument was added python 3.6
Dependencies
Depends on celery, tesseract, imagemagick.
Usage:
export CELERY_CONFIG_MODULE='pmwroker.config' celery -A pmworker.celery worker -l info
Run Tests
Run all tests:
python3 run.py
Run specific test file:
python3 run.py -p test_endpoint
Which is same as:
python3 run.py -p test_endpoint.py
Metadata
Release files for pmworker 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pmworker-1.2.0.tar.gz | 18.6 kB | Without provenance | Details |
Release files / pmworker-1.2.0.tar.gz
| Download URL | pmworker-1.2.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e5321c771f7d7fff407327e4a31cc82812a0d054b3d5d01b0f460b8b63e635b
|
|
BLAKE2b-256 checksum How to use checksums |
d2227918dbbc00b7d5f6c44a88f5fddb75649eeae232d76e0abff9bb07be3e99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for pmworker 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.