Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

half-orm-gen

⚠️ Alpha — not for production.
This project is under active development. APIs, generated code structure, and CLI commands may change without notice between releases. Do not use in production environments.

A halfORM extension that generates a Litestar REST API and a frontend backoffice (SvelteKit 5 or Angular) from your half-orm-dev project.

Installation

pip install half-orm-gen

API

half_orm gen api --litestar
litestar --app ho_api/app:application run --reload

Frontend backoffice

# SvelteKit 5
half_orm gen frontend --svelte
cd ho_frontend/svelte && npm install && npm run dev

# Angular
half_orm gen frontend --angular
cd ho_frontend/angular && npm install && npm start

Contributing

We are looking for contributors with expertise in:

  • Angular — improve generated components, routing, and state management
  • SvelteKit — improve generated stores, layouts, and page components
  • Litestar — improve the dynamic runtime, middleware, and OpenAPI integration

See CONTRIBUTING.md for how to set up a development environment and the areas where help is most needed.


Documentation

Authentication

  • Overview — authentication vs authorization, env vars, file map
  • Local authenticationidentity.user, local_auth.py, HS256/RS256 signing
  • Federation — sharing identities across independently-deployed peers

Backend

Frontend (shared)

Angular

  • Access control — reactive buttons, FK auto-resolve, dynamic roles, simulation

Svelte

Internals — half-orm-gen's own implementation, for maintaining/extending the generator itself


See also

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

half_orm_gen-1.0.0a5.tar.gz (559.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

half_orm_gen-1.0.0a5-py3-none-any.whl (614.4 kB view details)

Uploaded Python 3

File details

Details for the file half_orm_gen-1.0.0a5.tar.gz.

File metadata

  • Download URL: half_orm_gen-1.0.0a5.tar.gz
  • Upload date:
  • Size: 559.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for half_orm_gen-1.0.0a5.tar.gz
Algorithm Hash digest
SHA256 5074236b615bca12876be949cfbfd82c57b75f08cedd7e4217523b35df3b2841
MD5 1c47f159b7a700a3ea3140860a89b5ea
BLAKE2b-256 e9468a7eb34315eef2e79e68d1ba0c94cb8516d8dd6404f632733457b7040808

See more details on using hashes here.

File details

Details for the file half_orm_gen-1.0.0a5-py3-none-any.whl.

File metadata

  • Download URL: half_orm_gen-1.0.0a5-py3-none-any.whl
  • Upload date:
  • Size: 614.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for half_orm_gen-1.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 70a97373341a49351b6e96973983a0210da60178d50743eab715e245fb212e79
MD5 a334a6ed59b6f4f1a9878b003491f367
BLAKE2b-256 96bbca08fadfa54573b3d54d9baad3ea1fecd41223880976180f9bc83122f4d2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0a5 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page