Skip to main content

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.

Metadata

Release files for Emonic 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Emonic 1.0.5
File Size Uploaded Provenance
Emonic-1.0.5.tar.gz 84.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 186.0 kB

Release files / Emonic-1.0.5.tar.gz

Download URL Emonic-1.0.5.tar.gz
Size 84.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4f017c471265f56954624a45c4cb5ef054c5902c2057bc9bd44c05fb57dca749
BLAKE2b-256 checksum
How to use checksums
3ccaba8155e64e77fb071f1b7c67226b6e18c6b249ac00066fe2e4802fe7edfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / Emonic-1.0.5-py3-none-any.whl

Download URL Emonic-1.0.5-py3-none-any.whl
Size 101.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b38c3b4782977d02fe08f84b87222034269672f5b84b2f3f50f7049bbf0e8266
BLAKE2b-256 checksum
How to use checksums
4d74bbc51ed9fdee0111e34164971f60d62775963ced6cfd8fd01b25ff129df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for Emonic 1.0.5

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.

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