# py-tokenlists
[Uniswap Token Lists](https://github.com/Uniswap/token-lists) implementation in Python.
## Dependencies
- [python3](https://www.python.org/downloads/release/python-368/) version 3.8 or greater, python3-dev
## Installation
### via `pip`
You can install the latest release via [`pip`](https://pypi.org/project/pip/):
```bash
pip install tokenlists
```
### via `setuptools`
You can clone the repository and use [`setuptools`](https://github.com/pypa/setuptools) for the most up-to-date version:
```bash
git clone https://github.com/ApeWorX/py-tokenlists.git
cd py-tokenlists
python3 setup.py install
```
## Quick Usage
```python
>>> 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](LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/ApeWorX/py-tokenlists",
"name": "tokenlists",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4",
"maintainer_email": "",
"keywords": "ethereum",
"author": "Ben Hauser",
"author_email": "ben@hauser.id",
"download_url": "https://files.pythonhosted.org/packages/6a/de/46664ae82aed5d65f02ba08b44ab09c6334a4aa3a83a7aa4cf19fc62a8ea/tokenlists-0.1.7.tar.gz",
"platform": null,
"description": "# py-tokenlists\n\n[Uniswap Token Lists](https://github.com/Uniswap/token-lists) implementation in Python.\n\n## Dependencies\n\n- [python3](https://www.python.org/downloads/release/python-368/) version 3.8 or greater, python3-dev\n\n## Installation\n\n### via `pip`\n\nYou can install the latest release via [`pip`](https://pypi.org/project/pip/):\n\n```bash\npip install tokenlists\n```\n\n### via `setuptools`\n\nYou can clone the repository and use [`setuptools`](https://github.com/pypa/setuptools) for the most up-to-date version:\n\n```bash\ngit clone https://github.com/ApeWorX/py-tokenlists.git\ncd py-tokenlists\npython3 setup.py install\n```\n\n## Quick Usage\n\n```python\n>>> from tokenlists import TokenListManager\n>>> tlm = TokenListManager()\n\n>>> tlm.available_tokenlists()\n[]\n\n>>> tlm.install_tokenlist(\"tokens.1inch.eth\")\n>>> tlm.available_tokenlists()\n['1inch']\n```\n\n## License\n\nThis project is licensed under the [MIT license](LICENSE).\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Python implementation of Uniswaps' tokenlists",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/ApeWorX/py-tokenlists"
},
"split_keywords": [
"ethereum"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d0d0851d323ec1df83bd65676ee06255e2767eadba920c7259b4c151cf7ed3b",
"md5": "26d344af264825ba897c3940018b06fe",
"sha256": "c228dd6e2568f8fb66d6a87c75a35c5c5e56c4585220f3c82ec0ff97a26c4c22"
},
"downloads": -1,
"filename": "tokenlists-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26d344af264825ba897c3940018b06fe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4",
"size": 12608,
"upload_time": "2023-12-12T04:14:03",
"upload_time_iso_8601": "2023-12-12T04:14:03.419564Z",
"url": "https://files.pythonhosted.org/packages/8d/0d/0851d323ec1df83bd65676ee06255e2767eadba920c7259b4c151cf7ed3b/tokenlists-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6ade46664ae82aed5d65f02ba08b44ab09c6334a4aa3a83a7aa4cf19fc62a8ea",
"md5": "4ad800eb306729dadc656e8388c4d26c",
"sha256": "8453ab05332eecc5f75680f44ffd4237f0610481a3d6332e3c989d46917419af"
},
"downloads": -1,
"filename": "tokenlists-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "4ad800eb306729dadc656e8388c4d26c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4",
"size": 19714,
"upload_time": "2023-12-12T04:14:05",
"upload_time_iso_8601": "2023-12-12T04:14:05.220725Z",
"url": "https://files.pythonhosted.org/packages/6a/de/46664ae82aed5d65f02ba08b44ab09c6334a4aa3a83a7aa4cf19fc62a8ea/tokenlists-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-12 04:14:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ApeWorX",
"github_project": "py-tokenlists",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tokenlists"
}