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.0.tar.gz (5.6 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.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: igloosphinx-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.12.8 Linux/6.8.0-51-generic

File hashes

Hashes for igloosphinx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be1c378368681bd18ee6adff3bea4413dafb15a48a508591efc728ecd06ac9e9
MD5 9848cca9b2ecf85e8a95dfe419f34514
BLAKE2b-256 52dddf86181ccd481870c7784394f14347c0480da54d0f9dc7f06187a92f1432

See more details on using hashes here.

File details

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

File metadata

  • Download URL: igloosphinx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.12.8 Linux/6.8.0-51-generic

File hashes

Hashes for igloosphinx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50d66d76682233d27f3e863edf34829e6e25f755590f0635ba3d35c2535e7a2a
MD5 9fea12b3259883fdbe35f0419db03717
BLAKE2b-256 37d58b18ea2388c80a8b67ac97154bc0674406bc6044dca6665f104824ca029a

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