HYPERCORN(1)
π HYPERCORN π
okay bestie, you found it β this is the manual page for hypercorn 0.18.0, living in section 1 of the manual (User Commands, the classic). she's a whole ASGI server and she's iconic. let's get into it π β¨
πΈ NAME πΈ
hypercorn β manual page for hypercorn 0.18.0
β¨ DESCRIPTION β¨
so like, the whole vibe is: you point hypercorn at your app and it serves it. that's the tea. π« here's the full usage situation, character for character, no cap:
usage: hypercorn [-h] [--access-log ACCESS_LOG]
[--access-logfile ACCESS_LOGFILE] [--access-logformat
ACCESS_LOGFORMAT] [--backlog BACKLOG] [-b BINDS] [--ca-certs
CA_CERTS] [--certfile CERTFILE] [--cert-reqs CERT_REQS]
[--ciphers CIPHERS] [-c CONFIG] [-D] [--debug] [--error-log
ERROR_LOG] [--error-logfile ERROR_LOGFILE] [--graceful-timeout
GRACEFUL_TIMEOUT] [--read-timeout READ_TIMEOUT] [--max-requests
MAX_REQUESTS] [--max-requests-jitter MAX_REQUESTS_JITTER] [-g
GROUP] [-k WORKER_CLASS] [--keep-alive KEEP_ALIVE] [--keyfile
KEYFILE] [--keyfile-password KEYFILE_PASSWORD] [--insecure-bind
INSECURE_BINDS] [--log-config LOG_CONFIG] [--log-level LOG_LEVEL]
[-p PID] [--quic-bind QUIC_BINDS] [--reload] [--root-path
ROOT_PATH] [--server-name SERVER_NAMES] [--statsd-host
STATSD_HOST] [--statsd-prefix STATSD_PREFIX] [-m UMASK] [-u USER]
[--verify-mode VERIFY_MODE] [--websocket-ping-interval
WEBSOCKET_PING_INTERVAL] [-w WORKERS] application
yeah it's a lot. that's just how she is. lowkey slay π
π«Ά positional arguments:
applicationβ the app you're dispatching to, written aspath.to.module:instance.path. that's literally the whole thing, bestie, and you cannot skip her.
π options:
-h,--helpβ shows this help message and dips. the classic. β¨--access-log ACCESS_LOGβ deprecated π go look ataccess-logfileinstead, okay?--access-logfile ACCESS_LOGFILEβ where the access log goes. use-for stdout.--access-logformat ACCESS_LOGFORMATβ the log format for the access log. see help docs for the deets.--backlog BACKLOGβ the maximum number of pending connections. she's got a queue and it has a limit.-b,--bind BINDSβ the TCP host/address to bind to. should be eitherhost:port,host,unix:pathorfd://num, e.g.127.0.0.1:5000,127.0.0.1,unix:/tmp/socketorfd://33respectively. pick your fighter π--ca-certs CA_CERTSβ path to the SSL CA certificate file--certfile CERTFILEβ path to the SSL certificate file--cert-reqs CERT_REQSβ see the verify mode argument, iykyk--ciphers CIPHERSβ ciphers to use for the SSL setup π-c,--config CONFIGβ location of a TOML config file, or when prefixed withfile:a Python file, or when prefixed withpython:a Python module. three formats, one flag, versatility queen π-D,--daemonβ run the workers as daemons--debugβ enable debug mode, i.e. extra logging and checks. she gets chatty and nosy. π--error-log ERROR_LOGβ deprecated, seeerror-logfile--error-logfile,--log-file ERROR_LOGFILEβ the target location for the error log. use-for stderr.--graceful-timeout GRACEFUL_TIMEOUTβ time to wait afterSIGTERMor Ctrl-C for any remaining requests (tasks) to complete. she's not gonna ghost mid-request, she's polite. π«Ά--read-timeout READ_TIMEOUTβ seconds to wait before timing out reads on TCP sockets--max-requests MAX_REQUESTSβ maximum number of requests a worker will process before restarting. little refresh, little reset. π±--max-requests-jitter MAX_REQUESTS_JITTERβ this jitter causes the max-requests per worker to be randomized byrandint(0, max_requests_jitter)-g,--group GROUPβ group to own any unix sockets.-k,--worker-class WORKER_CLASSβ the type of worker to use. options includeasyncio,uvloop(pip install hypercorn[uvloop]), andtrio(pip install hypercorn[trio]). choose your era β¨--keep-alive KEEP_ALIVEβ seconds to keep inactive connections alive for. she keeps the convo going even when you're quiet. π¬--keyfile KEYFILEβ path to the SSL key file--keyfile-password KEYFILE_PASSWORDβ password to decrypt the SSL key file π--insecure-bind INSECURE_BINDSβ the TCP host/address to bind to. SSL options will not apply to these binds. see bind for formatting options. care must be taken! see HTTP -> HTTPS redirection docs.--log-config LOG_CONFIGβ a Python logging configuration file. this can be prefixed withjson:ortoml:to load the configuration from a file in that format. default is the logging ini format.--log-level LOG_LEVELβ the (error) log level, defaults toinfo-p,--pid PIDβ location to write the PID (Program ID) to. so you can find her later π₯Ί--quic-bind QUIC_BINDSβ the UDP/QUIC host/address to bind to. see bind for formatting options.--reloadβ enable automatic reloads on code changes. she notices when you change your fit. π--root-path ROOT_PATHβ the setting for the ASGIroot_pathvariable--server-name SERVER_NAMESβ the hostnames that can be served. requests to different hosts will be responded to with 404s. strict boundaries, honestly healthy. π--statsd-host STATSD_HOSTβ thehost:portof the statsd server--statsd-prefix STATSD_PREFIXβ prefix for all statsd messages-m,--umask UMASKβ the permissions bit mask to use on any unix sockets.-u,--user USERβ user to own any unix sockets.--verify-mode VERIFY_MODEβ SSL verify mode for peer's certificate, seessl.VerifyModeenum for possible values.--websocket-ping-interval WEBSOCKET_PING_INTERVALβ if set this is the time in seconds between pings sent to the client. this can be used to keep the websocket connection alive. little "you up?" texts, but make it protocol. π‘-w,--workers WORKERSβ the number of workers to spawn and use
and that's the whole page, bestie, you made it to the end π this was hypercorn 0.18.0, dated October 2026, filed under HYPERCORN(1). go configure something gorgeous. mwah π«Άπβ¨
π¦ where this page comes from
- fedora 44: python3-hypercorn 0.18.0-15.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms