Zompi
Un generatore di documentazione Python-centrico con temi modulari
Installa Zompi
Per installare Zompi, digita nel terminale:
pip install zompi
E controlla che sia installato:
zompi -v
Se dá output, allora hai installato correttamente Zompi, altrimenti prova python -m zompi.cli o reinstalla Zompi.
Crea una pagina di documentazione
Crea un file, ad esempio lorem_ipsum.py e scrivici:
from zompi.page import BasePage
import zompi.contrib
class Page(BasePage):
PAGE_TITLE = "Lorem Ipsum"
def __init__(self):
return zompi.contrib.markdown('''## Testo
Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.''')
def __str__(self):
return BasePage.page(zompi.contrib.DOC, 'Markdown')
Se ti stai chiedendo cosa significa zompi.contrib.DOC, quella constante si riferisce a quel documento, se si usa un'altra variabile, userá un altro documento.
Se non vuoi copiare questo file esempio, digita nel terminale zompi new nomefile.py, che creerá per te un file vuoto.
Aggiungere un tema
Per aggiungere un tema, all'inizio di una pagina inserisci inserisci:
from modulotema import Theme
from zompi.theme import use
e nella classe della pagina (preferibilmente in __init__()) inserite:
use(Theme)
Ricorda che di defalut Zompi usa il tema Sonzi (ovvero zompi.theme.sonzi)
Convertire in HTML
Per convertire in HTML, digita nel terminale:
zompi convert nomefile.py
Convertirá in HTML velocemente il file.
Altri pacchetti
Guarda anche DeWeb e utiilityes
Versioni nuove, supportate e EOL
| Versione | Stato | Note |
|---|---|---|
| 0.1.x | Nuova | — |
Metadata
Release files for zompi 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zompi-0.1.3.tar.gz | 6.3 kB | With provenance | Details for zompi-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zompi-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for zompi-0.1.3-py3-none-any.whl |
Total release size: 13.2 kB
Release files / zompi-0.1.3.tar.gz
| Download URL | zompi-0.1.3.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df6ee7255ca806ca8ef431311b60af2e44dacfef27ddc5e6bce9f694c143abc9
|
|
BLAKE2b-256 checksum How to use checksums |
d852b428b04f2b8307b35857cb222fa6d8432e7d13f549bcf97fb05f64a90789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logRelease files / zompi-0.1.3-py3-none-any.whl
| Download URL | zompi-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b3aa7fc7a821f2ed701907af60a4c151067a303f39092c1df608ccac9e19ff7
|
|
BLAKE2b-256 checksum How to use checksums |
f55e4cb19c3a9950f95a1c7de37eaa0b044c21e9668963f900ffcad70b76a287
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logSecurity for zompi 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zompi-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logA 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.