Grui
Generated Rest User Interface
This package allow developer to expose function to the web. GRUI will generate a Rest API from the class. An HTTP page will also be generated. The main idea is to focus the code on the functionality.
Code examples
from typing import *
from grui import GruiService
from grui.decorator import *
class MySuperService(GruiService):
"""The documentation will be available to end user.
Longer description will be display into the help page of the service.
"""
@Get("my-super-path")
@NotFoundIfEmpty # Set the http return code to 404 if it return None.
def get_all(self) -> Optional[List[int]]:
"""The method documentation is display to the user as well"""
return self.whatever
Issues/Bug report or improvement ideas
https://gitlab.com/olive007/grui/-/issues
License
GNU Lesser General Public License v3 or later (LGPLv3+)
Metadata
Release files for grui 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grui-0.0.10.tar.gz | 14.2 kB | Without provenance | Details for grui-0.0.10.tar.gz |
Release files / grui-0.0.10.tar.gz
| Download URL | grui-0.0.10.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
074f188377cb4c9a9b6adf7e4fd75b5aa7b6336b23f255383378a7d59945e06b
|
|
BLAKE2b-256 checksum How to use checksums |
6dbcae3e07778c2f353bea9f8d136c507c959dc829b18708b10f4b6a48b8323d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|
Security for grui 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.