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.5.tar.gz (34.2 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.5-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymox_kit-1.1.5.tar.gz
  • Upload date:
  • Size: 34.2 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.5.tar.gz
Algorithm Hash digest
SHA256 33cfe08933d583fae77414150194c95344083905f5c61ae9c9c69ae4f8f20fcd
MD5 4730d0067b461093321cc6902d9f1f2c
BLAKE2b-256 27b4f34c45248890d5bde77f4474291597c310592fcc971d69efaff83aef17d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymox_kit-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 14.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 323bed71aba4a992d770ceb4b700f05bfb9ae22e53277f87ae31b934da60a3c9
MD5 924906dbafa7129cb3fd5d70bcbcc923
BLAKE2b-256 8eb367ef774f660b050e3bd03766207b677ef4ac83f211daa6c223c1ee70beab

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