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.
Metadata
Release files for igloosphinx 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| igloosphinx-0.1.3.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igloosphinx-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / igloosphinx-0.1.3.tar.gz
| Download URL | igloosphinx-0.1.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83c032258dd10d26833534c8c31ae82c942694ed7e470ea7b892e39ff0c4eae4
|
|
BLAKE2b-256 checksum How to use checksums |
514d4e3d4e1b60c4cbd96230a442e3e83cfd88d1d6eb84dce57b6f9eb0ba04b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.22.3 CPython/3.12.8 Linux/6.8.0-51-generic
|
Release files / igloosphinx-0.1.3-py3-none-any.whl
| Download URL | igloosphinx-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a431882f51c431d5d705ca4798951df4e0ea77ae6ffc0143f2fabff90cb6550e
|
|
BLAKE2b-256 checksum How to use checksums |
7e5c9dc76d69eea840be36cf70f82b33e260965023362b9c52afbe8b0054f1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.22.3 CPython/3.12.8 Linux/6.8.0-51-generic
|