Skip to main content

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:

MIT

Project details


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.3.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

granola_py-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl (228.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page