No project description provided
Project description
Granola:
Granola is a Python library for building apis and backend applications, with an emphasis on reusability and horizontal scaling.
Features
- Built for python, a popular and versatile programming language that is easy to learn and use.
- Monstrously fast performance, thanks to being written in Rust.
- Object-Oriented, easy-to-use API for building backend applications quickly.
Installation:
you can install granola using pip by running the following command:
pip install granola-py
Usage:
# main.py
from granola import serve
class App:
def __granola__(self):
return "WELCOME TO SERVER"
def api(self, request):
target = 0
for i in range(10):
target += i
return request
serve(8685, App())
Contributing:
We welcome contributions to Granola. If you have an idea for a new feature or have found a bug, please open an issue on our GitHub repository. If you would like to contribute code, please open a pull request with your changes.
License:
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
granola_py-0.2.4.tar.gz
(1.0 MB
view hashes)
Built Distribution
Close
Hashes for granola_py-0.2.4-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501cbcd17c9fc88c712e32d8c90ec739b02b0c168be133420890ac0a22970539 |
|
MD5 | f21136e205f2c440a70d91e44a7b8765 |
|
BLAKE2b-256 | 530ce8fe93739277b2141bfb08479de465377a1e3f32f54cc8cc2433b10eaaed |