Skip to main content

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

python logo

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

motipy-2.0.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

motipy-2.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for motipy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b4d8791dd89eaece7d4b222490fd728dc42aad048abc064e828d15ba73f27ff2
MD5 3f54bd8e73b0df378824eff4df5a8f5f
BLAKE2b-256 db56109e0fa0302130786b5d282253ae71e7a3286dbb4609eff239a396ce16f7

See more details on using hashes here.

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

Hashes for motipy-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f5d85968fb4fa63b4d6377e875931024d75ce746b116761502893a238fe3d2a
MD5 6336bccab56afc883d3cb8261d86d66e
BLAKE2b-256 243c841a3f26b5599e26d46028f35ef114c49e9d464db853bd3449e17b448d82

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page