motipy


Namemotipy JSON
Version 2.0.0 PyPI version JSON
download
home_page
SummaryUn package Python pour obtenir des messages de motivation.
upload_time2023-07-29 10:51:46
maintainer
docs_urlNone
authorCoding Team
requires_python>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1>MotiPy</h1>
<p>Un package Python qui génére des messages de motivation</p>
<h2>Installation</h2>
<p>Installez le package à l'aide de <code>pip</code> :</p>
<pre lang="bash">pip<span class="w"> </span>install<span class="w"> </span>motipy
</pre>
<h2>Utilisation</h2>
<p>Importez le package dans votre script Python et appelez la fonction moty() pour obtenir des informations intéressantes :</p>
<pre lang="bash">import<span class="w"> </span>motipy
from<span class="w"> </span>motipy.motipy<span class="w"> </span>import<span class="w"> </span>moty

<span class="c1"># Créez le générateur de messages de motivation</span>
<span class="nv">motivation</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>moty<span class="o">()</span>

<span class="c1"># Obtenez les messages de motivation à l&#39;aide de la fonction next()</span>
<span class="nv">message1</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>next<span class="o">(</span>motivation<span class="o">)</span>
print<span class="o">(</span>message1<span class="o">)</span>

<span class="nv">message2</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>next<span class="o">(</span>motivation<span class="o">)</span>
print<span class="o">(</span>message2<span class="o">)</span>

<span class="nv">message3</span><span class="w"> </span><span class="o">=</span><span class="w"> </span>next<span class="o">(</span>motivation<span class="o">)</span>
print<span class="o">(</span>message3<span class="o">)</span>
</pre>
<p>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.</p>
<h2>Exigences</h2>
<ul>
<li>Python3</li>
<li>
<br>
</li>
</ul>
<div align="left">
  <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg" height="100" alt="python logo">
</div>

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "motipy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Coding Team",
    "author_email": "codingteam@telegmail.com",
    "download_url": "https://files.pythonhosted.org/packages/db/56/109e0fa0302130786b5d282253ae71e7a3286dbb4609eff239a396ce16f7/motipy-2.0.0.tar.gz",
    "platform": null,
    "description": "<h1>MotiPy</h1>\n<p>Un package Python qui g\u00e9n\u00e9re des messages de motivation</p>\n<h2>Installation</h2>\n<p>Installez le package \u00e0 l'aide de <code>pip</code> :</p>\n<pre lang=\"bash\">pip<span class=\"w\"> </span>install<span class=\"w\"> </span>motipy\n</pre>\n<h2>Utilisation</h2>\n<p>Importez le package dans votre script Python et appelez la fonction moty() pour obtenir des informations int\u00e9ressantes :</p>\n<pre lang=\"bash\">import<span class=\"w\"> </span>motipy\nfrom<span class=\"w\"> </span>motipy.motipy<span class=\"w\"> </span>import<span class=\"w\"> </span>moty\n\n<span class=\"c1\"># Cr\u00e9ez le g\u00e9n\u00e9rateur de messages de motivation</span>\n<span class=\"nv\">motivation</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span>moty<span class=\"o\">()</span>\n\n<span class=\"c1\"># Obtenez les messages de motivation \u00e0 l&#39;aide de la fonction next()</span>\n<span class=\"nv\">message1</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span>next<span class=\"o\">(</span>motivation<span class=\"o\">)</span>\nprint<span class=\"o\">(</span>message1<span class=\"o\">)</span>\n\n<span class=\"nv\">message2</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span>next<span class=\"o\">(</span>motivation<span class=\"o\">)</span>\nprint<span class=\"o\">(</span>message2<span class=\"o\">)</span>\n\n<span class=\"nv\">message3</span><span class=\"w\"> </span><span class=\"o\">=</span><span class=\"w\"> </span>next<span class=\"o\">(</span>motivation<span class=\"o\">)</span>\nprint<span class=\"o\">(</span>message3<span class=\"o\">)</span>\n</pre>\n<p>Chaque appel \u00e0 next(motivation_generator) renverra le message de motivation suivant dans la liste m\u00e9lang\u00e9e. Vous pouvez ainsi obtenir autant de messages de motivation que vous le souhaitez en utilisant next() \u00e0 chaque nouvel appel.</p>\n<h2>Exigences</h2>\n<ul>\n<li>Python3</li>\n<li>\n<br>\n</li>\n</ul>\n<div align=\"left\">\n  <img src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg\" height=\"100\" alt=\"python logo\">\n</div>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Un package Python pour obtenir des messages de motivation.",
    "version": "2.0.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "243c841a3f26b5599e26d46028f35ef114c49e9d464db853bd3449e17b448d82",
                "md5": "6336bccab56afc883d3cb8261d86d66e",
                "sha256": "6f5d85968fb4fa63b4d6377e875931024d75ce746b116761502893a238fe3d2a"
            },
            "downloads": -1,
            "filename": "motipy-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6336bccab56afc883d3cb8261d86d66e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 8203,
            "upload_time": "2023-07-29T10:51:44",
            "upload_time_iso_8601": "2023-07-29T10:51:44.586382Z",
            "url": "https://files.pythonhosted.org/packages/24/3c/841a3f26b5599e26d46028f35ef114c49e9d464db853bd3449e17b448d82/motipy-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db56109e0fa0302130786b5d282253ae71e7a3286dbb4609eff239a396ce16f7",
                "md5": "3f54bd8e73b0df378824eff4df5a8f5f",
                "sha256": "b4d8791dd89eaece7d4b222490fd728dc42aad048abc064e828d15ba73f27ff2"
            },
            "downloads": -1,
            "filename": "motipy-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3f54bd8e73b0df378824eff4df5a8f5f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9300,
            "upload_time": "2023-07-29T10:51:46",
            "upload_time_iso_8601": "2023-07-29T10:51:46.241014Z",
            "url": "https://files.pythonhosted.org/packages/db/56/109e0fa0302130786b5d282253ae71e7a3286dbb4609eff239a396ce16f7/motipy-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-29 10:51:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "motipy"
}
        
Elapsed time: 0.13777s