Skip to content

el-gringo-alto/pip-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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('requests')

# output the package data
print(package.name) # requests
print(package.pip_command) # pip install requests
print(package.summary) # Python HTTP for Humans.

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

TODO

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

Releases

No releases published

Packages

No packages published

Languages