ramka - a simple Python web framework
Project description
ramka
ramka (a Polish word for a small frame) is a very simple web framework written in Python. It is based on a very good course Building Your Own Python Web Framework by testdriven.io which I highly recommend.
Please bear in mind that at the moment only very basic functionality is implemented and that this framework is far from being finished. Having said that, I do have some ideas for the future.
At the moment, you can define some routes and then serve the content (HTML, text, JSON) to the client. You can use dynamic routes and serve templates and static files (like stylesheets and images). And that's it. A framework is probably a big word for it but there is some potential for it to grow.
As I said it's still a work in progress. Some features I am planning to add:
- database support - there are no plans to implement custom ORM, but integrating one of the existing ones (like SQLAlchemy) is probably a good start,
- authentication - it can use databases or some different method,
- plugins - the goal is to add a plugin mechanism and add more features as installable plugins.
There will be probably more but it's difficult for me to say at the moment. Anyway, I would treat this as a learning project rather than a real framework. Feel free to try it out and send me any feedback.
Documentation
The documentation is available at https://ramka.readthedocs.io/.
Installation
To install the package using pip
, run the following command:
pip install ramka
To add it as a poetry
dependency, run:
poetry add ramka
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ramka-0.1.2.tar.gz
.
File metadata
- Download URL: ramka-0.1.2.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-40-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69ec18c534be0026c153a676614fdda2fdbcb583aa4792f64d37f1ff44827661 |
|
MD5 | 4612e9834ecfed8bc09de9398c366a88 |
|
BLAKE2b-256 | 2202fa060c98b195a534e00a45cf7a65b1b8475dec49dfed24b2040b8cab09c4 |
File details
Details for the file ramka-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ramka-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-40-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24468107ad2c0bb5445d2b34155d72526f8e14aa804f9f47c089656fb1bf3cbc |
|
MD5 | 5b9739dde463f9379c4d714c70424b1e |
|
BLAKE2b-256 | 4b715673831b3e825256ca86ded71fd802f291ff265d232090ce4b9750d0e7e4 |