Skip to main content

sphinxcontrib-git_include

https://pypi.org/project/gitinclude/

literalinclude from git repository.

  • using git cat-file -p {rev}:{path_to_file}
  • using git show {rev}:{path_to_file}

install

> pip install gitinclude

Sample

https://ousttrue.github.io/sphinxcontrib-gitinclude/

Sphinx: conf.py

extensions = [
    "gitinclude",
]

Sphinx: usage

myst

``{gitinclude} HEAD^ gitinclude/__init__.py
:language: python
:linenos:
``

Metadata

Release files for gitinclude 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitinclude 0.3.1
File Size Uploaded Provenance Actions
gitinclude-0.3.1.tar.gz 6.1 kB Without provenance Details for gitinclude-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gitinclude 0.3.1
File Interpreter ABI Platform Actions
gitinclude-0.3.1-py3-none-any.whl Python 3 none any Details for gitinclude-0.3.1-py3-none-any.whl

Total release size: 12.6 kB

Release files / gitinclude-0.3.1.tar.gz

Download URL gitinclude-0.3.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b0ebb35be8e3f2f6e2fc08eae37436895b278a432d01604ef4575fa609668a0e
BLAKE2b-256 checksum
How to use checksums
23e10e492a4d08cffe44dac206e0b0aacac11c3772c29947f04a794c0ac136fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / gitinclude-0.3.1-py3-none-any.whl

Download URL gitinclude-0.3.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58b9c69579e1fbb19f00d4c9e562be2eba079742903b8c4af276033385813a70
BLAKE2b-256 checksum
How to use checksums
5dca5b52c10c6e741f96323096dd158f1788069ec9e9c048670569e3eb673f36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for gitinclude 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page