Welcome to Docsumo python client documentation!
Check us out at https://www.docsumo.com/
To find out about our web app or to get your API key, check out https://app.docsumo.com/
Install
pip3 install docsumo
Set API KEY from docsumo setting page as env variable DOCSUMO_API_KEY or pass apikey parameter in Docsumo class.
export DOCSUMO_API_KEY="test" >> ~/.bashrc
source ~/.bashrc
Example
from docsumo import Docsumo
doc = Docsumo()
# OR
# doc = Docsumo(apikey="fghhGh56HHJ...")
# available method
doc.user_detail_credit_limit()
doc.documents_list()
doc.documents_summary()
doc.upload_file(
"./data/invoice.pdf",
"invoice",
)
)
doc.extracted_data("c511ba245484442fb")
Output:
# To get the user detail & credit limit.
print(doc.user_detail_credit_limit())
{'error': '',
'error_code': '',
'message': '',
'status': 'success',
'status_code': 200,
'data': {'email': 'tester@docsumo.com',
'full_name': 'Docsumo Tester',
'monthly_doc_current': 75,
'monthly_doc_limit': 300,
'user_id': '5cb45f1f5a841101f703770a'}}
Release files for docsumo 0.5.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docsumo-0.5.9.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docsumo-0.5.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:16.7 kB
Release files / docsumo-0.5.9.tar.gz
| Download URL | docsumo-0.5.9.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21966f225f2fead1e09b337dd4847b292f34427fbace87c4533ccd24e81b7049
|
|
BLAKE2b-256 checksum How to use checksums |
bf6e65d31ed5508d7f002cf3d9d5cb983bf7be5000fd045cf0953211950380c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|
Release files / docsumo-0.5.9-py3-none-any.whl
| Download URL | docsumo-0.5.9-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a69894c58831781baedb818ec5ba11d9c65f1934f0c63768809df3bed826b6a
|
|
BLAKE2b-256 checksum How to use checksums |
affaa7caa1573a191aa18506a20907ded45c1ac820a1b4bf3611c98b574a9391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|