8000 GitHub - bmwant/leak: Show info about package releases on PyPI.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bmwant/leak

Repository files navigation

leak

PyPI PyPI - Downloads PyPI - Wheel PyPI - License PyPI - Python Version Ruff

Unittests

Show info about package releases on PyPI.

screenshot

If you need to install specific version of package it is useful to know all available versions to have a choice.

Just run

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

pip install leak

# or to make sure the proper interpreter is used
python -m pip install leak

or upgrade existing version

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 provider. Create your own API key(note that free one is a subject to some limitations) and configure it like shown below

# 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

leak --set show-downloads=false

# to enable it back once you have an api key
leak --set show-downloads=true

Contribution

See DEVELOP.md to setup your local development environment and create pull request to this repository once new feature is ready.

Releases

See CHANGELOG.md for the new features included within each release.

License

Distributed under MIT License.

Acknowledgement

🍋 podmena for providing nice emoji icons to commit messages.

🐍 PePy 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.

Contributors 3

  •  
  •  
  •  
0