Skip to main content

# :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

Metadata

Release files for rest_arch 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rest_arch 0.1.4
File Size Uploaded Provenance
rest_arch-0.1.4.tar.gz 21.9 kB Without provenance Details

Release files / rest_arch-0.1.4.tar.gz

Download URL rest_arch-0.1.4.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3f599ed4a65c87f4db455a05e8b6272fbb13361e549ea66865d9ba9182000983
BLAKE2b-256 checksum
How to use checksums
bade0c5811e799605c0c4316ee3f29094d62aceee941fa5f52c923bf3a1f056d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rest_arch 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page