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.1.7.tar.gz (901.4 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.1.7-py3-none-any.whl (935.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lila_framework-1.1.7.tar.gz
  • Upload date:
  • Size: 901.4 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.1.7.tar.gz
Algorithm Hash digest
SHA256 5b1c46e77173fc96c161ff2f390773aca15ab4ddcccd0b971db737f9079f0e3b
MD5 920b7b16179817f1c969bc5002a3998f
BLAKE2b-256 9ac413ba73b5b8998dfbe7cbdf85d098e6c866b4e19d591eecc6a9d6bd114bd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lila_framework-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 935.1 kB
  • 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.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d19edc182305a2ffaa8e9ea414645ca6ba6dd76ac9048ef0fc1079d73fbc21c8
MD5 8ef6d22a9c85422036af77aaad6c7c09
BLAKE2b-256 9ddf3531bee585d591de258b9d1e7b341aa3b89c544b2baa470d11f396bd8d1c

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