Skip to main content

Path Format Attributes

Domain vocabulary enums for file format classification — path types, structures, content, and analysis categories.

Part of the path-format ecosystem: attributes (this package) · vcti-python-path-format (framework) · vcti-python-path-format-descriptors (format plugins)

This package is the shared taxonomy — it defines the classification dimensions that format descriptors and identification rules use. It lives in its own repository so that vocabulary changes are deliberate and reviewed across all formats. See docs/ecosystem.md for how the three repos work together, and docs/extending.md for how to add new members and enums.

Installation

pip install vcti-path-format-attributes>=1.1.0

In pyproject.toml dependencies

dependencies = [
    "vcti-path-format-attributes>=1.1.0",
]

Quick Start

from vcti.pathformat.attribute import (
    AnalysisType,
    Attribute,
    FileContent,
    FileStructure,
    PathType,
)

# Use as metadata keys and values for format descriptors
attrs = {
    Attribute.PATH_TYPE: PathType.FILE,
    Attribute.STRUCTURE: FileStructure.HDF5,
    Attribute.CONTENT: FileContent.SOLVER_OUTPUTS,
    Attribute.ANALYSIS_TYPE: AnalysisType.STRUCTURAL,
}

# Enum values are lowercase strings — usable with vcti-lookup rules
#   Rule(Attribute.STRUCTURE.value, "==", FileStructure.HDF5.value)

# Lookup by value (useful for deserialization)
structure = FileStructure("hdf5")
assert structure is FileStructure.HDF5

Enums

Attribute

Attribute names for format descriptor metadata:

Member Value
PATH_TYPE "path_type"
SOLVER "solver"
GENERATOR "generator"
STRUCTURE "structure"
CONTENT "content"
ANALYSIS_TYPE "analysis_type"
SOLUTION_TYPE "solution_type"

PathType

Member Value
FILE "file"
DIR "dir"

FileStructure

Member Value
ASCII "ascii"
BINARY "binary"
HDF5 "hdf5"
JSON "json"
CSV "csv"

FileContent

Member Value
MESH "mesh"
SOLVER_INPUTS "solver_inputs"
SOLVER_OUTPUTS "solver_outputs"
FILTERED_DATA "filtered_data"
SURFACE_3D_MODEL "surface_3d_model"
SURFACE_3D_VIEWS "surface_3d_views"

AnalysisType

Member Value
STRUCTURAL "structural"
THERMAL "thermal"
FLUID "fluid"
CRASH "crash"

Extending

To add a new member or a new enum, see docs/extending.md. All members use auto_enum_value() — values are always lowercase strings derived from the member name.


Dependencies

  • vcti-enum (>=1.0.3) — value-generated string enums

Metadata

Release files for vcti-path-format-attributes 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vcti-path-format-attributes 1.1.0
File Size Uploaded
vcti_path_format_attributes-1.1.0.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vcti-path-format-attributes 1.1.0
File Interpreter ABI Platform
vcti_path_format_attributes-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / vcti_path_format_attributes-1.1.0.tar.gz

Download URL vcti_path_format_attributes-1.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
df454c7c413683eec33c52ed0966c4ec1f42bdfdfae162da7815321fe97179ad
BLAKE2b-256 checksum
How to use checksums
f95c89e454604e6b33f705095ab2980b34aed92b433a3b59f1699a3b9a8e48eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 28, 2026.

Transparency log

Release files / vcti_path_format_attributes-1.1.0-py3-none-any.whl

Download URL vcti_path_format_attributes-1.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d9cf172ff521649fa27bca3cec09b4154bf93f97806d5c20089014eece1f8c5
BLAKE2b-256 checksum
How to use checksums
42961e0e92b86d7bdc7b6f8e379af8e419e91328c5e8e26827e3d234ee5183d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

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