Skip to main content

appstart

https://travis-ci.org/appstore-zencore/appstart.svg?branch=master

About

Application server framework help you write long run application.

Install

pip install appstart

Usage

E:\zencore>appserver
Usage: appserver [OPTIONS] COMMAND [ARGS]...

Options:
-c, --config FILENAME  Config file path, use yaml format. Default to
                        config.yaml.
--help                 Show this message and exit.

Commands:
reload  Reload application server.
start   Start application server.
stop    Stop application server.

Example Config

application:
    deamon: true
    pidfile: /tmp/appname.pid
    main: app.main

Create a new type server

from appstart import server
from appstart import set_default_config_path
from appstart import set_default_pidfile
from appstart import set_config_loader
from appstart import default_config_loader

def helloserver_loader(config):
    data = default_config_loader(config)
    data["server-name"] = "hello server v1.0.0"
    return data

if __name__ == "__main__":
    set_default_config_path("/etc/helloserver.yaml")
    set_default_pidfile("/var/run/helloserver.pid")
    set_config_loader(helloserver_loader)
    server()

Metadata

Release files for appstart 0.3.1

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

Source distribution (sdist)

Source distribution for appstart 0.3.1
File Size Uploaded Provenance Actions
appstart-0.3.1.tar.gz 3.2 kB Without provenance Details for appstart-0.3.1.tar.gz

Release files / appstart-0.3.1.tar.gz

Download URL appstart-0.3.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e9e023f06fa9fa130064dc60e3b53e389011cb5600cb77475f38dd8a51a48e2a
BLAKE2b-256 checksum
How to use checksums
bb323b43989dbeb2d3acf005b5c4b32a132b03a302b932638281d45f24bd2414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for appstart 0.3.1

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.

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file No provenance

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