Skip to main content

Evlet

Evlet is a Python application framework. Define your models in Python and get forms, lists, permissions and APIs in the browser. SQLite is the default; PostgreSQL is optional.

Install, create a site, open it

Use Python 3.12 or newer in a virtual environment:

python -m pip install --upgrade evlet
evlet setup myproject --app notes --instance acme --dev

That one command creates the project, a Notes app and a site called acme, installs the app and starts evlet dev on 127.0.0.1. Read the trust prompt first. The server prints a one-time sign-in link for a new administrator. Your site keeps its data when you stop and restart it; run the same command again to pick up where it stopped.

The same steps one at a time:

evlet setup myproject
cd myproject
evlet app notes
evlet instance acme
evlet install notes --instance acme
evlet serve acme

Then open http://127.0.0.1:8000 and create your first administrator. There is no default password. To serve a site on your own domain behind Caddy, see Serve a site on a domain in one go.

An app contains reusable Python code. An instance is a site with its own database, accounts and files. You can install the same app on several instances. The package includes the browser UI, Playground and offline guides. Node is not needed to create or serve Python-only apps. App-owned native TS/JS extensions need Node 24 when building their assets.

The declarative app guide covers flat app packages, owned child tables, reactive fields, dialogs, reports, services and native additions. Finite calculations describe the finite-v1 formula language, nested owned tables and the shared Python/browser calculation engine. States, moves and model actions describe document states, locks and actions with validated inputs. Document numbers describe Sequence fields and naming series. Measures describe exact aggregates, declared model measures and their HTTP routes. Model meaning describes key fields, related records and attachment limits. Effects describe the rows a document posts to other models when it enters a state. The Journal describes each record's append-only history, notes and follow ups, and its tamper-evident hash chain.

For virtual environment setup and each step explained, read Your first site.

Build your app

  • What you can customize: models, lists, pages, actions, permissions and migrations, with examples from the Notes starter.
  • CLI guide: projects, app sources, instances, trust and deployment boundaries.
  • Upgrade or retire an app: the supported workflow today, backups and moving a project.
  • Model engine and business capabilities: database queries, accounts, child rows, actions and private attachments.
  • UI guide: the browser interface and its routes.
  • Reports: filters, typed rows, totals, a chart, CSV export and print, in the browser and for Eva.
  • Slips: forms presented from code that save nothing until handed in.
  • Routing: frontends, reserved paths, routes.py and evlet routes.
  • API stability: the names apps can rely on, deprecations and what is internal.
  • UI framework: Evlet's own browser framework and components.

evlet dev --instance acme reloads Python changes while you work. At startup it prints a one-time sign-in link, so you can skip the sign-in form. Stop the server and run evlet migrate acme when a model change needs a migration.

Explore without a project

evlet playground
evlet docs

The Playground uses temporary demo data. Use an instance for records you want to keep. Offline documentation opens at http://127.0.0.1:8001.

evlet playground prints a sign-in link when it starts:

Sign in as demo-admin (works once, for 10 minutes):
  http://127.0.0.1:8000/_dev/signin?token=...

Open it to sign straight in. On an instance with no accounts, evlet dev first creates an admin named admin (--user NAME picks another name) with a random password that is never shown; on an empty Playground it is demo-admin. Set a real password later with evlet users set-password. Run evlet dev-link in another terminal for a fresh link once the first one is used or expired. Use --user NAME to sign in as someone else, or --no-link to skip the link. Links exist only under evlet playground and evlet dev, never under evlet serve; see development sign-in links.

Optional capabilities

PostgreSQL, S3 and PDF printing are available as evlet[postgres], evlet[s3] and evlet[print] (print designs). The existing tenant deployment, jobs and live updates, connector, Tool Engine, Eva, PostgreSQL and operations guides describe their limits. No database server, Redis, Docker or worker is required for a local SQLite app.

Work on Evlet itself

See the contributor guide for a source checkout, frontend builds and package checks. Milestone notes record the completed backend work. Development builds use a .dev0 version so they can be distinguished from published packages. This branch contains unreleased fixes.

License

Evlet uses the MIT License.

Metadata

Release files for evlet 0.4.1

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

Source distribution (sdist)

Source distribution for evlet 0.4.1
File Size Uploaded Provenance Actions
evlet-0.4.1.tar.gz 3.0 MB Without provenance Details for evlet-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 5.0 MB

Release files / evlet-0.4.1.tar.gz

Download URL evlet-0.4.1.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
e694e96c285c2cdc6e80ece698e245829f3c17ca442173ecaed341acfb34a1f0
BLAKE2b-256 checksum
How to use checksums
68c59a1033430a029a6310c0f4f7827ea1a1b08f903457d3fd2017ead01dd931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / evlet-0.4.1-py3-none-any.whl

Download URL evlet-0.4.1-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9888100a7d9c90ac98c954f49a008dc721d38876fbcbb2a34c175bcb1bfa2c1d
BLAKE2b-256 checksum
How to use checksums
5ce9e275b7a0fe0e2e902d06d0034db7abf2aee63451c997c21b2843ae4faecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for evlet 0.4.1

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