Un exemple de package Python
Project description
- Clonez le dépôt :
git clone https://github.com/borghel/package_creation_tutorial.git sous windows
Après :
1. Clonez le dépôt sous Windows :
```bash
git clone https://github.com/borghel/package_creation_tutorial.git
4. Enregistrez les modifications.
---
### Étape 2 : Commit et mise à jour sur GitHub
1. Ouvrez un terminal ou une invite de commandes et naviguez dans le dossier de votre dépôt local :
```bash
cd chemin/vers/package_creation_tutorial
Commitez et poussez le fichier :
```bash
git add README.md
git commit -m "Ajout du fichier README.md"
git push
3. Ajouter d'autres fichiers ou scripts
Créez des modules ou scripts pour la logique principale de votre projet Python.
Ajoutez un fichier setup.py si vous envisagez de rendre ce projet installable comme package Python.
Exemple de base pour setup.py :
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file package_creation_tutorial_borghel-0.1.0.tar.gz.
File metadata
- Download URL: package_creation_tutorial_borghel-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28bc2dd96a32769669b9f8358fb1c42b8dfda4c87460f2a7d6a560afd2600983
|
|
| MD5 |
d87f5909e53f184390cc97266156a272
|
|
| BLAKE2b-256 |
91480b0f510fcafef57d2e20298f534f4092536086c0877b4d83abeb21b057db
|
File details
Details for the file package_creation_tutorial_borghel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: package_creation_tutorial_borghel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f90c83d270ff94f787664ac7b23eacbdc8794175073d46230f389174caab1e2
|
|
| MD5 |
c3726d474155d61b30aaf427513c67fd
|
|
| BLAKE2b-256 |
56d7bea8ac58d7958c0c0648570a7f5b180ce0391a46959469e81fcc647c3a6c
|