Skip to main content

blacken-docs-jb

Extension of blacken-docs which also supports the executable code blocks from JupyterBook e.g

```{code-cell} python
x = 1 + 2
```

Install

pip install blacken-docs-jb

Usage with pre-commit

See pre-commit for instructions

Sample .pre-commit-config.yaml:

- repo: https://github.com/finsberg/blacken-docs-jb
    rev: v0.6.2
    hooks:
      - id: blacken-docs-jb
        additional_dependencies: [black==22.3.0]
        exclude: slides

License

This project is licensed under MIT. The license file from blacken-docs is found in LICENSE_blacken_docs.

Metadata

Release files for blacken-docs-jb 0.6.2

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

Source distribution (sdist)

Source distribution for blacken-docs-jb 0.6.2
File Size Uploaded Provenance Actions
blacken_docs_jb-0.6.2.tar.gz 4.2 kB Without provenance Details for blacken_docs_jb-0.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blacken-docs-jb 0.6.2
File Interpreter ABI Platform Actions
blacken_docs_jb-0.6.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for blacken_docs_jb-0.6.2-py2.py3-none-any.whl

Total release size: 8.8 kB

Release files / blacken_docs_jb-0.6.2.tar.gz

Download URL blacken_docs_jb-0.6.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5f565cd057a5a9a74e9474804db4830717ef07d911abd3d437216d9a78351668
BLAKE2b-256 checksum
How to use checksums
4ca66a074245131bd7d47e11cd4141c83adf343dee2356869502ecacf1525078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / blacken_docs_jb-0.6.2-py2.py3-none-any.whl

Download URL blacken_docs_jb-0.6.2-py2.py3-none-any.whl
Size 4.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
00a1b709b9d95c33ac6592072a71e4da26ca5dde94a6845e7f465cee9108d747
BLAKE2b-256 checksum
How to use checksums
0178b0c6a97aec17a961ec43613429aa7ff66f8383f47733aca2aab2e413dfcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for blacken-docs-jb 0.6.2

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