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

Uploaded Source

Built Distribution

tokenlists-0.1.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tokenlists-0.1.2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for tokenlists-0.1.2.tar.gz
Algorithm Hash digest
SHA256 51f7cc69a0202bc97fdc05c66cdf6c74f48eb84d0c95faaad0ce4858a0cfffd6
MD5 598007faef4e2b7fc29723721f05e8c7
BLAKE2b-256 7595007698619c9c0a5441afe134a3335e29f0b5da7a84f64ef3a89f8dc37d3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tokenlists-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for tokenlists-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 795dc8bc4c43eae7b86305de36be5fe7ab927900a47db8c3720c07cd529a0e50
MD5 2b6c958d891da8260e3f7dc0d8ae052f
BLAKE2b-256 0e5e06838bdf30dc9131849a3d76bd242433febee9351ae4a6c38170328620a5

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