gaborbernat/pypi-changes

Option to show output as JSON

vlasovskikh opened this issue · 2 comments

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! 🙏

This sounds like a good idea 👍

txels commented

I'm working on a PR for this: #5