Cardano Blockchain Developer cookbook
  • Contents
  • Blockchain Basics
    • Basics of addresses and types of addresses
    • Basics of Cryptography
    • Cardano Architecture - Different Components
    • Cardano Architecture (consensus networking etc)
  • Module 2: Handson tools
    • Cardano Node CLI
    • KOIOS
      • Using Koios with Python
    • Ogmios
    • Tangocrypto
Powered by GitBook
On this page
  1. Module 2: Handson tools
  2. KOIOS

Using Koios with Python

PreviousKOIOSNextOgmios

Last updated 2 years ago

KOIOS is an excellent open-source tool built by the Cardano Community which is used for querying the blockchain for on-chain data, enabling developers to make various things. But how can an average or even beginner developer begin to use it in their projects and what SDKs are out there?

In this section, we will go over various examples and use cases for KOIOS and introduce a python based SDK for interfacing with the KOIOS API. Read more about .

To follow along with this module let's go over some of the requirements you may need:

  • Installation of

  • Installation of

  • Basic knowledge of programming with Python

  • Familiarity with Git and GitHub

  • Familiar with APIs and their usage in development

  • Understanding of the Cardano blockchain

  • Knowledge of Cardano tools like , , and

Koios_Python Set up and installation

Let's get started by installing koios_python. Open up your computer command line interface or shell terminal, and enter the following line below.

pip install koios_python

Now let's go ahead and make sure we are updated to the latest version of koios_python which can be found .

pip install koios_python -U

Okay, now that we have finished with the installation process we can get started with our koios_python Jupyter Notebook that I have created for this module.

Head over to the GitHub repo I have created and clone the notebook into a folder or your desktop on your computer.

git clone https://github.com/AstroWa3l/koios-python-notebook.git
koios_python here
Python
Jupyter Lab/Notebook
Cardano-db-sync
Blockfrost API
KOIOS API
here