Skip to main content

Plinx

purpose PyPI

Plinx is an experimental, minimalistic, and extensible WSGI-based web framework and ORM written in Python.
It is designed to be simple, fast, and easy to extend, making it ideal for rapid prototyping and educational purposes.


Features

  • 🚀 Minimal and fast WSGI web framework
  • 💾 Integrated Object-Relational Mapper (ORM)
  • 🛣️ Intuitive routing system (including parameterized and class-based routes)
  • 🧩 Extensible middleware support
  • 🧪 Simple, readable codebase for learning and hacking
  • 📝 Type hints and modern Python best practices

Installation

Install from PyPI:

pip install Plinx

Install directly from the git source:

pip install git+https://github.com/dhavalsavalia/plinx.git

Quickstart

Create a simple web application in seconds:

# myapp.py
from plinx import Plinx

app = Plinx()

@app.route("/")
def index(request, response):
    response.text = "Hello, Plinx 1.0.1!"

# Example using the ORM (requires database setup)
# from plinx.orm import Database, Table, Column
# db = Database("my_database.db")
# class Item(Table):
#     name = Column(str)
#     count = Column(int)
# db.create(Item)
# db.save(Item(name="Example", count=1))

Run your app using a WSGI server (like gunicorn):

pip install gunicorn
gunicorn myapp:app

Testing

Use pytest to unit test this framework.

pytest --cov=.

Contributing

Contributions are welcome! Please open issues or submit pull requests for improvements, bug fixes, or new features.


License

This project is licensed under the MIT License. See LICENSE for details.


Author & Contact

Created and maintained by Dhaval Savalia. For questions or opportunities, feel free to reach out via LinkedIn or open an issue.


Metadata

Release files for Plinx 1.0.1

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

Source distribution (sdist)

Source distribution for Plinx 1.0.1
File Size Uploaded
plinx-1.0.1.tar.gz 17.2 kB Details

Built distribution (wheel)

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

Total release size: 33.8 kB

Release files / plinx-1.0.1.tar.gz

Download URL plinx-1.0.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d7f5d6e3e4d501b521bb7c34dcf824c2fa091e31155efc18cd2be8bc3807dfc4
BLAKE2b-256 checksum
How to use checksums
f06762e6d34974f7130bd35ad7c62caff05e92478c121d109b84e3cd8105875b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / plinx-1.0.1-py3-none-any.whl

Download URL plinx-1.0.1-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30c646ddd313b987af51079a8a4fe62da8715cf9bb03b91cdf8797f845cf524c
BLAKE2b-256 checksum
How to use checksums
e880eef76b4c37b50dee878905192046f4ed1579c080d42be9801c88496df16e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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