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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tokenlists-0.1.8-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tokenlists-0.1.8.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tokenlists-0.1.8.tar.gz
Algorithm Hash digest
SHA256 551985d8f6c95a73ca399e5387a0be90d063e28c8c8a7166602eaee8b96897e3
MD5 652118093864beafd4678cc0ec82c3c0
BLAKE2b-256 4156858fd0d03c4e9d81eeb153b335613275cb591f6e597cb2015b3fa309aa28

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenlists-0.1.8.tar.gz:

Publisher: publish.yml on ApeWorX/py-tokenlists

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tokenlists-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tokenlists-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4c7ab06d39dfa39413dd555f38c18a0aca5965bcca4d2cdb89e7fde6609aa62f
MD5 9b8386e74928874afd58e22b3afe4b79
BLAKE2b-256 685f806b6064bb7f83f7a4eea67219b68743ac83460abb915c085b56f812eb5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenlists-0.1.8-py3-none-any.whl:

Publisher: publish.yml on ApeWorX/py-tokenlists

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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