Code Monkey home page Code Monkey logo

pypi-changes's Introduction

pypi_changes

PyPI Supported Python versions check Downloads

asciicast

pypi-changes's People

Contributors

dependabot[bot] avatar gaborbernat avatar prajmus avatar pre-commit-ci[bot] avatar txels avatar

Stargazers

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

Watchers

 avatar  avatar

pypi-changes's Issues

default to shutil.which('python') for executable option

Is your feature request related to a problem? Please describe.
I tried out pypi-changes in a project virtualenv and had to pass the explicit path to the python executable, when I expected that the program would just work in the context of my current virtualenv (like pipdeptree, pip and other tools).

Describe the solution you'd like
The program could have a useful default of looking for the path of the python executable using shutil.which when no parameter is given for the PYTHON_EXE parameter.

People are already used to typing only python or python3 to refer to the executable of the currently-activated virtualenv, or to refer to the system/global install when not in a virtualenv.

Describe alternatives you've considered
pypi-changes python would be a little nicer than pypi-changes $(which python).
Explicit in that I type the python executable name, convenient because I don’t need to do which if the program does it for me.

Additional context

Generate requirements.txt with updated packages

Hi there,

this is a really nice tool to check, if your libs are outdated. What would be nice if one could output the information provided in a requirements.txt to be able to update to the newest versions. Or is there another tool or some functionality inside pip that I'm missing?

Cheers,
Sebastian

Option to highlight major version updates

Is your feature request related to a problem? Please describe.
Currently when the remote version is newer than the installed one, it shows up in red, which is great, and we see that in the example below.

image

In this example, the pyparsing package has a new major update: 3.x, as opposed to a 2.x installed.

πŸ‘‰ The request is to have a different color (ex brighter red) if the major version is newer than the installed version.

I understand that this may not mean much in projects that follow a different versioning strategy, but would be helpful where major.minor.patch is used.

Faulty output on `mimeparse`

Just tried pypi-changes, looks super cool! However, I found something weird with mimeparse:

$ pypi-changes .venv/bin/python
🐍 Distributions within /home/juanlu/Projects/LSF/poliastro/library/.venv/bin/python                                                                                                                                                          
β”œβ”€β”€ mimeparse 0.1.3 11 years ago remote 0.1.4 3 seconds from now                                                                                                                                                                              
β”œβ”€β”€ cryptography 3.4.7 7 months ago remote 36.0.0 an hour ago                                                                                                                                                                                 
β”œβ”€β”€ ujson 1.35 5 years ago remote 4.3.0 an hour ago                                                                                                                                                                                           
β”œβ”€β”€ hypothesis 6.14.6 3 months ago remote 6.27.0 9 hours ago
...

Looks like a bug?

Option to show output as JSON

Is your feature request related to a problem? Please describe.

As a user who wants to automate things, I'd like to be able to process the data generated by pypi-changes.

Describe the solution you'd like

It would be nice to have an option to generate the output as JSON as a format that is easy generate and process.

Describe alternatives you've considered

  • Even with 1.0.0, I can parse the output as text. Fortunately, it uses ANSI terminal colours only on a tty. It's just a bit more parsing work for me
  • There is another feature request #1 to generate requirements.txt with updated packages, but it's only about one task the author wishes to automate. I consider the idea with the JSON outputs for a variety of tasks such as reminders about possibly unmaintained packages

Additional context

@gaborbernat Your tool is awesome! πŸ”₯Thanks for publishing it! πŸ™

Add option for the results to be sorted alphabetically

It'd be nice if the output was sorted alphabetically. Sometimes you just want to check if package X is up to date. Its location will be indeterministic. If it was recently updated it'll be near top, but if it wasn't it's not easy to find.

Describe the solution you'd like
Add option to sort output alphabetically instead of by date.

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.