Skip to main content

A Restful Framework Based On Gunicorn

Project description

# :punch: Easier To Build Your RESTful App A Restful Frame Based On Gunicorn

## Develop With Me 1. Fork repo 2. Clone to your local 3. Add Remote as upstream 4. Do some change 5. Push to your origin 6. Pull request

## Develop > after you add some future or fix something, you should add unittest for your change

> make unittest -sx to make sure test is pass

> make pylint can check your code with flake8

> make bump ver=x.x.x.x to bump a new version

## Installation > pip install rest_arch

## App struct

├── app.yaml ├── foo │   ├── __init__.py │   ├── app.py │   ├── models.py │   ├── settings.py ├── requirements.txt

## Usage 1. skt bootstrap to build a app. 2. cd your_app_path run skt serve to start app. 3. skt shell to run a client as c. 4. c.get(‘/ping’) to get a response.

## APP&LOG

import logging from rest_arch.skt.log import setup_loggers from rest_arch.app import make_app

app = make_app(__name__)

setup_loggers(__name__) logger = logging.getLogger(__name__)

logger.info(‘A Test Log Info’)

## Contact 1. kiven.mr@gmail.com 2. create issue or pull request

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

rest_arch-0.1.3.tar.gz (21.8 kB view details)

Uploaded Source

File details

Details for the file rest_arch-0.1.3.tar.gz.

File metadata

  • Download URL: rest_arch-0.1.3.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rest_arch-0.1.3.tar.gz
Algorithm Hash digest
SHA256 74e9734e43f92862a8c91c561e53c13361983e93e847bf5a33405587eace407f
MD5 bec02f4db637e4888db2de7a7e1d2de6
BLAKE2b-256 722359061d1705bd928577050f69109a42272577097349f0289e3da5a54bba5f

See more details on using hashes here.

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