Skip to main content

Path Format Attributes

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

Overview

This package is the shared taxonomy of the path-format ecosystem: it defines the classification dimensions that format descriptors declare and that identification rules filter on — how a file's data is organized, what it contains, and which kind of analysis produced it. Attribute names the dimensions; FileStructure, FileContent and AnalysisType hold the valid values for them. Every member is a string enum whose value is its lowercase name, so it can be used anywhere the plain string can. The vocabulary lives in its own repository so that adding a dimension or value is a deliberate, reviewed decision across all formats rather than an ad-hoc tag in one descriptor.

Installation

pip install "vcti-path-format-attributes>=2.0.0"

In pyproject.toml dependencies

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

Quick Start

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

# Keys and values for a format descriptor's attributes
attributes = {
    Attribute.STRUCTURE: FileStructure.HDF5,
    Attribute.CONTENT: [FileContent.MESH, FileContent.SOLVER_OUTPUTS],
    Attribute.ANALYSIS_TYPE: AnalysisType.STRUCTURAL,
}

# Members are their lowercase strings: a str-keyed lookup finds them,
# and they compare equal to the strings a filter rule holds.
assert attributes["structure"] == "hdf5"

# Lookup by value (deserialization)
assert FileStructure("hdf5") is FileStructure.HDF5

Enums

Attribute

Attribute names for format descriptor metadata:

Member Value Values from
SOLVER "solver" free-form string
GENERATOR "generator" free-form string
STRUCTURE "structure" FileStructure
CONTENT "content" FileContent (one or a list)
ANALYSIS_TYPE "analysis_type" AnalysisType
SOLUTION_TYPE "solution_type" free-form string

Whether a format applies to files or to directories is not an attribute: the format's evaluator declares it with the framework's PathKind precondition (check_path_kind).

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"

Dependencies

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

Documentation

If you want to… Read
Understand how the three path-format repositories fit together docs/ecosystem.md
Understand the design decisions docs/design.md
Add a member or a new classification dimension docs/extending.md

Metadata

Release files for vcti-path-format-attributes 2.0.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 2.0.0
File Size Uploaded Provenance Actions
vcti_path_format_attributes-2.0.0.tar.gz 15.0 kB With provenance Details for vcti_path_format_attributes-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 21.4 kB

Release files / vcti_path_format_attributes-2.0.0.tar.gz

Download URL vcti_path_format_attributes-2.0.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b151078b0757ec7d6ae4c11981573221967378f9f058e87f96c0437ef0199ccf
BLAKE2b-256 checksum
How to use checksums
c2b9a578998bc982fa0018c331f2fd6e8b632ad56a62be17b5ffc48313df77ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

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

Download URL vcti_path_format_attributes-2.0.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a8f71e3b9775936267d9127186ee06867885ff3cf9531a03f91d788917c71e6
BLAKE2b-256 checksum
How to use checksums
5f0ede059193dc363474dedb39051959f0996942ef3081c46928974ca3cd161a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Security for vcti-path-format-attributes 2.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vcti_path_format_attributes-2.0.0.tar.gz

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 Nov 22, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

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