Skip to main content

Logo-Python-Koios

Koios Python PyPI - Python Version PyPI - Python Version

Overview

Koios Python is Python wrapper which allow interacting with all information and parameters stored on the Cardano blockchain using Koios REST API

What is Koios Python?

Koios Python is a library based on Koios Elastic Query Layer for Cardano Node by Cardano Community Guild Operators.
Koios is best described as a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc.

Koios is really useful for developers because resource and maintenance requirements for Cardano blockchain components (e.g. cardano-node, cardano-db-sync) are ever-growing. It also simplifies how to query complex information from the blockchain.

This library allows getting data from the Cardano Blockchain using a simple syntaxis in your Python code. All the querys follow Koios API REST operations.

Required Python Modules

Installation PyPI Latest Release

pip install koios_python

Upgrade to the last Version

pip install --upgrade koios_python

Usage

Import to your python file this library:

import koios_python

You can read all info about how works this library in our Wiki

TODO

  • Managing errors
  • Inside functions
  • Pagination (most functions have it added)
  • User Inputs
  • Timeouts
  • Ordering
  • Adding Vertical Filtering
  • Adding Async methods

Features

  • Supported REST Services:
    • Network

      • Chain Tip
      • Genesis Info
      • Historical Tokenomic Statistics
      • Param Update Proposals
      • Reserve Withdrawals
      • Treasury Withdrawals
    • Epoch

      • Epoch Information
      • Epoch's Protocol Parameters
      • Epoch Blocks Protocol
    • Block

      • Block List
      • Block Information
      • Block Transactions
    • Transactions

      • UTxO Information
      • Transaction Information
      • Transaction UTxOs [Deprecated]
      • Transaction Metadata
      • Transaction Metadata Labels
      • Transaction Submit
      • Transaction Status (Block Confirmations)
    • Stake Account

      • Account List
      • Account Information
      • Account Information Cached
      • UTxOs for Stake Addresses (accounts)
      • Account Transactions
      • Account Rewards
      • Account Updates (History)
      • Account Addresses
      • Account Assets
      • Account History
    • Address

      • Address Information
      • Address UTxOs
      • Address Transactions
      • Transactions from Payment Credentials
      • Address Assets
    • Asset

      • Asset List
      • Policy Asset List
      • Asset Token Registry
      • Asset Information (Bulk)
      • Asset Information
      • Asset UTxOs
      • Asset History
      • Asset Addresses
      • NFT Address
      • Policy Asset Address List
      • Policy Asset Information
      • Asset Summary
      • Asset Transactions
      • Asset Policy Information [DEPRECATED]
      • Asset Address List [DEPRECATED]
    • Pool

      • Pool List
      • Pool Information
      • Pool Stake Snapshot
      • Pool Delegators List
      • Pool Delegators History
      • Pool Blocks
      • Pool Stake, Block and Reward History
      • Pool Updates (History)
      • Pool Registrations
      • Pool Retirements
      • Pool Relays
      • Pool Metadata
    • Script

      • Script Information
      • Native Script List
      • Plutus Script List
      • Script Redeemers
      • Script UTxOs
      • Datum Information
    • Ogmios

      • Query

Metadata

Release files for koios-python 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for koios-python 2.0.0
File Size Uploaded
koios-python-2.0.0.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for koios-python 2.0.0
File Interpreter ABI Platform
koios_python-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.4 kB

Release files / koios-python-2.0.0.tar.gz

Download URL koios-python-2.0.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9ed1e77fb6cf573b80d24bba552b57fe765526492acdb10033e9a34036df56cd
BLAKE2b-256 checksum
How to use checksums
f6c52bf71005aa0ba33df7b2cf2b490d44944703c6d9138954560c7f1f16d8c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / koios_python-2.0.0-py3-none-any.whl

Download URL koios_python-2.0.0-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
702e068c4360a3a59c3b9dd84817d19ab301cb704dc8f62f0d95c18d0f6ce7db
BLAKE2b-256 checksum
How to use checksums
6102fa88622f5cb59f123d5dc94b4db47794b15d6710883b9024acd83394850a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.0

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page