## leak
[](https://pypi.org/project/leak/)
[](https://pepy.tech/project/leak)
[](https://pypi.org/project/leak/#files)
[](https://tldrlegal.com/license/mit-license)
[](https://pypi.org/project/leak/)
[](https://github.com/astral-sh/ruff)
[](https://github.com/bmwant/leak/actions/workflows/unittests.yml)
Show info about package releases on PyPI.

If you need to install specific version of package it is useful to know all available versions to have a choice.
Just run
```bash
leak <package_name>
# e.g.
leak pyramid
# show all available releases
leak django --all
```
and you will see releases and some useful statistic about package specified. It will show most recent version, most popular (with highest number of downloads) and some additional information.
### How to install
Install using pip
```bash
pip install leak
# or to make sure the proper interpreter is used
python -m pip install leak
```
or upgrade existing version
```bash
pip install --upgrade leak
# or with pip invoked as a module
python -m pip install --upgrade leak
leak --version
```
### Obtaining downloads data
It is possible to get downloads statistics for the target package by using third-party [pepy.tech](https://pepy.tech/) provider.
Create your own [API key](https://pepy.tech/pepy-api)(note that free one is a subject to some limitations) and configure it like shown below
```bash
# for the current shell session through the environment
export LEAK_API_KEY=<your_api_key>
# or store it within a configuration file
leak --set api-key=<your_api_key>
```
In case you are not interested in this data, and want to hide the warning displayed, run
```bash
leak --set show-downloads=false
# to enable it back once you have an api key
leak --set show-downloads=true
```
### Contribution
See [DEVELOP.md](https://github.com/bmwant/leak/blob/main/DEVELOP.md) to setup your local development environment and create pull request to this repository once new feature is ready.
### Releases
See [CHANGELOG.md](https://github.com/bmwant/leak/blob/main/CHANGELOG.md) for the new features included within each release.
### License
Distributed under [MIT License](https://tldrlegal.com/license/mit-license).
### Acknowledgement
π [podmena](https://github.com/bmwant/podmena) for providing nice emoji icons to commit messages.
π [PePy](https://pepy.tech/) for providing statistics about downloads.
πΊπ¦ πΊπ¦ πΊπ¦ We would also thank the Armed Forces of Ukraine for providing security to perform this work. This work has become possible only because of resilience and courage of the Ukrainian Army.
Raw data
{
"_id": null,
"home_page": "https://bmwant.link/leak-package/",
"name": "leak",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "pypi, package, info, cli, utility",
"author": "Misha Behersky",
"author_email": "bmwant@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/60/13/c0d736fc0cd67185358edcf4daaa9d110a7c08b9a9fa570722e1e8d09cf1/leak-2.2.2.tar.gz",
"platform": null,
"description": "## leak\n\n[](https://pypi.org/project/leak/)\n[](https://pepy.tech/project/leak)\n[](https://pypi.org/project/leak/#files)\n[](https://tldrlegal.com/license/mit-license)\n[](https://pypi.org/project/leak/)\n[](https://github.com/astral-sh/ruff)\n\n[](https://github.com/bmwant/leak/actions/workflows/unittests.yml)\n\nShow info about package releases on PyPI.\n\n\n\nIf you need to install specific version of package it is useful to know all available versions to have a choice.\n\nJust run\n\n```bash\nleak <package_name>\n# e.g.\nleak pyramid\n# show all available releases\nleak django --all\n```\n\nand you will see releases and some useful statistic about package specified. It will show most recent version, most popular (with highest number of downloads) and some additional information.\n\n### How to install\n\nInstall using pip\n\n```bash\npip install leak\n\n# or to make sure the proper interpreter is used\npython -m pip install leak\n```\n\nor upgrade existing version\n\n```bash\npip install --upgrade leak\n\n# or with pip invoked as a module\npython -m pip install --upgrade leak\nleak --version\n```\n\n### Obtaining downloads data\n\nIt is possible to get downloads statistics for the target package by using third-party [pepy.tech](https://pepy.tech/) provider.\nCreate your own [API key](https://pepy.tech/pepy-api)(note that free one is a subject to some limitations) and configure it like shown below\n\n```bash\n# for the current shell session through the environment\nexport LEAK_API_KEY=<your_api_key>\n\n# or store it within a configuration file\nleak --set api-key=<your_api_key>\n```\n\nIn case you are not interested in this data, and want to hide the warning displayed, run\n\n```bash\nleak --set show-downloads=false\n\n# to enable it back once you have an api key\nleak --set show-downloads=true\n```\n\n### Contribution\n\nSee [DEVELOP.md](https://github.com/bmwant/leak/blob/main/DEVELOP.md) to setup your local development environment and create pull request to this repository once new feature is ready.\n\n### Releases\n\nSee [CHANGELOG.md](https://github.com/bmwant/leak/blob/main/CHANGELOG.md) for the new features included within each release.\n\n### License\n\nDistributed under [MIT License](https://tldrlegal.com/license/mit-license).\n\n### Acknowledgement\n\n\ud83c\udf4b [podmena](https://github.com/bmwant/podmena) for providing nice emoji icons to commit messages.\n\n\ud83d\udc0d [PePy](https://pepy.tech/) for providing statistics about downloads.\n\n\ud83c\uddfa\ud83c\udde6 \ud83c\uddfa\ud83c\udde6 \ud83c\uddfa\ud83c\udde6 We would also thank the Armed Forces of Ukraine for providing security to perform this work. This work has become possible only because of resilience and courage of the Ukrainian Army.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Show release information about packages on PyPI",
"version": "2.2.2",
"project_urls": {
"Homepage": "https://bmwant.link/leak-package/",
"Repository": "https://github.com/bmwant/leak"
},
"split_keywords": [
"pypi",
" package",
" info",
" cli",
" utility"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f90c693c3c7af68d82f7581fc0bbf2d7ba5370383c6aa3ea0cd22c8dd671aab0",
"md5": "20861c2dc4fa79b758c302f52595868f",
"sha256": "f0ae16a9c16dee645aff78980c22fb4b01d33ccb061360b42252a3a1b648da2c"
},
"downloads": -1,
"filename": "leak-2.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "20861c2dc4fa79b758c302f52595868f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 10679,
"upload_time": "2025-09-12T08:52:01",
"upload_time_iso_8601": "2025-09-12T08:52:01.905618Z",
"url": "https://files.pythonhosted.org/packages/f9/0c/693c3c7af68d82f7581fc0bbf2d7ba5370383c6aa3ea0cd22c8dd671aab0/leak-2.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6013c0d736fc0cd67185358edcf4daaa9d110a7c08b9a9fa570722e1e8d09cf1",
"md5": "448c5c0ef52ed7df65905aeeaf58209e",
"sha256": "49ee326e9183577663305c252226d489e674d15a36cd61e03db5ad704f777d72"
},
"downloads": -1,
"filename": "leak-2.2.2.tar.gz",
"has_sig": false,
"md5_digest": "448c5c0ef52ed7df65905aeeaf58209e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 8440,
"upload_time": "2025-09-12T08:52:02",
"upload_time_iso_8601": "2025-09-12T08:52:02.891625Z",
"url": "https://files.pythonhosted.org/packages/60/13/c0d736fc0cd67185358edcf4daaa9d110a7c08b9a9fa570722e1e8d09cf1/leak-2.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-12 08:52:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bmwant",
"github_project": "leak",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "leak"
}