Phzyx Forge — Pydantic schema, failsafe migrations, ORM, AdminBoard, CLI. Docs: https://phzyx.xyz/forge
Project description
Phzyx Forge
The Phzyx data stack in one install — Pydantic schema, failsafe migrations, dual sync/async ORM, AdminBoard, and the phzyx CLI.
Define once in Pydantic. Push or migrate safely. Ship AdminBoard without bolting on a second product.
Start here (website & docs)
PyPI is only the install surface. Full guides, tutorials, performance story, and product home live on the Phzyx site:
| Product home | https://phzyx.xyz |
| Docs (Forge) | https://phzyx.xyz/forge |
| Getting started | https://phzyx.xyz/forge/getting-started |
| Quickstart tutorial | https://phzyx.xyz/forge/tutorials/quickstart |
| AdminBoard | https://phzyx.xyz/products/adminboard |
| Python / install | https://phzyx.xyz/python |
| Performance | https://phzyx.xyz/performance |
| Source | https://github.com/phzyxyz/forge |
| Issues | https://github.com/phzyxyz/forge/issues |
If you only open one page after install → phzyx.xyz/forge/getting-started.
Install
uv add phzyx-forge
# or
pip install phzyx-forge
That is the full product for local work: schema · engine · ORM · AdminBoard (FastAPI + SPA) · CLI · SQLite (aiosqlite included).
FastAPI is required for the default AdminBoard path (included as a dependency). Forge is built to complete the FastAPI-era feature set — stay on the API stack you chose instead of switching frameworks only for admin/batteries.
phzyx --help
# Greenfield: create folder + scaffold
phzyx new myapp --preset max
# Existing FastAPI app: scaffold in this directory
phzyx forge init --yes --preset max
| CLI | When |
|---|---|
phzyx new NAME |
New project directory |
phzyx forge init |
Scaffold here |
phzyx add auth|admin |
One wiring file only (not install) |
Full CLI docs: phzyx.xyz/forge/cli.
Extras (when you need them)
| Extra | Adds |
|---|---|
| (core) | Full Forge + SQLite |
postgres |
Postgres drivers |
mysql |
MySQL / MariaDB driver |
mssql |
SQL Server driver |
auth |
phzyx-auth battery |
cache |
phzyx-cache battery |
litestar |
Litestar Admin adapter |
full |
Every driver + auth + cache + Litestar |
uv add 'phzyx-forge[postgres]'
uv add 'phzyx-forge[auth]'
uv add 'phzyx-forge[full]'
Already installed Forge? Same commands merge extras — nothing to uninstall.
Quick taste
from phzyx.schema.model import Model
from phzyx.orm import Session
from phzyx.admin.fastapi import AdminBoard
# Prefer the full walkthrough:
# https://phzyx.xyz/forge/getting-started
Imports stay under phzyx.* — one brand, one mental model.
What you get
- Schema — Pydantic models as source of truth
- Engine — push / migrate with failsafe-minded workflow
- ORM — dual sync + async sessions
- AdminBoard — intentional admin API + SPA (not a bolt-on afterthought)
- CLI —
phzyx new,phzyx db push, doctor, presets
Pre-1.0: APIs may evolve. Prefer a lockfile (uv.lock); read the site for the current story.
Where to go next
- Getting started — first app path
- Forge docs hub — guides & reference
- AdminBoard — operator UI
- GitHub forge — source, issues, releases
License
MIT · Athul Nandaswaroop · phzyx.xyz
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phzyx_forge-0.1.1.tar.gz.
File metadata
- Download URL: phzyx_forge-0.1.1.tar.gz
- Upload date:
- Size: 339.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85e3ba66dfee5add17f72b7d1d2eaa964c65c50754d78db7d555c48160768a1c
|
|
| MD5 |
a1fa71390f3207276d36fd07ffff9e11
|
|
| BLAKE2b-256 |
18f08b04a4fa93939fe4e886e5d700e28e45c52ef91206556345451ad455b9a3
|
Provenance
The following attestation bundles were made for phzyx_forge-0.1.1.tar.gz:
Publisher:
publish.yml on phzyxyz/forge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phzyx_forge-0.1.1.tar.gz -
Subject digest:
85e3ba66dfee5add17f72b7d1d2eaa964c65c50754d78db7d555c48160768a1c - Sigstore transparency entry: 2270076916
- Sigstore integration time:
-
Permalink:
phzyxyz/forge@2b0de8bbd47ad6563bb700115c2aa67073f4e403 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/phzyxyz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2b0de8bbd47ad6563bb700115c2aa67073f4e403 -
Trigger Event:
push
-
Statement type:
File details
Details for the file phzyx_forge-0.1.1-py3-none-any.whl.
File metadata
- Download URL: phzyx_forge-0.1.1-py3-none-any.whl
- Upload date:
- Size: 393.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a71bf384842fa827ac36d359fa426c8a095f728fc8abbf7ab7c554cc853f01
|
|
| MD5 |
a0fcd9729ff087b3642d524f03bf246e
|
|
| BLAKE2b-256 |
c19e514f4efbda14e04f98a00d4d1766025012390b8708bb32dce70084774d48
|
Provenance
The following attestation bundles were made for phzyx_forge-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on phzyxyz/forge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phzyx_forge-0.1.1-py3-none-any.whl -
Subject digest:
18a71bf384842fa827ac36d359fa426c8a095f728fc8abbf7ab7c554cc853f01 - Sigstore transparency entry: 2270077301
- Sigstore integration time:
-
Permalink:
phzyxyz/forge@2b0de8bbd47ad6563bb700115c2aa67073f4e403 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/phzyxyz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2b0de8bbd47ad6563bb700115c2aa67073f4e403 -
Trigger Event:
push
-
Statement type: