Circe Python Client Library
This is a client library for the Circe server.
Requirements
The Circe Python client library has been tested with Python versions 3.6 and above.
Quickstart
Install
Within a virtual environment:
pip install circe-client-CERTIC
Configuration
You may provide the configuration as constructor arguments for the client class as well as environment variables:
- CIRCE_ENDPOINT: URL of Circe server
- CIRCE_SECRET: secret key provided by the server
- CIRCE_APP_UUID: id of current client app
Basic usage
from circe_client import Client
client = Client(api_endpoint:"http://localhost:8000/", secret_key="test", application_uuid="test")
job = client.new_job()
job.add_file("mydocument.docx")
job.add_transformation("mytransformation_id")
client.send(job, wait=True)
for file_name, file_pointer in job.result.files:
pass # do something with result files
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file circe-client-CERTIC-0.0.6.tar.gz.
File metadata
- Download URL: circe-client-CERTIC-0.0.6.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff2abba15929107fa66b76a505770fe638a80ca10f4ca3f1ea201c1944041cd2
|
|
| MD5 |
1d35066f0edb01fc45d508b552df96a1
|
|
| BLAKE2b-256 |
02223f71787a184a50dd72ce95680c3100f322320e3d583b8e15345922f258d7
|