A microframework for building RESTful web services
Project description
Rhino is a python microframework for building RESTful web services.
Installation
From pypi:
$ pip install rhino
From a git checkout:
$ git clone https://github.com/trendels/rhino.git $ cd rhino $ python setup.py install
To run the test suite, clone the repository as shown above, and run:
$ pip install -r requirements.txt $ make test
Minimal “Hello World” example
from rhino import Mapper, get
@get
def hello(request):
return "Hello, world!"
app = Mapper()
app.add('/', hello)
app.start_server()
Documentation
The online documentation can be found at https://trendels.github.io/rhino/
Bugs
Please report bugs using the github issue tracker.
License
Rhino is licensed unter the MIT License. See the included file LICENSE for details.
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
Rhino-0.0.5.tar.gz
(56.5 kB
view details)
File details
Details for the file Rhino-0.0.5.tar.gz
.
File metadata
- Download URL: Rhino-0.0.5.tar.gz
- Upload date:
- Size: 56.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49cb62f024502d914be5dc037cab4f3a0bdac6fb602a33612cc04d5ffa4dfd64 |
|
MD5 | de4528ab05cb64f2bfce3cf422022aa3 |
|
BLAKE2b-256 | ec0e89d4742854d2482fbf58b15d3673dfaa9517423ae700b892182cc76b4c34 |