Pydano
This is a Cardano wrapper library implemented using Python that allows for quick interaction with the services used within the Cardano ecosystem. It works with official cardano executables, REST API interactions, and websocket requests. Here's a list of currently wrapped services:
- Cardano Addresses 🟢
- Cardano Wallet 🟢
- Cardano Rosetta 🟢
- Cardano Db-sync 🟢
- Cardano Node CLI 🔴
- Ogmios 🔴
Wrapping code in a general purpose object-oriented language like Python is useful for quickly automating, monitoring, deploying, testing, and building complex interactions with Cardano components on the fly.
Installation
- With
pip3
installed, install the dependencies usingpip install -r requirements.txt
- With Python 3.7+ installed, run
python setup.py install
Running scripts
- Change the
config.yaml
to contain the correct URLs or paths for the services you are using. For the CLI config items, these values can be absolute paths or paths relative from the project's root directory.
Running tests
To run tests, use the command python -m nose2 tests
from the root directory.