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
Built Distributions
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a526b1b0497b57ee1b929326db95d220420e304d7a76c6af0f2504a80171457
|
|
| MD5 |
eb0af7322bc546e1d722b782a618c4d7
|
|
| BLAKE2b-256 |
93c54b74bf80c6666825085f7ac58baac43cb036a93ddd4da15a92239ef3510d
|
Provenance
The following attestation bundles were made for dioptic_profileparser-0.3.3.tar.gz:
Publisher:
pypi-packages.yml on dioptic/profileparser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dioptic_profileparser-0.3.3.tar.gz -
Subject digest:
5a526b1b0497b57ee1b929326db95d220420e304d7a76c6af0f2504a80171457 - Sigstore transparency entry: 2255939891
- Sigstore integration time:
-
Permalink:
dioptic/profileparser@4756684cea0c7676b90d77baba918a9809b1d9a8 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/dioptic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-packages.yml@4756684cea0c7676b90d77baba918a9809b1d9a8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 265.2 kB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2b061275489b98d4d81a435b2b2d92370e78ba169b8c3609b086c798f754973
|
|
| MD5 |
06d51b05cd4997ddb582d20e44c6aee2
|
|
| BLAKE2b-256 |
7046fb8f0106f3bac3de5057dc13c5f2bab96ae9a2b116d811efd63507b757eb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dioptic_profileparser-0.3.3-cp312-abi3-win_amd64.whl -
Subject digest:
f2b061275489b98d4d81a435b2b2d92370e78ba169b8c3609b086c798f754973 - Sigstore transparency entry: 2255939906
- Sigstore integration time:
-
Permalink:
dioptic/profileparser@4756684cea0c7676b90d77baba918a9809b1d9a8 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/dioptic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-packages.yml@4756684cea0c7676b90d77baba918a9809b1d9a8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 318.1 kB
- Tags: CPython 3.12+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fb40e1685dbdd939c480f2df2d100c1c7b965eda1a884ee84929d6f9f9ff37c
|
|
| MD5 |
dd38a4773ebfb6239d71ed911aa62069
|
|
| BLAKE2b-256 |
10ad25ffbaca752b35c176ab474fcfddf5f9f014c2af175437842841937e05b8
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dioptic_profileparser-0.3.3-cp312-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
8fb40e1685dbdd939c480f2df2d100c1c7b965eda1a884ee84929d6f9f9ff37c - Sigstore transparency entry: 2255939918
- Sigstore integration time:
-
Permalink:
dioptic/profileparser@4756684cea0c7676b90d77baba918a9809b1d9a8 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/dioptic
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-packages.yml@4756684cea0c7676b90d77baba918a9809b1d9a8 -
Trigger Event:
push
-
Statement type: