Skip to main content

Python3 wrapper for PyPi API

Project description

indexPy

indexPy is a Python3 module designed for working with PyPI API; an API for viewing Python package data.

Installation

The easiest way to install indexPy is through PIP.

pip install indexPy or pip3 install indexPy

Before installing, ensure your Python version is 3.6 or above.

Usage

With indexPy, you can access data from a package like it's package name, author, contact information, URLs, releases, etc.

The following example demonstrates the standard use of indexPy.

# Example 1
from indexPy.api import PackageInfo # Import the module
pkg = PackageInfo("requests") # Save the information
pkg.author
>>> 'Kenneth Reitz'
pkg.name
>>> 'requests'

# Example 2
from indexPy.api import PackageInfo # Import the module
pkg = PackageInfo("indexPy") # Save the information
pkg.author
>>> 'Angel Carias'
pkg.name
>>> 'indexPy'

Project details


Download files

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

Source Distribution

indexPy-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded source

Supported by

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