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.5.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

tokenlists-0.1.5-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tokenlists-0.1.5.tar.gz
Algorithm Hash digest
SHA256 64175dde202fcd4b6aa477448e1a0cc31d014d929fdc72d176e4c7d882716f8e
MD5 5c0d38ef77273644026db2a5383e331f
BLAKE2b-256 c1254633a6d42b4267dcb052eb9eb886745ddf5197adb52cfb06d531be3cc2d9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tokenlists-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 39cf37a726b1d24d7c4e125048331d6413ab496c78a5a9e6079deea27ca0c176
MD5 37a1bd64f5797e18150de4f04ed0c2a5
BLAKE2b-256 8fa217c2134a05d88354c096f179e1e62be3ad0d0c4d185331013fdea1a04e15

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