PWIZ(1)
π PWIZ β the peewee model generator, bestie edition π
okay so. this is the manual page for pwiz, aka the peewee model generator β¨ it's giving "point me at a database and I'll write your models for you" and honestly? iconic.
πΈ NAME πΈ
pwiz β peewee model generator π
β¨ SYNOPSIS β¨
pwiz [options] database_name
π OPTIONS π
bestie, here's the whole roster. every single one. no skipping, we don't do that here π
-h,--helpβ shows this help message and then dips out (exits). your classic escape hatch π«Ά-H HOST,--host=HOSTβ the host. the manpage gives us literally no description here, so she stays mysterious π-p PORT,--port=PORTβ the port. also undescribed. also mysterious. we respect her privacy π-u USER,--user=USERβ the user. again, no blurb in the original. just vibes β¨-P,--passwordβ the password flag. still no description. the original is playing hard to get fr fr π-e ENGINE,--engine=ENGINEβ the database type! likesqlite,mysql,postgresqlorcockroachdb. the default is"postgresql". main character engine, no cap π-s SCHEMA,--schema=SCHEMAβ the schema. yes, also description-less. consistency queen π-t TABLES,--tables=TABLESβ only generates the tables you actually named. got multiple? separate them with commas, like a little comma-separated bestie list πΈ-v,--viewsβ generates model classes for yourVIEWs in addition to tables. views said "let me in" and pwiz said okay πͺβ¨-i,--infoβ adds database information and other metadata to the top of the generated file. receipts at the top, love that for us π§Ύπ-o,--preserve-orderβ the model definition's column ordering matches the source table. order preserved, chaos declined π-I,--ignore-unknownβ ignores fields whose type cannot be determined. if we can't figure out the type, we simply pretend we didn't see it π-L,--legacy-namingβ uses the legacy table- and column-name generation. retro era activated π¦
heads up bestie: a bunch of these flags ship with zero description in the original page, and I'm not about to make stuff up about them. what you see is what's there ππ«Ά
π that's the whole page π
pwiz lives at version 3.18.3+dfsg and this page is dated March 2026 β so yeah, she's fresh, she's documented, she's slaying. go generate some models, bestie. periodt π
β¨π
π¦ where this page comes from
- ubuntu resolute: peewee 3.18.3+dfsg-1build1 Β· MIT
- ubuntu stonking: peewee 3.18.3+dfsg-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms