Skip to main content

About Lila

Lila is a Python framework based on Starlette and Pydantic. Designed for developers seeking simplicity, flexibility, and robustness, it enables efficient and customizable Web or API application development. Its modular structure and support for advanced configurations make it suitable for both beginners and experienced developers.

Acerca de Lila (Español)

Lila es un framework de Python basado en Starlette y Pydantic. Diseñado para desarrolladores que buscan simplicidad, flexibilidad y robustez, permite crear aplicaciones Web o APIs de manera eficiente y personalizable. Su estructura modular y soporte para configuraciones avanzadas lo hacen ideal tanto para principiantes como para desarrolladores experimentados.

Learning Lila

https://seip25.github.io/Lila

Documentación de Lila

https://seip25.github.io/Lila

https://pypi.org/project/lila-framework/

Key Features

  • Simplicity: Intuitive and minimalist design.
  • Flexibility: Support for multiple databases (MySQL, SQLite) and adaptation to various environments.
  • Speed: Built on Starlette, known for its high performance in asynchronous applications.
  • Robust Validation: Uses Pydantic to ensure consistent data.
  • Editable and Configurable: Ready to use but fully customizable.
  • Multi-language Support: Integrated support for multilingual applications.
  • Compatibility: Can be used with frameworks like Next.js, Remix, and others.
  • Easy Migrations: Quick and straightforward database configuration.
  • Jinja2 and HTML Sessions: Ready-to-use with dynamic templates and session handling, while remaining compatible with React, Angular, Vue, and other frontend frameworks.
  • SQLAlchemy :For the ORM or you can also use the connectors directly (mysql.connector, sqlite3, etc...)
  • JWT :It comes integrated with helpers to generate tokens and the middleware already has a function that validates it.
  • Admin Panel: Includes a built-in admin panel for easy management of your application's data and settings.
  • Robust Security: Features IP blocking, URL filtering, and request sanitization to prevent malicious attacks and suspicious requests.
  • REST CRUD Generator: Generate REST APIs with just a few lines of code. Includes field validations and middleware support.

Características principales

  • Simplicidad: Diseño intuitivo y minimalista.
  • Flexibilidad: Soporte para múltiples bases de datos (MySQL, SQLite) y adaptación a diversos entornos.
  • Rapidez: Basado en Starlette, conocido por su alto rendimiento en aplicaciones asíncronas.
  • Validación robusta: Uso de Pydantic para garantizar datos consistentes.
  • Editable y configurable: Todo está listo para usar, pero también es completamente personalizable.
  • Multi-idioma: Soporte integrado para aplicaciones multilingües.
  • Compatibilidad: Puede ser utilizado con frameworks como Next.js, Remix js, entre otros.
  • Migraciones sencillas: Configuración rápida y fácil para bases de datos.
  • Jinja2 y sesiones HTML: Listo para usar con plantillas dinámicas y manejo de sesiones, pero compatible con React, Angular, Vue, entre otros frameworks frontend.
  • SQLAlchemy :Para la ORM o también se puede utilizar los connectores directamente(mysql.connector,sqlite3,etc...)
  • JWT :Viene integrado con helpers para generar token y en el middleware ya viene una función que válida el mismo.
  • Panel de Administración: Incluye un panel de administración integrado para gestionar fácilmente los datos y configuraciones de tu aplicación.
  • Seguridad Robusta: Cuenta con bloqueo de IPs, filtrado de URLs y sanitización de solicitudes para prevenir ataques maliciosos y solicitudes sospechosas.
  • Generador de APIs REST: Genera APIs REST con solo unas pocas líneas de código. Incluye validaciones de campos y soporte para middlewares.

CDN & Style Delivery

Lila features zero-dependency, compiled-free style delivery. The framework uses asset('css/tailwind.css') to automatically load Google Fonts (Outfit & Inter), Tailwind Play CDN, theme configuration, and the custom Lila design system components. Everything compiles in the browser instantly with full support for dark/light themes.


CDN y Entrega de Estilos

Lila no requiere dependencias de Node.js o Vite para procesar el frontend. A través del helper asset('css/tailwind.css'), inyecta dinámicamente Google Fonts (Outfit e Inter), Tailwind Play CDN, configuraciones de tema y la capa de componentes CSS de Lila. Todo se procesa directamente en el navegador, soportando tema oscuro y claro nativamente.


Installation (Instalación)

Installation

English

  1. Install Lila Framework using pip:
   pip install lila-framework
    
  1. Initialize your Lila project:
 lila-init
   
  1. Run application:
   python app.py #Or python3 app.py

Español

  1. Instala Lila Framework usando pip:
   pip install lila-framework
    
  1. Inicializa tu proyecto Lila:
 lila-init
   
  1. Ejecutar aplicación:
   python app.py #Or python3 app.py

Contributions (Contribuciones)

At this stage, all official modifications to the framework will be made only by the original author. However, any feedback or suggestions to improve the project are welcome.

Actualmente, todas las modificaciones oficiales al framework serán realizadas únicamente por el autor original. Sin embargo, se agradece cualquier comentario o sugerencia que pueda mejorar el proyecto.

Donar

Download files

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

Source Distribution

lila_framework-1.2.1.tar.gz (981.3 kB view details)

Uploaded Source

Built Distribution

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

lila_framework-1.2.1-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file lila_framework-1.2.1.tar.gz.

File metadata

  • Download URL: lila_framework-1.2.1.tar.gz
  • Upload date:
  • Size: 981.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for lila_framework-1.2.1.tar.gz
Algorithm Hash digest
SHA256 98086fa1213b1dcd789106e033024489745f690d7a34477796a8413acc7c620c
MD5 830499ba33fde30487916c068510530e
BLAKE2b-256 c39d5176480f6ae5765ac2cc7f224ce36d5f48264b36ba11e4e7700339fac519

See more details on using hashes here.

File details

Details for the file lila_framework-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: lila_framework-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for lila_framework-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f0cb5ca23f3dfe63586b08f98f1a1587d23dbf3f1c342c6b1dc642ebd6caaf
MD5 790dd2ed50e3e5a3abbc00c2fa4be501
BLAKE2b-256 2d7eeca6680331f5d18ee7d96532681350d24ef47129397ed1c367f03b1fef0c

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 Sentry Error logging StatusPage Status page