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 hashes)
Built Distribution
tokenlists-0.1.6-py3-none-any.whl
(12.6 kB
view hashes)
Close
Hashes for tokenlists-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfcc083079dc56871efa46c6cbb37c67017300931c3ef93e156a7b8ad07dee0c |
|
MD5 | 8a77b9b3beecd921fbe01afa06e0db7b |
|
BLAKE2b-256 | 3fb005625607abfd793f9efff20b91141b7af79664afe8a54b2f2dcb0116770e |