Skip to main content

hatch-datavolo-nar

This project provides a Builder plugin for the Hatch Python project manager that enables building packaged archives for Apache NiFi. The NAR format uses the ZIP file structure, containing a manifest and NiFi components with dependencies.

pypi python-versions build license Hatch Ruff Mypy

Integrating

This project requires the Hatch project manager for Python with a working pyproject.toml configuration.

Build System

The hatch-datavolo-nar library must be added to the build-system.requires field in a pyproject.toml configuration for Hatch to load the plugin.

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

Build Packages

The hatch-datavolo-nar plugin reads the Hatch build configuration to select files for packaging.

The nar build target should be configured with a packages field that identifies the directory containing Python files to be included.

The following configuration section provides an example for a project containing a processors package using the src layout for directory organization:

[tool.hatch.build.targets.nar]
packages = ["src/processors"]

Build Command

The hatch-datavolo-nar plugin provides the nar build target, which can be invoked using the Hatch build command.

hatch build -t nar

A Python NAR with platform-specific dependencies requires building on a machine with the same architecture as the runtime system.

Developing

Run the following Hatch command to build the project:

hatch build

The Python wheel can be referenced using a file URI in a project build system.

[build-system]
requires = ["hatchling", "hatch-datavolo-nar@file:///dist/hatch_datavolo_nar-0.1.0-py3-none-any.whl"]
build-backend = "hatchling.build"

The Hatch build environment caches build plugins, which requires pruning existing environments to use a new version of the plugin.

hatch env prune

Coding Conventions

This project uses the following tools to evaluate adherence to coding conventions:

Versioning

This project follows the Semantic Versioning Specification 2.0.0.

Licensing

This project is distributed under the terms of the Apache License 2.0.

Release files for hatch-datavolo-nar 1.0.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 hatch-datavolo-nar 1.0.1
File Size Uploaded
hatch_datavolo_nar-1.0.1.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hatch-datavolo-nar 1.0.1
File Interpreter ABI Platform
hatch_datavolo_nar-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / hatch_datavolo_nar-1.0.1.tar.gz

Download URL hatch_datavolo_nar-1.0.1.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
11a050c8a11c1481612061583ecb32e3d0f95bbfb3889f6159f593c77b58332a
BLAKE2b-256 checksum
How to use checksums
a8c490a48df03af89c3fcbf332864e3cbc2fa8ed941471dc5a31bb9e2cd5b253
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / hatch_datavolo_nar-1.0.1-py3-none-any.whl

Download URL hatch_datavolo_nar-1.0.1-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f6ecf2261dbf9b3b89c8e3dd33108e0f5f353a9d506e31ac051ec1d8a756925
BLAKE2b-256 checksum
How to use checksums
88ddb449627271a78fbb4a0b3ddb397bc6772f39f0264ed93e248ab5211e97e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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