Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pypify.py - "pip install" one-liners #2517

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

S0mbre
Copy link

@S0mbre S0mbre commented Sep 14, 2023

Summary

Add another processing script - pypify.py to apply to README.md after sort.py.

This script will add one-liners to each installable library / package in
README.md with a script to install it through pip. These one-liners are scraped from PyPI.

See docs in pypify.py.

EXAMPLE:

Current line featuring the flower package:

* [flower](https://github.com/mher/flower) - Real-time monitor and web admin for Celery.

After pypify:

* [flower](https://github.com/mher/flower) - Real-time monitor and web admin for Celery. **INSTALL**: `pip install flower`

The resulting enhanced README.md can be post-processed by other scripts to scrape the
package info and give the user the ability to install them automatically in some package manager.

TODO

  • Maybe add exporting README.md to some structured format, e.g. JSON, YAML, Pandas, Excel, etc.

Copy link

@Melryder4 Melryder4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not responsible for the code changes that are built I need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants