fubuloubu / py-tokenlists

Uniswap Token Lists implementation in Python.

Home Page:https://tokenlists.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-tokenlists

Uniswap Token Lists implementation in Python.

Dependencies

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

Development

This project is in early development and should be considered an alpha. Things might not work, breaking changes are likely. Comments, questions, criticisms and pull requests are welcomed.

License

This project is licensed under the MIT license.

About

Uniswap Token Lists implementation in Python.

https://tokenlists.org/

License:Apache License 2.0


Languages

Language:Python 100.0%