Un package Python pour obtenir des messages de motivation.
Project description
MotiPy
Un package Python qui génére des messages de motivation
Installation
Installez le package à l'aide de pip
:
pip install motipy
Utilisation
Importez le package dans votre script Python et appelez la fonction moty() pour obtenir des informations intéressantes :
import motipy
from motipy.motipy import moty
# Créez le générateur de messages de motivation
motivation = moty()
# Obtenez les messages de motivation à l'aide de la fonction next()
message1 = next(motivation)
print(message1)
message2 = next(motivation)
print(message2)
message3 = next(motivation)
print(message3)
Chaque appel à next(motivation_generator) renverra le message de motivation suivant dans la liste mélangée. Vous pouvez ainsi obtenir autant de messages de motivation que vous le souhaitez en utilisant next() à chaque nouvel appel.
Exigences
- Python3
-
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
File details
Details for the file motipy-2.0.0.tar.gz
.
File metadata
- Download URL: motipy-2.0.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d8791dd89eaece7d4b222490fd728dc42aad048abc064e828d15ba73f27ff2 |
|
MD5 | 3f54bd8e73b0df378824eff4df5a8f5f |
|
BLAKE2b-256 | db56109e0fa0302130786b5d282253ae71e7a3286dbb4609eff239a396ce16f7 |
File details
Details for the file motipy-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: motipy-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f5d85968fb4fa63b4d6377e875931024d75ce746b116761502893a238fe3d2a |
|
MD5 | 6336bccab56afc883d3cb8261d86d66e |
|
BLAKE2b-256 | 243c841a3f26b5599e26d46028f35ef114c49e9d464db853bd3449e17b448d82 |