Pre-release
This release is a pre-release and may not be stable for production use.
Token Python SDK
The SDK is still under development, might be unstable, use at your own risk.
The Python SDK for interacting with TokenOS.
Requirements
Python 3.5+
Installation
$ pip install tokenio
Example
from tokenio import TokenClient
from tokenio.config import SandboxConfig
from tokenio.security.engines.memorycryptoengine import MemoryCryptoEngine
from tokenio.proto.alias_pb2 import Alias
dev_key = '4qY7lqQw8NOl9gng0ZHgT4xdiDqxqoGVutuZwrUYQsI'
config = SandboxConfig(dev_key=dev_key, crypto_engine=MemoryCryptoEngine)
client = TokenClient(config)
alias = Alias(type=Alias.EMAIL, value='your-email-address@example.com')
member = client.create_member(alias)
keys = member.get_keys()
print(keys)
Release files for TokenIO 0.0.1a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| TokenIO-0.0.1a3.tar.gz | 96.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| TokenIO-0.0.1a3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 230.5 kB
Release files / TokenIO-0.0.1a3.tar.gz
| Download URL | TokenIO-0.0.1a3.tar.gz |
|---|---|
| Size | 96.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe3cde3d861b7c14e635119bd954eb9f2d6f2956f5de6509474cc329ee7a256b
|
|
BLAKE2b-256 checksum How to use checksums |
e752e492c019840bf61ae617446b73d115ff3db33087eafef40ae7cbf702fdef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Release files / TokenIO-0.0.1a3-py3-none-any.whl
| Download URL | TokenIO-0.0.1a3-py3-none-any.whl |
|---|---|
| Size | 133.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee2f5c5f7e199886bd3d9a48acbffb49b3e89a17a53f2e3dab832b9ecf293dc3
|
|
BLAKE2b-256 checksum How to use checksums |
ccdc0eb44a62e8af5eb5b1f1700092850ee4a619efdea4803715bc42417725d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|