Uniswap Token Lists implementation in Python.
- python3 version 3.8 or greater, python3-dev
You can install the latest release via pip
:
pip install tokenlists
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
>>> from tokenlists import TokenListManager
>>> tlm = TokenListManager()
>>> tlm.available_tokenlists()
[]
>>> tlm.install_tokenlist("tokens.1inch.eth")
>>> tlm.available_tokenlists()
['1inch']
This project is licensed under the MIT license.