Catnip language
Project description
Catnip language
Version 0.1.0
Documentation: https://docs.catnip-lang.io
Catnip est un langage de script embarqué pour applications Python. Il permet de définir des règles métier, des workflows et des transformations de données sans modifier le code applicatif.
Installation
pip install catnip-lang
Utilisation rapide
Exécution en CLI
catnip script.cat
catnip -c "2 + 3"
echo "2 + 3" | catnip
Intégration Python (embedded)
from catnip import Catnip
engine = Catnip()
engine.parse("x = 2 + 3")
result = engine.execute()
print(result)
Cas d'usage typiques
- Règles métier configurables sans redéploiement
- Scripts utilisateur sandboxés dans une application web
- Pipelines de transformation de données (ETL)
- Validation de configuration et logique d'éligibilité
Statut du projet
Catnip est utilisé en production pour des cas d'expressions et de transformation de données. Le projet est encore en
phase 0.x, avec des évolutions en cours sur certains aspects.
Documentation
Code source
- Framagit (principal): https://framagit.org/aristofor/catnip
- GitHub (miroir): https://github.com/aristofor/catnip
Licence
GPLv3
Project details
Release history Release notifications | RSS feed
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 catnip_lang-0.1.0.tar.gz.
File metadata
- Download URL: catnip_lang-0.1.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
053b653f4aeb9a974806ca4a3d4e6787a6f8c4c3296540f82623569e53dd5379
|
|
| MD5 |
deb2c191a84630cd4e65da16138509de
|
|
| BLAKE2b-256 |
569021d3fd624da271e492f7530b7a1c1c0f24b46ac179aee0ec9b6c0e2827df
|
Provenance
The following attestation bundles were made for catnip_lang-0.1.0.tar.gz:
Publisher:
publish.yml on aristofor/catnip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
catnip_lang-0.1.0.tar.gz -
Subject digest:
053b653f4aeb9a974806ca4a3d4e6787a6f8c4c3296540f82623569e53dd5379 - Sigstore transparency entry: 1738290639
- Sigstore integration time:
-
Permalink:
aristofor/catnip@d687a8591de7244dd796c5e5d72221477a22dfdd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aristofor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d687a8591de7244dd796c5e5d72221477a22dfdd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file catnip_lang-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: catnip_lang-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.8 MB
- Tags: CPython 3.14, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7afe02f8b2cd8b3ce576dab90eb5f51dd05a5d3d74ff323e022928800ea32e7e
|
|
| MD5 |
d31f94e4c78abb25a825d40e2eab5ed6
|
|
| BLAKE2b-256 |
d8514de512c9a71611264828a1e61f8dc85d556ced4bcb0255ab8947b698a8e7
|
Provenance
The following attestation bundles were made for catnip_lang-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on aristofor/catnip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
catnip_lang-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl -
Subject digest:
7afe02f8b2cd8b3ce576dab90eb5f51dd05a5d3d74ff323e022928800ea32e7e - Sigstore transparency entry: 1738290656
- Sigstore integration time:
-
Permalink:
aristofor/catnip@d687a8591de7244dd796c5e5d72221477a22dfdd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aristofor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d687a8591de7244dd796c5e5d72221477a22dfdd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file catnip_lang-0.1.0-cp314-cp314-macosx_14_0_arm64.whl.
File metadata
- Download URL: catnip_lang-0.1.0-cp314-cp314-macosx_14_0_arm64.whl
- Upload date:
- Size: 9.4 MB
- Tags: CPython 3.14, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b1d352e645f4bdc665574bbfa41f2c64edb998d182b1e95f1f14f529964055a
|
|
| MD5 |
46af22a1c704677abc2da74d980a06e0
|
|
| BLAKE2b-256 |
7f33cace36f1e4953d62a6bfde8a9fbb2761a30ad4fa29dd3c59a5bdfaa012a6
|
Provenance
The following attestation bundles were made for catnip_lang-0.1.0-cp314-cp314-macosx_14_0_arm64.whl:
Publisher:
publish.yml on aristofor/catnip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
catnip_lang-0.1.0-cp314-cp314-macosx_14_0_arm64.whl -
Subject digest:
4b1d352e645f4bdc665574bbfa41f2c64edb998d182b1e95f1f14f529964055a - Sigstore transparency entry: 1738290730
- Sigstore integration time:
-
Permalink:
aristofor/catnip@d687a8591de7244dd796c5e5d72221477a22dfdd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aristofor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d687a8591de7244dd796c5e5d72221477a22dfdd -
Trigger Event:
workflow_dispatch
-
Statement type: