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(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.0.tar.gz (33.4 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.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymox_kit-1.1.0.tar.gz
  • Upload date:
  • Size: 33.4 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.0.tar.gz
Algorithm Hash digest
SHA256 540e4ccdc92466f0bb4fa7df53627a037d8ab636f1224b32ce1266170633623a
MD5 3dab2380b93ea4ffee4d32dd3d77cc2c
BLAKE2b-256 e0afc53ed7e179903d75d3f1a8edbb1050e9a1a21275d5b1a17b31ca9d1369b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymox_kit-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdb52b0cc1f60c6b88d84bd7a5817ecbe3596a09e3d53484477f8d97675aca0d
MD5 2abf5f82bbf8d4ffb6c6b8fc810a2349
BLAKE2b-256 c23ec3d14a56ef6b4e76382f68a195903c69bd39469b73b2b18a30814d6022fc

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