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()
Links
Project details
Release history Release notifications | RSS feed
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 details)
File details
Details for the file tinycert-0.2.0.tar.gz
.
File metadata
- Download URL: tinycert-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd81406974ac5fed473a94f52b3573b94bf56baf8d2b97f1f1c854260cec5fb |
|
MD5 | cb99c58d3edc23afb67c7e3f45aa2346 |
|
BLAKE2b-256 | 9872e7c5ee8d35824f2b0e6f7aa6222f6f32b8f8f06d6edb52a4574cc1d83b10 |