Skip to main content

Python implementation of Uniswaps' tokenlists

Project description

py-tokenlists

Uniswap Token Lists implementation in Python.

Dependencies

  • python3 version 3.8 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']

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tokenlists-0.1.7.tar.gz
  • Upload date:
  • Size: 19.7 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.7.tar.gz
Algorithm Hash digest
SHA256 8453ab05332eecc5f75680f44ffd4237f0610481a3d6332e3c989d46917419af
MD5 4ad800eb306729dadc656e8388c4d26c
BLAKE2b-256 6ade46664ae82aed5d65f02ba08b44ab09c6334a4aa3a83a7aa4cf19fc62a8ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tokenlists-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c228dd6e2568f8fb66d6a87c75a35c5c5e56c4585220f3c82ec0ff97a26c4c22
MD5 26d344af264825ba897c3940018b06fe
BLAKE2b-256 8d0d0851d323ec1df83bd65676ee06255e2767eadba920c7259b4c151cf7ed3b

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