encrypticoin-ssi
Service-Server-Integration library written in Python for use with the Etalon Token-Integration-API.
The API is made to be as simple as possible, so integration from any environment would be cheap and easy. This repository demonstrates the integration procedure for both "simple" and "tracking" workflows using a tiny mocked service-server and service-client.
Compatibility
The library is tested with CPython 3.8, 3.9 and 3.10. It should work with PyPy3 as well, but there is a dependency needed for running the tests that is not available for it.
Usage
The main feature of the library is the ServerIntegrationClient class. It implements a lightweight wrapper to the integration REST API using aiohttp.
NOTE: The codes in the encrypticoin_ssi_tests directory are purposefully kept minimalistic and simple to highlight the functional parts of the procedures. For a production environment, several changes must be made to provide the necessary security and data persistence.
The encrypticoin_ssi_tests/simple directory holds the example/test of the simple workflow:
service_server/main.pyimplements the server-side integration and a mock API for testingservice_client.pyimplements a mock client that communicates with the service-servertest_workflow.pytakes all of them and performs a basic test procedure
The encrypticoin_ssi_tests/tracking directory holds the example/test of the tracking workflow:
service_server/main.pyimplements the server-side integration and a mock API for testing and the token-tracking collector procedureservice_client.pyimplements a mock client that communicates with the service-servertest_workflow.pytakes all of them and performs a basic test procedure
Server API
The live server-API documentation is available at https://etalon.cash/tia/docs
Install
A source distribution package is available from PyPI named encrypticoin-ssi:
pip install encrypticoin-ssi
Metadata
Release files for encrypticoin-ssi 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| encrypticoin-ssi-1.1.0.tar.gz | 9.8 kB | Details |
Release files / encrypticoin-ssi-1.1.0.tar.gz
| Download URL | encrypticoin-ssi-1.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b3fe6b8ed12bf7b3db2a68b43edb9b07478523ad8f51ebc58efb9e94684a655
|
|
BLAKE2b-256 checksum How to use checksums |
07111779d11991fa1cd10e20ac4c726706ec904c7a4a0698020f9d6c085318f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|