ubirch library for ubirch anchoring services
This library contains several useful tools used to connect to a SQS or Kafka and anchor messages retrieved from a queue to the IOTA Tangle or the Ethereum Blockchain.
Usage
Configuration, connection to a Kafka server and retrieving queues.
To set up the different arguments needed to connect to the SQS Server and to access the ETH Wallet.
from ubirch.anchoring_kafka import *
args = set_arguments(servicetype='ethereum') # Or 'IOTA'
#To access the Kafka server
port = args.port
#To unlock your wallet (if servicename=='ethereum')
password = args.pwd
keyfile = args.keyfile
queue1 = KafkaConsumer('queue1', bootstrap_servers=port)
Polling a topic and processing its messages
Please see ubirch-ethereum-service or ubirch-iota-service to how this library is put into action.
Testing
Unit tests are added to test the functionality of all objects provided in this library.
python3 -m unittest discover
License
This library is publicized under the Apache License 2.0.
Metadata
Release files for ubirch-python-utils 1.3.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ubirch-python-utils-1.3.10.tar.gz | 4.9 kB | Without provenance | Details for ubirch-python-utils-1.3.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ubirch_python_utils-1.3.10-py3-none-any.whl | Python 3 | none | any | Details for ubirch_python_utils-1.3.10-py3-none-any.whl |
Total release size: 14.5 kB
Release files / ubirch-python-utils-1.3.10.tar.gz
| Download URL | ubirch-python-utils-1.3.10.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d355552f172931d95368418a620df2d8e238e54da34ec65b1e7046c87773b5c2
|
|
BLAKE2b-256 checksum How to use checksums |
670e84b2343a67ce80027f982916f40b1029022b39fa47237764cd52c26997af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / ubirch_python_utils-1.3.10-py3-none-any.whl
| Download URL | ubirch_python_utils-1.3.10-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57cbb37e03f6b03da166963ab59c45d3e8bcdb099d5be1eda9e3f4276a92a85f
|
|
BLAKE2b-256 checksum How to use checksums |
53f916c013ea40f6cf5264cf863e2941bf6ccdf6bc38fc38ee6fce35968653aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for ubirch-python-utils 1.3.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.