Skip to main content

TinyCert v1 API wrapper

Project description

A wrapper library around TinyCert’s v1 rest api.

API details (including your API key) can be found at https://www.tinycert.org/docs/api

Preferred method of use is via the provided ContextManager.

from tinycert import auto_session

with auto_session(api_key, account, passphrase) as session:
    ca_list = session.ca.list()
    cert_list = session.cert.list(ca_list[0]['id'])

Or, connect and disconnect manually.

from tinycert import Session

session = Session(api_key)
session.connect(account, passphrase)
ca_list = session.ca.list()
cert_list = session.cert.list(ca_list[0]['id'])
session.disconnect()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinycert-0.2.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page