Skip to main content

Discover a user-friendly Python web framework designed to empower developers in building both standard and high-level applications. Crafted with simplicity in mind, this framework provides an intuitive environment for creating web applications that adhere to industry standards. Whether you're embarking on a straightforward project or aiming for a sophisticated application, our framework streamlines the development process, offering flexibility and tools to match your goals.

Project description

IMG-20230823-151908.jpg

Emonic Web Framework

Emonic is a lightweight web framework for building web applications in Python. It provides essential features to help you quickly develop and deploy web applications with ease.

Features

  • Routing: Define URL rules and map them to corresponding view functions.
  • Templating: Use Jinja2 templates to generate dynamic HTML content.
  • Static File Serving: Easily serve static files such as stylesheets, images, and scripts.
  • Middleware Support: Extend functionality with custom middleware components.
  • Session Management: Built-in session management for user-specific data.
  • Error Handling: Define custom error handlers for different HTTP error codes.
  • Blueprint System: Organize your application into modular blueprints.
  • CSRF Protection: Built-in CSRF token generation and validation.

Installation

Install and update using pip:

$ pip install emonic

A Smiple Example

# save this as views.py
from emonic.core import Emonic

app = Emonic(__name__)

@app.route('/')
def home(request):
    return 'Welcome to Emonic!'

if __name__ == "__main__":
    app.run() 

Terminal

$ python views.py
  * Running on http://127.0.0.1:8000/ (Press CTRL+C to quit)

Contributing

Contributions are welcome! Feel free to submit issues and pull requests on the GitHub repository, see the contributing guidelines.

Links

Project details


Download files

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

Source Distribution

Emonic-1.0.2.tar.gz (55.5 kB view details)

Uploaded Source

Built Distribution

Emonic-1.0.2-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

Details for the file Emonic-1.0.2.tar.gz.

File metadata

  • Download URL: Emonic-1.0.2.tar.gz
  • Upload date:
  • Size: 55.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Emonic-1.0.2.tar.gz
Algorithm Hash digest
SHA256 eb1ea71a3da90088e4a7d0b03ac3a4f32eb42e2502c2a6c34b07042801cfdbbb
MD5 b343ed83add905575cedea4e2daf2a39
BLAKE2b-256 2af19fbe8abc583618db995b04aebcdf0ef2a47a759fff01ab4a4795989831d5

See more details on using hashes here.

File details

Details for the file Emonic-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: Emonic-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 66.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Emonic-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2330d0bf2b089096c026af9e4b2473121b41ff04fc912b0674e6e9bba9c8b88
MD5 3b97a14fe5c8bd81664f61cebf4b5324
BLAKE2b-256 85e9c9f10fa68c72000a82a89bbbf0470fcb563149e0abfdc2fb127c9c4331e3

See more details on using hashes here.

Supported by

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