Service-Server-Integration library for Etalon Token Integration API
Project description
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.py
implements the server-side integration and a mock API for testingservice_client.py
implements a mock client that communicates with the service-servertest_workflow.py
takes 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.py
implements the server-side integration and a mock API for testing and the token-tracking collector procedureservice_client.py
implements a mock client that communicates with the service-servertest_workflow.py
takes 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
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
File details
Details for the file encrypticoin-ssi-1.1.0.tar.gz
.
File metadata
- Download URL: encrypticoin-ssi-1.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b3fe6b8ed12bf7b3db2a68b43edb9b07478523ad8f51ebc58efb9e94684a655 |
|
MD5 | 386704eab13ab5cd5f5078592ed9fdba |
|
BLAKE2b-256 | 07111779d11991fa1cd10e20ac4c726706ec904c7a4a0698020f9d6c085318f7 |