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 *

print(f'Bon {SI}{GREEN}code{R} !\n{hello()}')

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.1.8.tar.gz (36.0 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.1.8-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymox_kit-1.1.8.tar.gz
  • Upload date:
  • Size: 36.0 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.1.8.tar.gz
Algorithm Hash digest
SHA256 a415b19e2d771667aea74688095ec9b8582a5df334ae5e7bd79d6f462e511d36
MD5 d3d54fa6578bb214600cb2d0d9e7b97e
BLAKE2b-256 ead3874741bae2266830b110ca444d2c31f50a651da2e7f580ed4ca56fc322cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymox_kit-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 30a7943ccb8e3a162d4486e2e24293af3a7938814230109a4665009f288bea3c
MD5 c7057fb2937343d9e119a6e0f821bcb8
BLAKE2b-256 dcb38bba8b5f200d55e6091c77d223a602b27c604289452d347aa97eda8e4ca9

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