1

Has somebody written a library equivalent to Ogmios, that has the same functionalities, including a chain sync protocol, but entirely written in Python?

2 Answers 2

1

I just put this library together as I needed to access Ogmios from a Python application. It is still a work in progress, but it is working.

https://pypi.org/project/pyogmios/

2
  • I accepted your answer and gave a look at the repo. Very impressive that you built this. Will there be more documentation available over time? For example, how to store UTxO/asset data in SQL(ite) databases/dealing with chain rollbacks?
    – et97
    Commented Dec 10, 2023 at 15:10
  • 1
    Thanks for accepting the answer. I am currently rewriting it to work with the latest version of Ogmios (v6.0.*). I can include some example code on handling the cases you mentioned, but the implementation details may differ as I am using MongoDB for the database.
    – King Leon
    Commented Dec 16, 2023 at 13:32
3

https://pypi.org/project/pycardano/

I think this is as close as it gets with Python so far...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.