This project has been archived by its maintainers, and is no longer receiving any updates.
API wrapper for Inscribe
For more information, please read our documentation.
Breaking Changes
From v3.0.0 onwards, the following API token formats have been removed: 1. Supplying an api_key argument. 2. Supplying an access_key and secret_key.
From v3.0.0 onwards, you must supply a secret_token which is supplied to you on creation of an API token.
Installation
pip install inscribe
Usage
import inscribe
import json
# API Authentication
api = inscribe.Client(secret_token="YOUR_API_SECRET_TOKEN")
# Create customer folder
customer = api.create_customer(name="new")
customer_id = customer['data']['id']
# Upload document
doc_obj = open("YOUR_FILE.pdf", "rb")
document = api.upload_document(customer_id=customer_id, document=doc_obj)
document_id = document['result_urls'][0]['document_id']
# Check document
result = api.retrieve_document_results(customer_id=customer_id, document_id=document_id)
print(json.dumps(result, indent=2))
Metadata
Release files for inscribe 3.1.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 | Actions |
|---|---|---|---|---|
| inscribe-3.1.0.tar.gz | 6.5 kB | Without provenance | Details for inscribe-3.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inscribe-3.1.0-py3-none-any.whl | Python 3 | none | any | Details for inscribe-3.1.0-py3-none-any.whl |
Total release size: 12.9 kB
Release files / inscribe-3.1.0.tar.gz
| Download URL | inscribe-3.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97b06ea0b6d330f30a249f7b617bb48d809bab28e1a031593f18257feb1fae48
|
|
BLAKE2b-256 checksum How to use checksums |
5b3899643fdbc419a14182fef262951882128ea182fa378480ab01960cb4b012
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.6
|
Release files / inscribe-3.1.0-py3-none-any.whl
| Download URL | inscribe-3.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0af73ee4ed5241ff1317fe3d8bd7ab6cc66204b831f5a7c172b6285bb9532445
|
|
BLAKE2b-256 checksum How to use checksums |
d4af0e9dc00572992747fe2f94241e80a8c4613ce1602e37094f69225b8b92d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.6
|
Security for inscribe 3.1.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.