Plinx
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plinx-1.0.1.tar.gz | 17.2 kB | Without provenance | Details for plinx-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plinx-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for plinx-1.0.1-py3-none-any.whl |
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
|
Security for Plinx 1.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.