Skip to main content

High-level web framework

Reason this release was yanked:

typo in new decorator

Project description

Fastlife

Documentation Continuous Integration Coverage Report Maintainability

⚠️ Under Heavy Development Please note that this project is still in active development. Features and APIs may change frequently. Even the name is not definitive.

An opinionated Python web framework (based on {term}FastAPI).

Purpose

Fastlife helps at building Web Application with session, security, html test client, and html form generated from pydantic schema using customizable widget.

Hypermedia based

In Fastlife, templates are made using {term}XComponent. It's a modern HTML template made to create template with components.

Those components are currently stylized by {term}Tailwind CSS, using pytailwindcss.

Even if it is not used by fastlife, it has been made to be used with {term}HTMX.

First class configuration.

Fastlife is adding a "Configurator", like {term}Pyramid to get a better scallable codebase.

The configurator in fastlife organizes configuration settings hierarchically, enabling easy management and overriding at different levels. This promotes modularity and clarity in application configuration, making it simpler to maintain and scale your project.

Auto generated HTML Form.

Fastlife generate HTML Form from pydantic models, default widgets depending on the type of the model's field but customizable to get the expected results.

It allows fast development of form to get early prototype to focus on what matter the most.

Tests

Fastlife comes with a test client that can interact with html inside unit tests.

API

It also comes with an opinionated API wrapper made to enforce documentation consistency. Under the wood, it's a FastAPI application made for writing API.

Try it

The package is available on pypi with the name fastlifeweb.

pip install "fastlifeweb[xcomponent]"

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

fastlifeweb-0.38.0.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

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

fastlifeweb-0.38.0-py3-none-any.whl (114.0 kB view details)

Uploaded Python 3

File details

Details for the file fastlifeweb-0.38.0.tar.gz.

File metadata

  • Download URL: fastlifeweb-0.38.0.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.26.3 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for fastlifeweb-0.38.0.tar.gz
Algorithm Hash digest
SHA256 272c49a62a8169dcfb61b70d041c52110db5234a4a35458f1473855cc1cea1eb
MD5 dd06500d81bd4f0b4fed8418667f196b
BLAKE2b-256 470448c3db223814382f41d514ecce5cb8a94f8e31bbef0f6b416c39874c2776

See more details on using hashes here.

File details

Details for the file fastlifeweb-0.38.0-py3-none-any.whl.

File metadata

  • Download URL: fastlifeweb-0.38.0-py3-none-any.whl
  • Upload date:
  • Size: 114.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.26.3 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for fastlifeweb-0.38.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c99d1e00b79d28ced0a8e582937ca64d1e83c9485c22083029d9a89a16a97dea
MD5 f6edba1178c866d7784fcecc833eabb2
BLAKE2b-256 7e95c0a31c8d740d93d41fb755878ca57e682ae5a47df512e5f04d57d67752e0

See more details on using hashes here.

Supported by

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