gaborbernat / pypi-changes Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://pypi-changes.readthedocs.io/en/latest/
License: MIT License
Home Page: https://pypi-changes.readthedocs.io/en/latest/
License: MIT License
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
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
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.
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.
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?
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
Additional context
@gaborbernat Your tool is awesome! π₯Thanks for publishing it! π
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.