Skip to main content

A python utils ubirch for ubirch anchoring services.

Project description

ubirch library for ubirch anchoring services

This library contains several useful tools used to connect to a SQS server and anchor messages retrieved from a queue to the IOTA Tangle or the Ethereum Blockchain.


Configuration, connection to a SQS 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 import *

args = set_arguments(servicetype='ethereum') # Or 'iota"

#To access the SQS Queue
url = args.url
region = args.region
aws_secret_access_key = args.accesskey
aws_access_key_id = args.keyid

#To unlock your wallet
password = args.pwd
keyfile = args.keyfile

queue1 = getQueue('queue1', url, region, aws_secret_access_key, aws_access_key_id)

Polling a queue and processing its messages

Please see ubirch-ethereum-service or ubirch-iota-service to how this library is put into action.


Unit tests are added to test the functionality of all objects provided in this library.

python3 -m unittest discover


This library is publicized under the Apache License 2.0.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ubirch-python-utils, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ubirch-python-utils-1.0.1.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page