Skip to main content

hatch-nativelib

Hatchling plugin with utilities for native libraries.

pkgconf dependency generation

By adding [[tool.hatch.build.hooks.nativelib.pcfile]] to your hatchling project's pyproject.toml, this plugin will do a couple of things:

  • Automatically generate the .pc file from the pyproject.toml config section
  • Register the .pc file so that pkgconf-pypi will find it and things such as meson can use it for dependency resolution
    • Also sets PKG_CONFIG_PATH so that other hatchling plugins can resolve it
  • Generates a python module that uses ctypes to load the library when imported. The library can be found via pkgconf, in the variable pkgconf_pypi_initpy

See config for pyproject.toml configuration.

Release files for hatch-nativelib 0.2.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 hatch-nativelib 0.2.2
File Size Uploaded
hatch_nativelib-0.2.2.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hatch-nativelib 0.2.2
File Interpreter ABI Platform
hatch_nativelib-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / hatch_nativelib-0.2.2.tar.gz

Download URL hatch_nativelib-0.2.2.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5d63bb6e119dc14df91429f68ad69d3de00cc89b83b28851d52bad845def1da0
BLAKE2b-256 checksum
How to use checksums
7999fa8e4d9e927ca730fad7b565135098b45fd58841a56bc9b698adc1b2af33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 8, 2026.

Transparency log

Release files / hatch_nativelib-0.2.2-py3-none-any.whl

Download URL hatch_nativelib-0.2.2-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa39cc451482dab4912641a6c2a8bcaddd431b471b8818fed3937859d6266ddd
BLAKE2b-256 checksum
How to use checksums
ff78b34aed896ebccbefebc14da4db82d647af18c551ce39c616b1a584ffd827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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