Skip to main content

Dioptic declarative profile parser

Python parser library for ARGOS declarative profiles.

Build prerequisites

  • Python 3.12+
  • CMake >=3.24
  • Ninja
  • C++20 compiler

Build with dependencies from lockfile

uv sync --no-install-project
uv build --wheel --no-build-isolation

Develop with auto rebuild

uv sync
uv run ruff check .
uv run pytest

Usage

import dioptic.profileparser as profileparser

profile = profileparser.parse("""
Profile {
    description: "Example profile"
    application: MyApp {
        hello: "world"
    }
}
"""
)

profileparser.validate(profile)
print(profile.to_json_ast())

Metadata

Release files for dioptic.profileparser 0.3.3

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

Source distribution (sdist)

Source distribution for dioptic.profileparser 0.3.3
File Size Uploaded
dioptic_profileparser-0.3.3.tar.gz 28.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for dioptic.profileparser 0.3.3
File Interpreter ABI Platform
dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl CPython 3.12 abi3 Linux glibc 2.34+ x86-64 Details

Total release size: 611.8 kB

Release files / dioptic_profileparser-0.3.3.tar.gz

Download URL dioptic_profileparser-0.3.3.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5a526b1b0497b57ee1b929326db95d220420e304d7a76c6af0f2504a80171457
BLAKE2b-256 checksum
How to use checksums
93c54b74bf80c6666825085f7ac58baac43cb036a93ddd4da15a92239ef3510d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release files / dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl

Download URL dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl
Size 265.2 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f2b061275489b98d4d81a435b2b2d92370e78ba169b8c3609b086c798f754973
BLAKE2b-256 checksum
How to use checksums
7046fb8f0106f3bac3de5057dc13c5f2bab96ae9a2b116d811efd63507b757eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release files / dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl

Download URL dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl
Size 318.1 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
8fb40e1685dbdd939c480f2df2d100c1c7b965eda1a884ee84929d6f9f9ff37c
BLAKE2b-256 checksum
How to use checksums
10ad25ffbaca752b35c176ab474fcfddf5f9f014c2af175437842841937e05b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.3 This release

3 release files

0.3.2

5 release files

0.3.1

5 release files

0.2.2

6 release files

0.2.1

5 release files

0.2

4 release files

0.1

4 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