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

Every instance has a built-in System Administrator (username administrator) with no password. evlet serve tells you to set one with evlet users set-password acme administrator; then open http://127.0.0.1:8000 and sign in. 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 and evlet dev print a sign-in link for the built-in Administrator when they start:

The administrator account has no password yet. Open this link to sign in and choose one (works once, for 10 minutes):
  http://127.0.0.1:8000/_dev/signin?token=...

Open it, choose a password on the "Set your password" screen and, when admins need two-step sign-in, set up your authenticator app. Once the Administrator has a password the link just signs you in. 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.

The sign-in rules live in the instance's config.py: Security(password_min=..., admin_two_step=..., two_step=..., admin_sign_in=...). password_min=1 allows any password, which is handy on a development instance. Admins always follow config.py; Controls can change the rules for everyone else (controls.md).

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.2

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.2
File Size Uploaded Provenance Actions
evlet-0.4.2.tar.gz 3.0 MB Without provenance Details for evlet-0.4.2.tar.gz

Built distribution (wheel)

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

Total release size: 5.0 MB

Release files / evlet-0.4.2.tar.gz

Download URL evlet-0.4.2.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
05fd584deecb54d19690d37d94ae7ee330669b5695947153ed027514cb37ebaa
BLAKE2b-256 checksum
How to use checksums
4a4bffc9a5b362950a581729b60746207fc41a15e3476eecfbbc4c0b0c076fdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

Download URL evlet-0.4.2-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2c50db1d6919c0e19e8a48c3dd2336ec75ef44bc462c596486e594b4ef672bbf
BLAKE2b-256 checksum
How to use checksums
62f811d744ad76764ba49f90b51eb5ad2c092d561a80874a1fa4aa35722c2504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for evlet 0.4.2

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