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.invfile. - 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.invfile 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
- Issues & Discussions: Please open a GitHub issue for bugs, feature requests, or questions.
- Pull Requests: PRs are welcome! Add tests under
tests/, update the docs, and ensure you runpytestlocally.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be1c378368681bd18ee6adff3bea4413dafb15a48a508591efc728ecd06ac9e9
|
|
| MD5 |
9848cca9b2ecf85e8a95dfe419f34514
|
|
| BLAKE2b-256 |
52dddf86181ccd481870c7784394f14347c0480da54d0f9dc7f06187a92f1432
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50d66d76682233d27f3e863edf34829e6e25f755590f0635ba3d35c2535e7a2a
|
|
| MD5 |
9fea12b3259883fdbe35f0419db03717
|
|
| BLAKE2b-256 |
37d58b18ea2388c80a8b67ac97154bc0674406bc6044dca6665f104824ca029a
|