Skip to main content

Un module avec plein d'outils utiles pour devs en PyMoX (Py←thon - Mo←jo - flet→X)

Project description

PyMoX-Kit logo

PyMoX-Kit

Trousse à Outils utiles pour devs en Logo PyMoX FR

🏗️ Installation

py -m venv .venv
.\.venv\Scripts\activate
py -m pip install --upgrade pip
pip install pymox_kit

🚀 Utilisation

from pytmox_kit import *

cls()
print(f"Bon {GREEN}{SI}{SB}code{R} !\n")
end()

Capture rendu de ./start

Voir + 👉 Doc détaillée


🧪 Dev & exécution locale du package

Préparez un environnement de développement et installez le package en mode editable pour avoir accès au script console pymox-kit :

py -m venv .venv
.\.venv\Scripts\activate
py -m pip install --upgrade pip
pip install -e .  # crée la console pymox-kit

Si vous avez besoin des dépendances listées dans requirements.txt :

pip install -r requirements.txt

Sans installation complète, vous pouvez toujours lancer les modules en ajoutant src dans PYTHONPATH :

$env:PYTHONPATH='src'; python -m pymox_kit  # exécute __main__
$env:PYTHONPATH='src'; python -m pymox_kit --version  # affiche la version
$env:PYTHONPATH='src'; python -m pymox_kit.main  # appelle pymox_kit.main.main()
& .venv\Scripts\python.exe src\pymox_kit\main.py  # équivalent revenir à la racine

Après pip install -e ., le script console est disponible directement :

pymox-kit

Pour les diagnostics rapides du module tokens :

& .venv\Scripts\python.exe src\pymox_kit\tokens.py

Notes :

  • __main__.py propose --version et délègue d'abord à pymox_kit.main.main() avant d'imprimer hello() / bye().
  • main.py remet automatiquement la racine src dans sys.path quand il est exécuté comme script, ce qui garantit que la même logique marche depuis le dépôt ou après installation. ./rmain.py permet même de tester la vraie lib installée en VE (Bref, comme un user lambda)

💡 Contribution

Pour tester la lib PyMox_Kit : GitHub

Si volonté d' ↑ la lib : → Merge Request GitHub Passing

🧩 Help

GitHub Issue

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

pymox_kit-1.2.2.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

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

pymox_kit-1.2.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file pymox_kit-1.2.2.tar.gz.

File metadata

  • Download URL: pymox_kit-1.2.2.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pymox_kit-1.2.2.tar.gz
Algorithm Hash digest
SHA256 5467aa2ea5e77b1c76e0daa6c83fe98d67005a451a1d0b42aaf1d77eb33d38ec
MD5 f3fdfcce7e5d6562826d138b9a2c164e
BLAKE2b-256 9f6502db85804d09310a1b05cb89f1cb31916170ea8274e6005c09d5fcba2d6e

See more details on using hashes here.

File details

Details for the file pymox_kit-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: pymox_kit-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pymox_kit-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f0a5eb20d07662c62c64053c567586ecbf0d893d3d227fdf4204724120cdc17
MD5 107646abf6c0adb670bb794ec3b4b662
BLAKE2b-256 c846173b1dde8ca83a6f2345088f356376f4833c283b13ea283e72ecabab5c18

See more details on using hashes here.

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