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. It runs on SQLite, with no database server to set up. Another database can be added later through one adapter boundary (database adapters).

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 admin) with no password. evlet serve tells you to set one with evlet users set-password acme admin; 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, build or serve apps: browser behaviour an app adds is a model script, one plain JavaScript file served as it is.

The declarative app guide covers flat app packages, owned child tables, reactive fields, prompts, 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. Activity 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.
  • Prompts: the form an action opens, and bound records in Python.
  • Model scripts: browser behaviour a model cannot declare, in one JavaScript file.
  • 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 admin 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

S3 and PDF printing are available as evlet[s3] and evlet[print] (print designs). The existing tenant deployment, jobs and live updates, connector, Tool Engine, Eva, database adapters 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.14

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.14
File Size Uploaded Provenance Actions
evlet-0.4.14.tar.gz 3.2 MB Without provenance Details for evlet-0.4.14.tar.gz

Built distribution (wheel)

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

Total release size: 5.4 MB

Release files / evlet-0.4.14.tar.gz

Download URL evlet-0.4.14.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
01fd139cf544d9a5969168b358f4cdc38dee9bf5f48434cfd0a60d8b6441ceac
BLAKE2b-256 checksum
How to use checksums
c439579cb51fef747a676b8d0e5fb01672bfa5eec2b676dde63656c228f0639e
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.14-py3-none-any.whl

Download URL evlet-0.4.14-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b025b9470b34b0d752460f1f1cca9b1d88f15210bc7076693e0c1ebc6ab4fb0b
BLAKE2b-256 checksum
How to use checksums
c36a47f7766ea251a7e4d55635fa577ead099b7a062e6d4253017b4872723e16
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.14

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