Skip to main content

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

circe-client-CERTIC-0.0.5.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file circe-client-CERTIC-0.0.5.tar.gz.

File metadata

  • Download URL: circe-client-CERTIC-0.0.5.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3

File hashes

Hashes for circe-client-CERTIC-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0651ab4c46a8084ac0360956f1fac4dbd7d6e88f17c5f9c372a9b919f795c2aa
MD5 893489197cd70958049d72451f51087a
BLAKE2b-256 0b18af85e1e6faff5a0e3e0a5d05821b9fe3ed9189980b63bf0d550df6e7651b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.8

2 files

0.0.7

1 file

0.0.6

1 file

This release

0.0.5 This release

1 file

0.0.4

1 file

0.0.3

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page