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
Release history Release notifications | RSS feed
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.6.tar.gz
(19.7 kB
view details)
Built Distribution
File details
Details for the file tokenlists-0.1.6.tar.gz
.
File metadata
- Download URL: tokenlists-0.1.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c909895af638da9e0eeb0ed0fb2a62ca905db8e4111f9cb9fd65bc879176f1 |
|
MD5 | 7e647cf454896aa55d787b2dbf3b19d8 |
|
BLAKE2b-256 | 76d3402bc816b903dc91b4cbf0bbdf54fb4e20a41aa0faa39535b42ef76aeef1 |
File details
Details for the file tokenlists-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: tokenlists-0.1.6-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfcc083079dc56871efa46c6cbb37c67017300931c3ef93e156a7b8ad07dee0c |
|
MD5 | 8a77b9b3beecd921fbe01afa06e0db7b |
|
BLAKE2b-256 | 3fb005625607abfd793f9efff20b91141b7af79664afe8a54b2f2dcb0116770e |