Skip to main content

ramka

Tests Linting Code style: black Imports: isort linting: pylint

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

Release files for ramka 0.1.2

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

Source distribution (sdist)

Source distribution for ramka 0.1.2
File Size Uploaded
ramka-0.1.2.tar.gz 13.1 kB Details

Built distribution (wheel)

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

Total release size: 31.8 kB

Release files / ramka-0.1.2.tar.gz

Download URL ramka-0.1.2.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
69ec18c534be0026c153a676614fdda2fdbcb583aa4792f64d37f1ff44827661
BLAKE2b-256 checksum
How to use checksums
2202fa060c98b195a534e00a45cf7a65b1b8475dec49dfed24b2040b8cab09c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-40-generic

Release files / ramka-0.1.2-py3-none-any.whl

Download URL ramka-0.1.2-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24468107ad2c0bb5445d2b34155d72526f8e14aa804f9f47c089656fb1bf3cbc
BLAKE2b-256 checksum
How to use checksums
4b715673831b3e825256ca86ded71fd802f291ff265d232090ce4b9750d0e7e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-40-generic

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

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