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.3.tar.gz
(1.0 MB
view hashes)
Built Distribution
Close
Hashes for granola_py-0.2.3-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bb111bf183e72c4269ede1a02ea5fa72f588e42cc46cfeb3af319ad260017fa |
|
MD5 | aaa637a381e9f820924becc514bf2a3a |
|
BLAKE2b-256 | 840e19de45111694876247c9b75323c9ccd7a30f6b188915840a406a3d4cc31a |