Skip to main content

Hatch Minify Build Hook

This Hatch plugin provides a build hook for minifying python source code. This is useful for keeping distributions lean.

Global dependency

Ensure hatch-minify is defined within the build-system.requires field in your pyproject.toml file.

[build-system]
requires = ["hatchling", "hatch-minify"]
build-backend = "hatchling.build"

Build hook

The build hook plugin name is minify.

  • pyproject.toml

    [tool.hatch.build.targets.wheel.hooks.minify]
    
  • hatch.toml

    [build.targets.wheel.hooks.minify]
    

Note: It is not recommended to minify source distributions.

Editable installs

This build hook does not support editable installations.

Metadata

Release files for hatch-minify 0.1.0

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

Source distribution (sdist)

Source distribution for hatch-minify 0.1.0
File Size Uploaded Provenance Actions
hatch_minify-0.1.0.tar.gz 28.5 kB With provenance Details for hatch_minify-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hatch-minify 0.1.0
File Interpreter ABI Platform Actions
hatch_minify-0.1.0-py3-none-any.whl Python 3 none any Details for hatch_minify-0.1.0-py3-none-any.whl

Total release size: 56.3 kB

Release files / hatch_minify-0.1.0.tar.gz

Download URL hatch_minify-0.1.0.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
53eef9ae5428db4d2cb66ffa215c7a586ca216287cf5a3ce054ffc72eff93afb
BLAKE2b-256 checksum
How to use checksums
7fbf100725d7817673f729cb271bdae24e59de25ef14c12046855429ec629775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 12, 2024.

Transparency log

Release files / hatch_minify-0.1.0-py3-none-any.whl

Download URL hatch_minify-0.1.0-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9db64bacd77488358ede1ed5862ec6f6a8dfd8403e507752b3ac871a5bb6b10
BLAKE2b-256 checksum
How to use checksums
08c1b301beac1e64c52d1f4d3144a50fbafb7b72b1ea317ffb16d27bb2f3ffcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 12, 2024.

Transparency log

Security for hatch-minify 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hatch_minify-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 12, 2024.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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