Skip to main content

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

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.0.tar.gz (1.0 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.0-cp314-cp314-manylinux_2_28_x86_64.whl (9.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14macOS 14.0+ ARM64

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

Hashes for catnip_lang-0.1.0.tar.gz
Algorithm Hash digest
SHA256 053b653f4aeb9a974806ca4a3d4e6787a6f8c4c3296540f82623569e53dd5379
MD5 deb2c191a84630cd4e65da16138509de
BLAKE2b-256 569021d3fd624da271e492f7530b7a1c1c0f24b46ac179aee0ec9b6c0e2827df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for catnip_lang-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7afe02f8b2cd8b3ce576dab90eb5f51dd05a5d3d74ff323e022928800ea32e7e
MD5 d31f94e4c78abb25a825d40e2eab5ed6
BLAKE2b-256 d8514de512c9a71611264828a1e61f8dc85d556ced4bcb0255ab8947b698a8e7

See more details on using hashes here.

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

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.0-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for catnip_lang-0.1.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4b1d352e645f4bdc665574bbfa41f2c64edb998d182b1e95f1f14f529964055a
MD5 46af22a1c704677abc2da74d980a06e0
BLAKE2b-256 7f33cace36f1e4953d62a6bfde8a9fbb2761a30ad4fa29dd3c59a5bdfaa012a6

See more details on using hashes here.

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

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