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'
Release files for indexPy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| indexPy-0.1.0.tar.gz | 3.4 kB | Details |
Release files / indexPy-0.1.0.tar.gz
| Download URL | indexPy-0.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bce3dbe1abe17b7205f0889b88c3848ddecb7ce5ec646ad23e9ac3730652ac65
|
|
BLAKE2b-256 checksum How to use checksums |
f83d9cc5ed744481dbc9807c3af064786d94d668a3bc639decc924203b64ad57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
|