Skip to content

Abdur-rahmaanJ/pip-search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pip search

Get information about packages from PyPI. This was inspired from a project suggestion by u/appinv in the r/Python project ideas megathread with a little hint of my own boredom to back it up.

Installation

cd pip-search
pip install -r requirements.txt

Usage

import pipsearch

# initialize the PyPI class
pypi = pipsearch.PyPI()

# get a specific package
package = pypi.search('markovify')

# get a random package
package = pypi.random()

# print the package object
print(f"""
Package: {package['package-name']}

Pip command: {package['pip-command']}

{package['description']}""")

TODO

  • Add more information to return about the packages
  • Add more search queries to get more packages
  • Add command-line arguments

About

Get information about packages from PyPI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%