Skip to main content

Parser library for ARGOS declarative profiles

Project description

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dioptic_profileparser-0.3.3.tar.gz (28.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl (265.2 kB view details)

Uploaded CPython 3.12+Windows x86-64

dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl (318.1 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.34+ x86-64

File details

Details for the file dioptic_profileparser-0.3.3.tar.gz.

File metadata

  • Download URL: dioptic_profileparser-0.3.3.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dioptic_profileparser-0.3.3.tar.gz
Algorithm Hash digest
SHA256 5a526b1b0497b57ee1b929326db95d220420e304d7a76c6af0f2504a80171457
MD5 eb0af7322bc546e1d722b782a618c4d7
BLAKE2b-256 93c54b74bf80c6666825085f7ac58baac43cb036a93ddd4da15a92239ef3510d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dioptic_profileparser-0.3.3.tar.gz:

Publisher: pypi-packages.yml on dioptic/profileparser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f2b061275489b98d4d81a435b2b2d92370e78ba169b8c3609b086c798f754973
MD5 06d51b05cd4997ddb582d20e44c6aee2
BLAKE2b-256 7046fb8f0106f3bac3de5057dc13c5f2bab96ae9a2b116d811efd63507b757eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl:

Publisher: pypi-packages.yml on dioptic/profileparser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8fb40e1685dbdd939c480f2df2d100c1c7b965eda1a884ee84929d6f9f9ff37c
MD5 dd38a4773ebfb6239d71ed911aa62069
BLAKE2b-256 10ad25ffbaca752b35c176ab474fcfddf5f9f014c2af175437842841937e05b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl:

Publisher: pypi-packages.yml on dioptic/profileparser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page