Skip to main content

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

Licence

GPLv3

Download files

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

Source Distribution

catnip_lang-0.1.3.tar.gz (1.6 MB view details)

Uploaded Source

Built Distributions

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

catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl (9.7 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl (9.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

File details

Details for the file catnip_lang-0.1.3.tar.gz.

File metadata

  • Download URL: catnip_lang-0.1.3.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for catnip_lang-0.1.3.tar.gz
Algorithm Hash digest
SHA256 865a262ee9f72c60ed49d3021b12a98230bf750793e6254a2b4a0b956175974d
MD5 a00c95d6fc61d8fa6d9db3079eb5dfb2
BLAKE2b-256 0cab770956a99e8e565121f9d01eb81dc17c626e087a8dcc19a0b6e8972aa639

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.3.tar.gz:

Publisher: publish.yml on aristofor/catnip

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

File details

Details for the file catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2aa0c9fe72b1f4d4fb209e288852571fc90e34c7c8ff3bca412a6881609157a7
MD5 dd207edac7dcdf94380adb07c52661a6
BLAKE2b-256 3d3675d0c7f6090cadbee0577a0cf8698b83f746064d14b7e51b998113236823

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on aristofor/catnip

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

File details

Details for the file catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 af1f9d423a01830e2e3d1ceb0bfdf7952b6f400b06f5f3d1eabce9560f52a1dc
MD5 ba121319e406e06b3456f85ca8a25ad8
BLAKE2b-256 b18e81c681b228a8b34605a9abd2fb57a9db417bae8b6342348df1994d2c0c83

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.3-cp314-cp314-macosx_14_0_arm64.whl:

Publisher: publish.yml on aristofor/catnip

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

File details

Details for the file catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a2b78e61be09d04e3b50d98b931a3af815b183a347d58d70f8684783dbd9ca59
MD5 484ca43993baaa9f61daacab9ec55b31
BLAKE2b-256 e8a4d0427847a44cc15417f3468eb92809bdeba0112040c693b30e6f20623886

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on aristofor/catnip

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

File details

Details for the file catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 82c215b8626a8e51c3da3b8cae1dc0a1abb3b67a9969cfe0cbd4992c9bf54fd9
MD5 f548b28b064ff6517a2aadfd161de08f
BLAKE2b-256 8d665b42408435fe10de851fac549082d576e30cbfb1be57db116920457d8024

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.3-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: publish.yml on aristofor/catnip

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

Release history Release notifications | RSS feed

This release

0.1.3 This release

5 files

0.1.2

5 files

0.1.1

5 files

0.1.0

3 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