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](https://github.com/PyMoX-fr/Kit/blob/main/assets/imgs/capture_1.png)

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.0.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.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymox_kit-1.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ce9e675b0db6cac74eae77fea63a7d1aac61166b871f64993970bfcc7e9714f3
MD5 c7d9b601999893f1fe190d9e502ed746
BLAKE2b-256 fab2ba2edabe28b10815131edce7da13e9c1f60e5335169434fe1464010f67c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymox_kit-1.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 170eb2f53218dd9b9c086888463d4e13037ae12164a9e56668fcf6372e39a403
MD5 49547b16d2f329512f1a40a74b6046c5
BLAKE2b-256 870db9ef7175adf6e3a313f48356579a1b38169857f0f0fcede48ad11d1ffec4

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