Skip to main content

catalogpy :)

PyPI Version Total Downloads License

Chose the language

Documentazione in italiano

catalogpy è una libreria che ti permette di ordinare le tue stringhe, e mantenere il tuo codice più pulito!

Installazione

Come installarlo? Semplice basta usare pip!

pip install catalogpy

Funzionalità e Utilizzo

Ogni funzione è progettata per eseguire un'operazione specifica. Puoi importare e usare solo le funzioni di cui hai bisogno.

elencation(words, min, max, text)

Ordina le parole in ordine alfabetico e le restituisce in una stringa, filtrate per lunghezza.

words = ["mela", "kiwi", "banana", "arancia"]
elencation(words, min=4, max=6)
# Output:
# ['kiwi', 'mela']

ordination(start, words, min, max, text)

Restituisce una lista di stringhe in ordine alfabetico numerandole. Modificando il parametro start è possibile decidere da che numero iniziare a numerare la lista di parole di default è impostato su 1.

words = ["mela, "kiwi", "banana", "arancia"]
print(ordination(4, words, min=4, max=6)
# Output:
# ['4. kiwi', '5. mela']

unique_words(ord, words, min, max, text)

Restituisce un elenco di parole uniche, rimuovendo i duplicati. Le parole vengono filtrate e se vuoi usando il parametro ord puoi decidere se ordinare in ordine alfabetico le parole di default il parametro è su False.

words = ["gatto", "cane", "gatto", "topo", "cane"]
unique_words(True, words)
# Output:
# ['cane', 'gatto', 'topo']

#Licenza Questo progetto è distribuito sotto licenza GNU GPL v3. Consulta file LICENSE per dettagli.


Documentation in english

catalogpy is a library that allow to you to order your string, and mantain clean your code!

Installation

How to dowload it? It's simple just use pip!

pip install catalogpy

Funtionalities and utility

Each function is designed to execute an a specific operation. You can import and use only the function that you need.

elencation(words, min, max, text)

Order the word in alphabetical order and return them into a string, you can also filter the word by lenght.

words = ["mela", "kiwi", "banana", "arancia"]
elencation(words, min=4, max=6)
# Output:
# ['kiwi', 'mela']

ordination(start, words, min, max, text)

Return a list of string in alphabetical order numbering them. If you modify the start parameter it's possible modify from what number start the counter that is 1 in default.

words = ["mela, "kiwi", "banana", "arancia"]
print(ordination(4, words, min=4, max=6)
# Output:
# ['4. kiwi', '5. mela']

unique_words(ord, words, min, max, text)

Return an list of unique words remove al the duplicates. The words are filtered and if you want with the ord parameter you can order in alphabetical order the words, the parameter is False as default.

words = ["gatto", "cane", "gatto", "topo", "cane"]
unique_words(True, words)
# Output:
# ['cane', 'gatto', 'topo']

#License

This project is under the GNU GPL v3 license. Read then file LICENSE for more info.

Metadata

Release files for catalogpy 1.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for catalogpy 1.9.4
File Size Uploaded Provenance
catalogpy-1.9.4.tar.gz 16.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for catalogpy 1.9.4
File Interpreter ABI Platform
catalogpy-1.9.4-py3-none-any.whl Python 3 none any Details

Total release size: 34.1 kB

Release files / catalogpy-1.9.4.tar.gz

Download URL catalogpy-1.9.4.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2d924cf484806e01c1cd32dbd551221bc05ee24c4e9d15a6a6362a71c25e6512
BLAKE2b-256 checksum
How to use checksums
8e52397680f6bda29f062862550e57ac4287ebe705eb938259ad265061b80b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / catalogpy-1.9.4-py3-none-any.whl

Download URL catalogpy-1.9.4-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0479cc5a3611f77a14d5088d8a5c68ed63b4ba66aac04be49af7cb2d98afa3e
BLAKE2b-256 checksum
How to use checksums
10aaebfe3ce07b8fbdb1f71ba3cc0bf0b61e740867ce67bb1a742099273165a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for catalogpy 1.9.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page