Docscan
Docscan is a document scanner. Take a photo of your documents and frame it.
Installation
Install it from pypi
pip install docscan
Usage as a cli
Scan from a remote image
curl -s http://input.png | docscan > output.png
Scan from a local file
docscan path/to/output.png path/to/input.png
Usage as a library
In app.py
import sys
from docscan.doc import scan
sys.stdout.buffer.write(scan(sys.stdin.buffer.read()))
Then run
cat input.png | python app.py > out.png
License
Copyright (c) 2020-present Daniel Gatis
Licensed under MIT License
Buy me a coffee
Liked some of my work? Buy me a coffee (or more likely a beer)
Metadata
Release files for docscan 1.0.6
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 | Actions |
|---|---|---|---|---|
| docscan-1.0.6.tar.gz | 6.1 kB | Without provenance | Details for docscan-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docscan-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for docscan-1.0.6-py3-none-any.whl |
Total release size: 11.8 kB
Release files / docscan-1.0.6.tar.gz
| Download URL | docscan-1.0.6.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
921d749a43ccf50f7467c0bceb67887104bc7c84e6a6265893ee910a9bbd4d2e
|
|
BLAKE2b-256 checksum How to use checksums |
ffcf3b94f4217393b8dda8508f5b3532722034aeca59ffad34c9ebd161901e85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / docscan-1.0.6-py3-none-any.whl
| Download URL | docscan-1.0.6-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a8a2cde3f0077623ea0a581afa09fd326c9005f5db98fba5a7f60efa899f65c
|
|
BLAKE2b-256 checksum How to use checksums |
efbec9cb26d5370457a03340e1cf67071a470b2b3cccb0f0aec2f5c8604c2225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for docscan 1.0.6
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.