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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tokenlists-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ce0232de2cb703152f888b2967baa8ac95931841741a44d62271be45623df1d3
MD5 8659fc759de7443a9e4921c682617af0
BLAKE2b-256 b59850cd7fbfa564f22da040549738e14186a06134f6df12b34e0ebfbdb6882a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tokenlists-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd85da6db2b60810c9548daeff385c07f6df4f3a526bf934ceef2addf5c302f3
MD5 6c2febcdab301ef460c1d93760589d7b
BLAKE2b-256 33cbde97fcd843e115a31e97a64f3256500eaa9ad39e471409f4aa96f2f1bf9f

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