Skip to main content

A Python wrapper for the API

Project description

Travis Status coveralls Documentation Status License Latest Release PyPI - Wheel PyPI - Python Version

Pybraries is a Python wrapper for the API.

You can use it to subscribe to email alerts for new versions of open source packages.

You can also use it to find information about many aspects of open source packages and repositories.

The full documentation is hosted at Read the Docs.

Quick Start


Install from PyPI.:

pip install pybraries


Get your API key from

Set your API key as to the LIBRARIES_API_KEY environment variable from the command line with

export LIBRARIES_API_KEY="your_libraries.io_api_key_goes_here"

Import the pybraries package and use it to subscribe to a package.

from pybraries.subscribe import Subscribe

s = Subscribe()

s.subscribe("pypi", "pandas")

Now you’ll get an email update every time a new version of pandas is released.

Here’s another example. Search for projects with visualization as a keyword and python as a language. Sort by the number of stars.

from import Search

search = Search()

info = search.project_search(keywords='visualization', sort='stars', platform='pypi')

A list of dictionaries with project names and other project information is returned.

Note that the API is rate limited to 60 requests per minute.

All methods are implemented, except updating a subscription to not include prereleases. This option can be toggled at the website.

Search() and Subscribe() are the two classes in this package. See all their available methods by clicking on the method names in the left sidebar in the documentation.

Key Terms

A repository host platform. e.g. GitHub
A repository owner. e.g. pandas-dev
A repository. e.g. pandas
A repository user e.g. a GitHub username. e.g. discdiver
A package manager platform. e.g. PyPI
A package or library distributed by a package manager platform. e.g. pandas

Note that many repos and projects share the same name. Many owners and repos also share the same name. Further, many owners are also users. Fun! 😁

Pybraries methods that return one item generally return a dict with information.

Methods that return multiple items return a list of dicts.


Getting Help

1. Check out the pybraries docs. 1. Check out the docs. 1. Open an issue on GitHub or tag a question on Stack Overflow with “pybraries”.


  • Contributions are welcome and appreciated! See Contributing.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybraries, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size pybraries-0.3.4-py3-none-any.whl (10.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pybraries-0.3.4.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page