catalogpy 1.0__tar.gz

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.
catalogpy-1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Gabriele Della Fazia Ristori
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.
catalogpy-1.0/PKG-INFO ADDED
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: catalogpy
3
+ Version: 1.0
4
+ Summary: Libreria per ordinare testi stringhe e liste
5
+ Home-page: https://github.com/Gabinan890/catalogpy
6
+ Author: Gabriele Della Fazia Ristori
7
+ Author-email: gabriele.ristori.0110@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: license-file
21
+ Dynamic: requires-python
22
+ Dynamic: summary
23
+
24
+ # Questa libreria è una PROVA, quindi non criticare. Grazie :)
25
+ Questa libreria è fatta per ordinare stringhe testi e liste in modo più veloce e diretto!
26
+ Per ora c'è solo una funzione: ```elencation()``` che ti permette di elencare le varie parole che scriverai nell'input quando esegui il codice
@@ -0,0 +1,3 @@
1
+ # Questa libreria è una PROVA, quindi non criticare. Grazie :)
2
+ Questa libreria è fatta per ordinare stringhe testi e liste in modo più veloce e diretto!
3
+ Per ora c'è solo una funzione: ```elencation()``` che ti permette di elencare le varie parole che scriverai nell'input quando esegui il codice
@@ -0,0 +1 @@
1
+ from catalog import elencation, ordination
@@ -0,0 +1,19 @@
1
+ def elencation():
2
+ lista = []
3
+ inp = input("Dammi delle parole e te la metto in ordine alfabetico\n")
4
+ inlista = inp.split()
5
+ for i in inlista:
6
+ lista.append(i)
7
+ lista.sort()
8
+ return "\n".join(lista)
9
+
10
+ def ordination():
11
+ ind = input("Dammi delle parole e te le metto in ordine alfabetico e numerate:\n")
12
+ parole = ind.split()
13
+ parole.sort()
14
+
15
+ risultato = []
16
+ for i, parola in enumerate(parole, start=1):
17
+ risultato.append(f"{i}. {parola}")
18
+
19
+ return "\n".join(risultato)
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: catalogpy
3
+ Version: 1.0
4
+ Summary: Libreria per ordinare testi stringhe e liste
5
+ Home-page: https://github.com/Gabinan890/catalogpy
6
+ Author: Gabriele Della Fazia Ristori
7
+ Author-email: gabriele.ristori.0110@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.8
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: license-file
21
+ Dynamic: requires-python
22
+ Dynamic: summary
23
+
24
+ # Questa libreria è una PROVA, quindi non criticare. Grazie :)
25
+ Questa libreria è fatta per ordinare stringhe testi e liste in modo più veloce e diretto!
26
+ Per ora c'è solo una funzione: ```elencation()``` che ti permette di elencare le varie parole che scriverai nell'input quando esegui il codice
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ setup.py
4
+ catalogpy/__init__.py
5
+ catalogpy/catalog.py
6
+ catalogpy.egg-info/PKG-INFO
7
+ catalogpy.egg-info/SOURCES.txt
8
+ catalogpy.egg-info/dependency_links.txt
9
+ catalogpy.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ catalogpy
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
catalogpy-1.0/setup.py ADDED
@@ -0,0 +1,20 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='catalogpy',
5
+ version='1.0',
6
+ description='Libreria per ordinare testi stringhe e liste',
7
+ long_description=open('README.md', encoding='utf-8').read(),
8
+ long_description_content_type='text/markdown',
9
+ author='Gabriele Della Fazia Ristori',
10
+ author_email='gabriele.ristori.0110@gmail.com',
11
+ url='https://github.com/Gabinan890/catalogpy',
12
+ packages=find_packages(),
13
+ install_requires=[],
14
+ classifiers=[
15
+ 'Programming Language :: Python :: 3',
16
+ 'License :: OSI Approved :: MIT License',
17
+ 'Operating System :: OS Independent',
18
+ ],
19
+ python_requires='>=3.8',
20
+ )