docci
Various document management utils
Usage
The docci.file.FileAttchment class is root of whole package.
It abstracts work with files and provides useful properties like base64 convertion, content-disposition header generation, mimetype detection:
from docci.file import FileAttachment
# Create file attachment from file
file = FileAttachment.load("path/to/file")
# Now you can use the FileAttachment features:
# Get base64 file representation
file.content_base64
# Generate Content-Disposition header with file name
file.content_disposition
# Get file extension
file.extension
# Get file mimetype
file.mimetype
# Save file to disk
file.save("path/to/file")
To see other features proceed to the documentation
Metadata
Release files for docci 1.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 |
|---|---|---|---|---|
| docci-1.1.0.tar.gz | 4.3 kB | Without provenance | Details for docci-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docci-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for docci-1.1.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / docci-1.1.0.tar.gz
| Download URL | docci-1.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
843fadccafd25e4a828410ab69a6dcbd033cebaa6c225f0e2c68e29f18d3f95e
|
|
BLAKE2b-256 checksum How to use checksums |
a51a3e92ecbea5319079890b5ccf714f1d126083045c98512d544fec61b185a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.7.1 Windows/10
|
Release files / docci-1.1.0-py3-none-any.whl
| Download URL | docci-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9146d0acea78ed8d1d781253afd301d0e37b0320421192a3831f74d870ee489
|
|
BLAKE2b-256 checksum How to use checksums |
dd0b5992323ae479eca333097f7e556ca209dda39ef7d5bd4735d6808220d342
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.7.1 Windows/10
|
Security for docci 1.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.