Skip to main content

Accessing Intersphinx inventories for Python packages using PyPI metadata to locate documentation sites

Project description

igloosphinx

Accessing Intersphinx inventories for Python packages using PyPI metadata to locate documentation sites.

igloosphinx provides a command-line interface and library access to Intersphinx inventories, enabling users to easily find and retrieve documentation for Python packages. The tool works by:

  • Performing a PyPI metadata lookup to identify the documentation site for a given package.
  • Making educated guesses about the location of the objects.inv file.
  • Allowing users to review version changes and access relevant documentation seamlessly.

Features

  • PyPI Metadata Lookup: Automatically fetches the documentation URL from PyPI.
  • Intersphinx Inventory Retrieval: Accesses and retrieves the objects.inv file for easy linking to documentation.
  • Version Change Review: Provides functionality to review changes between different versions of the documentation.

Installation

pip install igloosphinx[polars]

On older CPUs run:

pip install igloosphinx[polars-lts-cpu]

Usage

from igloosphinx import Inventory

# Create an Intersphinx instance for a specific package
intersphinx = Inventory(package_name="example-package")

# Fetch the documentation inventory
inventory = intersphinx.fetch_inventory()

# Review version changes
changes = intersphinx.review_version_changes()

Contributing

  1. Issues & Discussions: Please open a GitHub issue for bugs, feature requests, or questions.
  2. Pull Requests: PRs are welcome! Add tests under tests/, update the docs, and ensure you run pytest locally.

License

This project is licensed under the MIT License.

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

igloosphinx-0.1.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

igloosphinx-0.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file igloosphinx-0.1.2.tar.gz.

File metadata

  • Download URL: igloosphinx-0.1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.12.6 Linux/5.15.0-125-generic

File hashes

Hashes for igloosphinx-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2931ac3d4e5e829caa727fcc3c256320fb99a85efb34ff09542727d7bf1f41ce
MD5 e784e576be29dd0b05ac6a240f819849
BLAKE2b-256 acdf2c859ace9280e2cb4845742386bbedb2832c7f57140d241a49e00f471c58

See more details on using hashes here.

File details

Details for the file igloosphinx-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: igloosphinx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.12.6 Linux/5.15.0-125-generic

File hashes

Hashes for igloosphinx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca337fe1361c0c51186dbc1427d10c29a6b8108b7284a6f3532be910733e6faa
MD5 a5a106e96bcb8dcaaf201f8268e732c6
BLAKE2b-256 a69bf71cfa726e51ed6dbcab46a41e05fa7ce2abe20649faa90ea65f142335bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page