Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Changé pour Make_Py_Project (MPP)

Py Project Packagor

py_project_packagor est un générateur interactif de structure pour démarrer un package Python. Sa commande py-init demande les informations du projet, puis crée les fichiers de base nécessaires à sa construction et à sa documentation.

Installation globale

Il est conseiller une installation globale.

pip install Py-Project-Packagor

Redémarrez ensuite le terminal si nécessaire.

Pour mettre à jour l'installation locale après avoir modifié le code :

pip install --force .

Utilisation

Placez-vous dans le dossier où vous souhaitez créer le nouveau projet, puis lancez :

py-init

La commande demande le nom du projet, sa version, sa description, le nom de l'auteur et son adresse e-mail. Les valeurs affichées entre parenthèses sont des suggestions ; renseignez notamment le nom et l'e-mail de l'auteur pour les inscrire dans les métadonnées du package.

Le nom du projet est utilisé pour créer le dossier du module sous src/ ; il est converti en minuscules et les espaces sont remplacés par des underscores.

Exemple de structure générée

mon_projet/
├── README.md
├── pyproject.toml
└── src/
    └── mon_projet/
        ├── __init__.py
        └── py.typed

Le fichier pyproject.toml contient les métadonnées du package et sa configuration de build avec setuptools. Un fichier marqueur py.typed est également créé dans le module.

Attention : la commande écrit ou remplace README.md, pyproject.toml, src/<nom_du_module>/__init__.py et src/<nom_du_module>/py.typed dans le dossier courant. Lancez-la dans un dossier adapté et sauvegardez tout fichier que vous souhaitez conserver.

Construire le package généré

Dans le dossier du nouveau projet, construisez les distributions avec build :

python -m pip install build
python -m build

Les fichiers de distribution sont créés dans dist/.

Metadata

Release files for Py-Project-Packagor 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Py-Project-Packagor 1.0.4
File Size Uploaded Provenance Actions
py_project_packagor-1.0.4.tar.gz 3.7 kB Without provenance Details for py_project_packagor-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Py-Project-Packagor 1.0.4
File Interpreter ABI Platform Actions
py_project_packagor-1.0.4-py3-none-any.whl Python 3 none any Details for py_project_packagor-1.0.4-py3-none-any.whl

Total release size: 9.2 kB

Release files / py_project_packagor-1.0.4.tar.gz

Download URL py_project_packagor-1.0.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4af759af9e67f34bf2d1dafc31074c1efb1d6d1afd2446552a7af438e0495581
BLAKE2b-256 checksum
How to use checksums
0be96e43961339ff6efe0f4b04509ef0c67be1b3fb70472ca5882708180c0a9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / py_project_packagor-1.0.4-py3-none-any.whl

Download URL py_project_packagor-1.0.4-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07136e774028479d66e43e21acdc26a3bfb2bc8e86e88fa5ab97605250ce08d6
BLAKE2b-256 checksum
How to use checksums
3de285a7e3f41b80db538eee8ffcc1d08843c5fc1a12fc7669d5718f9f1c6f0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for Py-Project-Packagor 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page