Catnip language
Version 0.1.3
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
Metadata
Release files for catnip-lang 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| catnip_lang-0.1.3.tar.gz | 1.6 MB | With provenance | Details for catnip_lang-0.1.3.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.28+ x86-64 | Details for catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl |
| catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 14.0+ ARM64 | Details for catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl |
| catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.28+ x86-64 | Details for catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl |
| catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 14.0+ ARM64 | Details for catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl |
Total release size: 41.3 MB
Release files / catnip_lang-0.1.3.tar.gz
| Download URL | catnip_lang-0.1.3.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
865a262ee9f72c60ed49d3021b12a98230bf750793e6254a2b4a0b956175974d
|
|
BLAKE2b-256 checksum How to use checksums |
0cab770956a99e8e565121f9d01eb81dc17c626e087a8dcc19a0b6e8972aa639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 7, 2026.
Transparency logRelease files / catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2aa0c9fe72b1f4d4fb209e288852571fc90e34c7c8ff3bca412a6881609157a7
|
|
BLAKE2b-256 checksum How to use checksums |
3d3675d0c7f6090cadbee0577a0cf8698b83f746064d14b7e51b998113236823
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 7, 2026.
Transparency logRelease files / catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl
| Download URL | catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | CPython 3.14 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
af1f9d423a01830e2e3d1ceb0bfdf7952b6f400b06f5f3d1eabce9560f52a1dc
|
|
BLAKE2b-256 checksum How to use checksums |
b18e81c681b228a8b34605a9abd2fb57a9db417bae8b6342348df1994d2c0c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 7, 2026.
Transparency logRelease files / catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
a2b78e61be09d04e3b50d98b931a3af815b183a347d58d70f8684783dbd9ca59
|
|
BLAKE2b-256 checksum How to use checksums |
e8a4d0427847a44cc15417f3468eb92809bdeba0112040c693b30e6f20623886
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 7, 2026.
Transparency logRelease files / catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
82c215b8626a8e51c3da3b8cae1dc0a1abb3b67a9969cfe0cbd4992c9bf54fd9
|
|
BLAKE2b-256 checksum How to use checksums |
8d665b42408435fe10de851fac549082d576e30cbfb1be57db116920457d8024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 7, 2026.
Transparency logSecurity for catnip-lang 0.1.3
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
All 5 files in this release have been uploaded with provenance metadata.
Attestation for catnip_lang-0.1.3.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 Aug 7, 2026.
Transparency logA 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.