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.tomlconfig 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_PATHso that other hatchling plugins can resolve it
- Also sets
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| hatch_nativelib-0.2.2.tar.gz | 11.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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