Skip to main content

Catnip language

Project description

Catnip language

Version 0.1.2

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

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

catnip_lang-0.1.2.tar.gz (1.3 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.2-cp314-cp314-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

catnip_lang-0.1.2-cp314-cp314-macosx_14_0_arm64.whl (9.4 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

catnip_lang-0.1.2-cp313-cp313-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

catnip_lang-0.1.2-cp313-cp313-macosx_14_0_arm64.whl (9.4 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: catnip_lang-0.1.2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for catnip_lang-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ccf1fb111919adec0f303ffbc02f5f30e77842bb8a7bc01071bf82cd26b10f10
MD5 f98d299414a8736f642e86fba65bb283
BLAKE2b-256 4fae9e617fab54405d2e895149a225c2ce5b46c252b07899aa1cb36acc0177c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.2.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.2-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.2-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6d7353ea0c37eb88ee1a536bca830efdb8436c38406e88c55873500c2396caf9
MD5 89c350c846a9e2c5f4bb73cae201775e
BLAKE2b-256 e906ecb09f63672c548a0f8ab83091c269144c69836017e03c30a788c4a22b7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.2-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.2-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.2-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 72d13083c5782ca1657717cf73199dbb8fd0bb0fdf8a651804557a9ef1ec5845
MD5 e84c6becc4c7d47549db5016f2ae6b96
BLAKE2b-256 934ed17e17440ad33379e5e7508ce9baf839b678594920a9820bb31afef4c207

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.2-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.2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de584479dba4f7c05cb457c6b3857c14a377c8939b39b386f0dd214c627eca03
MD5 c0818c41696e2be42a65c71891b05c36
BLAKE2b-256 390730e8693168ddeac694c4cf6d6aebc51ee29dbf869b68eba9461d78db483f

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.2-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.2-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6ca3f501b03cf7b10f8a6530fd7b31a334d44e0e4dbe14023a9e5079611c2e49
MD5 b4219f7a128f8b8fd1716669799058bf
BLAKE2b-256 04eae23c28a0c7401789fc56d2a3c1c21d51fba193c649bbf056f9c751d74a62

See more details on using hashes here.

Provenance

The following attestation bundles were made for catnip_lang-0.1.2-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.

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