Skip to main content

Python implementation of Uniswaps' tokenlists

Project description

py-tokenlists

Uniswap Token Lists implementation in Python.

Dependencies

  • python3 version 3.7.2 or greater, python3-dev

Installation

via pip

You can install the latest release via pip:

pip install tokenlists

via setuptools

You can clone the repository and use setuptools for the most up-to-date version:

git clone https://github.com/ApeWorX/py-tokenlists.git
cd py-tokenlists
python3 setup.py install

Quick Usage

>>> from tokenlists import TokenListManager
>>> tlm = TokenListManager()

>>> tlm.available_tokenlists()
[]

>>> tlm.install_tokenlist("tokens.1inch.eth")
>>> tlm.available_tokenlists()
['1inch']

Development

This project is in early development and should be considered an alpha. Things might not work, breaking changes are likely. Comments, questions, criticisms and pull requests are welcomed.

License

This project is licensed under the MIT license.

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

tokenlists-0.1.4.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

tokenlists-0.1.4-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file tokenlists-0.1.4.tar.gz.

File metadata

  • Download URL: tokenlists-0.1.4.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for tokenlists-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5debe49c9c610f2c919b0d56cedefec2ce7a5249ce14ba2afcc38e0915e11794
MD5 7d03f32a8664b52c836644b487108326
BLAKE2b-256 ff4fc16f708820667d7c2d2c15ae085b19eb650fc4d0fa1dc1c78c445abdbb49

See more details on using hashes here.

File details

Details for the file tokenlists-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: tokenlists-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for tokenlists-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b18d88410512feffabfc2a6c2fde302e8bf8d5721ce4b843ae9bebd07cc335ae
MD5 e72993b4e02dfd175c4a73bf4f2f6529
BLAKE2b-256 decc8047b708fd843ff84bb2b2fb01f72465eb076c32e6b4af2c4a9137484eea

See more details on using hashes here.

Supported by

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