semvec/pypi-packages huggingface dataset:
motipy 2.0.0
Un package Python pour obtenir des messages de motivation.
License: MIT
Requires Python: >=3.7

<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>
find-dict-path 0.0.1
An Pythonic Dictionary path generator
License: MIT
Requires Python: >=3.5

# Pyhtonic Dictionary Path Generator
A package used to the get the Full Pythonic Dictionary Path of the Search key .

## How to use

To install the package

```Bash
pip install find-dict-path
```

_After installing the package use following import:_ <br>

```Python
from find_dict_path import Find_Dict_Path

search_key_from_dict = {"full name":"Brendan Stiedemann","address":{"street":{"colony":"Reinger Inc","extra_info":[{"date":"2023-05-06"},{"uuid":"6eca8033-ba89-4db2-bdb1-c2e0a4f6e0e6"},{"phone":"615-335-1131"}]}}} 

search_key = 'phone'

search_path_finder_from_dict = Find_Dict_Path()

full_path = search_path_finder_from_dict.get_full_path(search_key_from_dict,search_key)

print(full_path)

#['address']['street']['extra_info'][2]['phone']
 
```

_If you wants to get path in every occurrence of the list within dictionary then we can use `find_first_occurance=False` by default it is set as True_ <br>

```Python
full_path = search_path_finder_from_dict.get_full_path(search_key_from_dict,search_key,find_first_occurance=False)

print(full_path)

#['address']['street']['extra_info'][*]['phone'] 
```

> **_NOTE:_**  In output path [*] represent the List is present.