GithubHelp home page GithubHelp logo

bmwant / leak Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 2.0 164 KB

Show info about package releases on PyPI.

Home Page: https://bmwlog.pp.ua/leak-package/

License: MIT License

Python 93.67% Makefile 6.33%
python python3 cli cli-app utility package-management tools helpers

leak's Introduction

leak

PyPI PyPI - Downloads PyPI - Wheel PyPI - License PyPI - Python Version Code style: black

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

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.

leak's People

Contributors

bmwant avatar jonafato avatar phoikoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jonafato phoikoi

leak's Issues

leak astropy broken on Python 3.6

I'm getting this error on Python 3.6 for leak astropy:

$ leak astropy
================================================================================
astropy
Community-developed python astronomy tools
--------------------------------------------------------------------------------
Author:              The Astropy Developers
Author mail:         [email protected]
Available versions:  52
Home page:           http://astropy.org
================================================================================
Traceback (most recent call last):
  File "/Users/deil/Library/Python/3.6/lib/python/site-packages/leak/main.py", line 104, in main
    versions = sorted(releases.keys(), reverse=True, key=StrictVersion)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/version.py", line 40, in __init__
    self.parse(vstring)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/version.py", line 137, in parse
    raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '1.2rc1'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/deil/Library/Python/3.6/bin/leak", line 4, in <module>
    cli.cli()
  File "/Users/deil/Library/Python/3.6/lib/python/site-packages/leak/cli.py", line 12, in cli
    main.main(package_name=args.package_name)
  File "/Users/deil/Library/Python/3.6/lib/python/site-packages/leak/main.py", line 108, in main
    versions = sorted(releases.keys(), reverse=True, key=splitter)
TypeError: '<' not supported between instances of 'map' and 'map'

Can you please make it work?

No module named 'leak.version_parser'

When trying to run leak, I get the following error:

$ leak leak
Traceback (most recent call last):
  File "/Users/jonafato/.virtualenvs/tmp-98d5d829c65a0c/bin/leak", line 2, in <module>
    import leak
  File "/Users/jonafato/.virtualenvs/tmp-98d5d829c65a0c/lib/python3.5/site-packages/leak/__init__.py", line 1, in <module>
    from .main import cli
  File "/Users/jonafato/.virtualenvs/tmp-98d5d829c65a0c/lib/python3.5/site-packages/leak/main.py", line 13, in <module>
    from .version_parser import versions_split
ImportError: No module named 'leak.version_parser'

Is the version_parser module missing from the distribution and git repository?

Get release date for all versions?

To follow up on #3 -- this is what I get now for the package I'm interested in:

$ leak astropy
================================================================================
astropy
Community-developed python astronomy tools
--------------------------------------------------------------------------------
Author:              The Astropy Developers
Author mail:         [email protected]
Available versions:  52
Home page:           http://astropy.org
================================================================================
(1.3.3) Most recent. 19/06/2017 17:01 release date
(1.3.2)
(1.3.1)
(1.3)
(1.3rc1)
(1.2.2)
(1.2.1)
(1.2)
(1.2rc1)
(1.1.2)
(1.1.1)
(1.1.post2)
(1.1.post1)
(1.1)
(1.1rc2)
(1.1rc1)
(1.1b1)
(1.0.13)
(1.0.12)
(1.0.11)
(1.0.10)
(1.0.9)
(1.0.8)
(1.0.7)
(1.0.6)
(1.0.5)
(1.0.4)
(1.0.3)
(1.0.2)
(1.0.1)
(1.0)
(1.0rc2)
(1.0rc1)
(0.4.6)
(0.4.5)
(0.4.4)
(0.4.3)
(0.4.2)
(0.4.1)
(0.4)
(0.4rc2)
(0.4rc1)
(0.3.2)
(0.3.1)
(0.3)
(0.2.5)
(0.2.4) Most popular. 127057 downloads
(0.2.3)
(0.2.2)
(0.2.1)
(0.2)
(0.1)

Really what I'm interested in is to list the release data for all the versions, so I'm filing this as a new feature request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.