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.3.tar.gz (4.8 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.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: igloosphinx-0.1.3.tar.gz
  • Upload date:
  • Size: 4.8 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.3.tar.gz
Algorithm Hash digest
SHA256 83c032258dd10d26833534c8c31ae82c942694ed7e470ea7b892e39ff0c4eae4
MD5 f5de9945f17c9a525be42fd40c4f2232
BLAKE2b-256 514d4e3d4e1b60c4cbd96230a442e3e83cfd88d1d6eb84dce57b6f9eb0ba04b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: igloosphinx-0.1.3-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.8 Linux/6.8.0-51-generic

File hashes

Hashes for igloosphinx-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a431882f51c431d5d705ca4798951df4e0ea77ae6ffc0143f2fabff90cb6550e
MD5 54c9431e0c87849636fee519d503ee2a
BLAKE2b-256 7e5c9dc76d69eea840be36cf70f82b33e260965023362b9c52afbe8b0054f1be

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