Skip to main content

Python Package to query crpyto transactions from various blockchains and exchanges through public APIs

Project description

py-Crypto-Transactions

A python package to query crypto transaction from various blockchains and exchanges to build your own portfolio app!

pyCryptoTransactions also supports a few exporters, such that data can be imported e.g. at Koinly or Accointing.

Note: Very elary alpha version!

Install

Use pip:

  • pip install pyCryptoTransactions (NOTE: make sure to use camelCase name like this and not pycryptotransactions) Or use poetry Or install directly by cloning the git repo

Supported Blockchains

  • Bitcoin
  • Litecoin
  • Cosmos
  • Thorchain
  • Osmos
  • Iota
  • Persistence
  • Ethereum (soon)
  • Bsc (soon)

Supported exchanges

  • Binance (support for exported CSVs, no API yet)
  • Coinbase (Oauth Api)
  • Coinbase Pro (soon)

Examples

t = LitecoinImport("xpub...")
t.getTransactions()`
t = CosmosChain("cosmos....")
txs = t.getTransactions()
print(txs)
df = txs.toPandasDataframe()
df.to_csv("atom_test.csv")
print(txs.calculateBalance())
a = AccointingExporter(txs)
a.exportToExcel("atom_accointing.xlsx")

Project details


Download files

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

Source Distribution

pyCryptoTransactions-0.1.2.tar.gz (50.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyCryptoTransactions-0.1.2-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

Details for the file pyCryptoTransactions-0.1.2.tar.gz.

File metadata

  • Download URL: pyCryptoTransactions-0.1.2.tar.gz
  • Upload date:
  • Size: 50.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for pyCryptoTransactions-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5cb2b2eb0b94ecd400f1fc5a0e19f5a3a534d159b83d6291c1b09df5d0357f02
MD5 e0dbaf1b24f6b3d894099c575a0c86c7
BLAKE2b-256 88a4785af763d82c4b527401ecd79f21666712096d91b011e48f8d72183a7307

See more details on using hashes here.

File details

Details for the file pyCryptoTransactions-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyCryptoTransactions-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 64.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for pyCryptoTransactions-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba70f7f5d38dae94bfe492ddff6c878ba89a3ea8e588b01b3d1aa0101196b55d
MD5 f5b2ff4173d8afd5ba91b4a0c77aeb46
BLAKE2b-256 b938e45436c8dc93557d13eba014e5238415863fc3b168eef2d1da05d2b5d2ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page