pyzamzar
Python SDK for the Zamzar file conversion API
Installation
pip install pyzamzar
Usage
Obtain your API key
Create an account, log in and obtain your API key here
Initialize Zamzar client
from zamzar import ZamzarClient
client = ZamzarClient('YOUR_API_KEY')
Start conversion job
Example:
job_info = client.start_conversion_job('README.md', 'pdf')
job_id = job_info['id']
Poll job status until its completion
Example:
while True:
job_status = client.get_job_status(job_id)
if job_status['status'] == 'successful':
break
elif job_status['status'] == 'failed':
print("Conversion failed.")
return
else:
print("Conversion in progress. Please wait...")
Download converted file(s)
Example:
file_id = job_status['target_files'][0]['id']
client.download_converted_file(file_id, 'readme.pdf')
print("File downloaded successfully as 'readme.pdf'.")
Metadata
Release files for pyzamzar 1.0.4
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 |
|---|---|---|---|---|
| pyzamzar-1.0.4.tar.gz | 1.9 kB | Without provenance | Details for pyzamzar-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyzamzar-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for pyzamzar-1.0.4-py3-none-any.whl |
Total release size: 4.3 kB
Release files / pyzamzar-1.0.4.tar.gz
| Download URL | pyzamzar-1.0.4.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d7a8b0c271562f31f6995f10bce3b5c7dcfdf56df2997c91ddcb85eb4dbd905
|
|
BLAKE2b-256 checksum How to use checksums |
98cb683ebddc0bbed0b476857df38f5771871860ce95bcacd9c2d81fea2055c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / pyzamzar-1.0.4-py3-none-any.whl
| Download URL | pyzamzar-1.0.4-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6da2e162c45ae06114a214f086f48d26a59c856224fdac66c27c4a41233f77fa
|
|
BLAKE2b-256 checksum How to use checksums |
bbf103b8709f1fa0178b21c1b8a030570517b4009c60d220a1cfdbd48bc06b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for pyzamzar 1.0.4
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.