nomabo 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nomabo/__init__.py +6 -0
- nomabo/outils.py +13 -0
- nomabo-0.1.0.dist-info/METADATA +51 -0
- nomabo-0.1.0.dist-info/RECORD +7 -0
- nomabo-0.1.0.dist-info/WHEEL +5 -0
- nomabo-0.1.0.dist-info/licenses/LICENSE +21 -0
- nomabo-0.1.0.dist-info/top_level.txt +1 -0
nomabo/__init__.py
ADDED
nomabo/outils.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Fonctions utilitaires de nomabo."""
|
|
2
|
+
|
|
3
|
+
PI = 3.14159
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def saluer(nom):
|
|
7
|
+
"""Renvoie un message de bienvenue."""
|
|
8
|
+
return f"Bonjour, {nom} !"
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def aire_cercle(rayon):
|
|
12
|
+
"""Renvoie l'aire d'un cercle de rayon donné."""
|
|
13
|
+
return PI * rayon ** 2
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nomabo
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Ma bibliothèque Python nomabo
|
|
5
|
+
Author-email: Ton Nom <toi@exemple.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Ton Nom
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/ton-nom/nomabo
|
|
29
|
+
Requires-Python: >=3.9
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Dynamic: license-file
|
|
33
|
+
|
|
34
|
+
# nomabo
|
|
35
|
+
|
|
36
|
+
Ma bibliothèque Python.
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
pip install git+https://github.com/ton-nom/nomabo.git
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Utilisation
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
from nomabo import saluer, aire_cercle
|
|
48
|
+
|
|
49
|
+
print(saluer("Marie"))
|
|
50
|
+
print(aire_cercle(2))
|
|
51
|
+
```
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
nomabo/__init__.py,sha256=viPa5OTb63eux00O3BIqqul4fyN17_2CWbl-8-tEIYA,140
|
|
2
|
+
nomabo/outils.py,sha256=TEGkRKHdBd49S00ktvtUCVl6rzfSeps5xv4wfFZ93kw,253
|
|
3
|
+
nomabo-0.1.0.dist-info/licenses/LICENSE,sha256=CcLWl858JxQzaLrUQH4pAUaLpO8G9nMZ37ZSISI01NE,1064
|
|
4
|
+
nomabo-0.1.0.dist-info/METADATA,sha256=9oAkut3awTHjWxtyQjzWc8ahlWYx0pMljy83OdXY2jU,1772
|
|
5
|
+
nomabo-0.1.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
6
|
+
nomabo-0.1.0.dist-info/top_level.txt,sha256=9xLgx91cK5IEBqfx3-tFJgARBSyvUDQMTITLHZwn2kA,7
|
|
7
|
+
nomabo-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ton Nom
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nomabo
|