Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pypi-info

dewittethomas13MIT2.6.0

A simple library to fetch information about Python packages from PyPI.

PyPI-info, pypi-info, API, REST, PyPI, pypi, node, client, fetch, node-fetch, url, npm, npm-package, package, python, python package, pypi-info, package-info, python-info, python-package-info, pypi-package-info, information, get

readme

pypi-info

npm MIT License

A simple Node.js library to fetch information about Python packages from PyPI.

Table of Contents

Installation

You can install the pypi-info library using npm:

npm install pypi-info

Usage

Getting Package Information

You can use this library to retrieve information about a Python package from PyPI. Here's an example of how to use it:

const { getPackage } = require("pypi-info");

getPackage("ip-address")
    .then((packageInfo) => {
        // Access package information here
        console.log(packageInfo);
    })
    .catch((error) => {
        console.error("Error fetching package information:", error);
    });

Contributing

Contributions to this project are welcome. If you have any improvements or bug fixes, please submit a pull request.

License

This project is licensed under the MIT License.