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.
- Built-in support for common web development features, such as routing and request handling.
- JWT (maybe idk)
- Automatic Markdown documentation generator for API docs with no extra effort. (maybe idk)
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 __str__(self):
return "WELCOME TO SERVER"
def api(self):
target = 0
for i in range(10):
target += i
return target
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.1.2.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for granola_py-0.1.2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5146a883e11a1fa78d5959a861b5c844b81f2cfc0a9563b8c07e13663d9e28ca |
|
MD5 | 68c182017b893db24228dc25bbb5cc46 |
|
BLAKE2b-256 | ce5493697f44e96bb7bd548f781ca4977e9ba7329f336eca47ddb071bf3d1658 |