Built-in file format descriptors (HDF5, CAX) for the vcti-path-format identification framework
Project description
Path Format Descriptors
Built-in file format descriptors (HDF5, CAX) for the vcti-path-format identification framework.
Installation
pip install vcti-path-format-descriptors>=1.1.0
In pyproject.toml dependencies
dependencies = [
"vcti-path-format-descriptors>=1.1.0",
]
Quick Start
from pathlib import Path
from vcti.pathformat import FormatRegistry, FormatIdentifier
from vcti.pathformat.descriptors import register_all_formats
# Register all built-in format descriptors
registry = FormatRegistry()
register_all_formats(registry)
# Identify a file
identifier = FormatIdentifier(registry)
results = identifier.identify_file_format(Path("data.h5"))
Individual descriptors
from vcti.pathformat.descriptors import get_hdf5_file_descriptor, get_cax_file_descriptor
registry = FormatRegistry()
registry.register(get_hdf5_file_descriptor())
registry.register(get_cax_file_descriptor())
Built-in Formats
HDF5
| Property | Value |
|---|---|
| ID | hdf5-file |
| Signature | \x89HDF\r\n\x1a\n (8 bytes) |
| Extensions | .h5, .hdf5 |
| Validators | Magic bytes (GATE) + Extension (EVIDENCE) |
| Attributes | path_type=file, structure=hdf5 |
VCollab CAX
| Property | Value |
|---|---|
| ID | vcti-cax |
| Signature | \x89VCF\r\n\x1a\n (8 bytes) |
| Validators | Magic bytes (GATE) |
| Attributes | path_type=file, structure=binary, generator=VCollab |
Dependencies
- vcti-path-format (>=1.0.0) — format identification framework
- vcti-path-format-attributes (>=1.1.0) — domain vocabulary enums
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vcti_path_format_descriptors-1.1.0.tar.gz.
File metadata
- Download URL: vcti_path_format_descriptors-1.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8826e0eb55a793ca0ce9707debb68fb229e8509ca7103ef6cd76ea9b70aacd94
|
|
| MD5 |
32a8bd58431b8b5cfc240f4a013523a2
|
|
| BLAKE2b-256 |
15a0b174c523b360c62db2473e573fc8272fa2c1df1ff4e7dc0cdd435a4864d7
|
Provenance
The following attestation bundles were made for vcti_path_format_descriptors-1.1.0.tar.gz:
Publisher:
publish.yml on vcollab/vcti-python-path-format-descriptors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcti_path_format_descriptors-1.1.0.tar.gz -
Subject digest:
8826e0eb55a793ca0ce9707debb68fb229e8509ca7103ef6cd76ea9b70aacd94 - Sigstore transparency entry: 1189837190
- Sigstore integration time:
-
Permalink:
vcollab/vcti-python-path-format-descriptors@7af1fc6b27a6eca2529a6985efa9e5cd413d9745 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/vcollab
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7af1fc6b27a6eca2529a6985efa9e5cd413d9745 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file vcti_path_format_descriptors-1.1.0-py3-none-any.whl.
File metadata
- Download URL: vcti_path_format_descriptors-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c49e1ce373f692ab48c3114a6ea150d9eb4485914244939bb106f1d5c78f8d3
|
|
| MD5 |
7ce5de3cb1d853dbf06721eb06456bfa
|
|
| BLAKE2b-256 |
8d0985ee326bb508de93f3a5332156642d2e47e17bd227d44519ce0079d3ab87
|
Provenance
The following attestation bundles were made for vcti_path_format_descriptors-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on vcollab/vcti-python-path-format-descriptors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vcti_path_format_descriptors-1.1.0-py3-none-any.whl -
Subject digest:
0c49e1ce373f692ab48c3114a6ea150d9eb4485914244939bb106f1d5c78f8d3 - Sigstore transparency entry: 1189837212
- Sigstore integration time:
-
Permalink:
vcollab/vcti-python-path-format-descriptors@7af1fc6b27a6eca2529a6985efa9e5cd413d9745 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/vcollab
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7af1fc6b27a6eca2529a6985efa9e5cd413d9745 -
Trigger Event:
workflow_dispatch
-
Statement type: