Description
nifi_ffv3 is a Python library for packaging and unpacking data in the application/flowfile-v3 format, commonly used in Apache NiFi.
Features
- Packages data into a byte stream compatible with
flowfile-v3. - Allows adding custom attributes to the flowfile.
- Handles large file sizes.
Installation
pip install nifi_ffv3
Usage
import io
from nifi_ffv3 import package_flowfile
# Data to be packaged
data = b"Hello, world!"
input_stream = io.BytesIO(data)
# Create an output byte stream
output_stream = io.BytesIO()
# Define custom attributes (optional)
attributes = {"filename": "example.txt", "author": "John Doe"}
# Package the data in flowfile-v3 format
package_flowfile(input_stream, output_stream, attributes=attributes)
# Access the packaged flowfile
flowfile_data = output_stream.getvalue()
Contribution
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
Apache-2.0 license
Metadata
Release files for nifi-ffv3 0.1.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 | Provenance | |
|---|---|---|---|---|
| nifi_ffv3-0.1.2.tar.gz | 5.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nifi_ffv3-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / nifi_ffv3-0.1.2.tar.gz
| Download URL | nifi_ffv3-0.1.2.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c03c10e5ff1683e119c51dc9c13ef96f62a2d680d30a9b277e396491b42b006
|
|
BLAKE2b-256 checksum How to use checksums |
3889cf27fcc4e4a9e988faaad2411ed6984e6c47870e18255f862a9606d5c4fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / nifi_ffv3-0.1.2-py3-none-any.whl
| Download URL | nifi_ffv3-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c72718a98a517898d8329a46ce11a7f5c7bf678c9c41c109864ee3f55dc7a3d7
|
|
BLAKE2b-256 checksum How to use checksums |
13c4474c207d04386f9ccf5990717d6d17d08fc67fcd43c4c86a0d2d874301f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Security for nifi-ffv3 0.1.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.