PPSERVER(1)

πŸ“¦
version 1.7.8 Β· 4 versions
, in ubuntu stonking

πŸ’– PPSERVER(1) β€” User Commands πŸ’–

okay bestie, gather round, because this is the manual page for ppserver, aka the PPFT (Parallel Python) Network Server, and we are gonna get into it ✨


🌸 NAME 🌸

ppserver β€” PPFT (Parallel Python) Network Server. that's it, that's the name, she's serving exactly what it says on the tin πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

ppserver [-hdar] [-f format] [-n proto] [-c config_path] [-i interface]
[-b broadcast] [-p port] [-w nworkers] [-s secret] [-t seconds] [-k
seconds] [-P pid_file]

lowkey iconic syntax, ngl. all those little flags stacked up in [-hdar]? she's a cluster, she's a mood πŸ¦‹


✨ DESCRIPTION ✨

so basically: this is the Parallel Python Network Server, and the version we're repping here is pp-1.7.8. that's the whole description. short, sweet, main character energy πŸ‘‘


πŸ‘‘ OPTIONS πŸ‘‘

here's where the details live, bestie. every single one. no skips, no crumbs, we're eating the whole plate πŸ“

  • -h β€” the classic. shows you this help message. your emergency "wait what was that flag again" button 🫢
  • -d β€” cranks the log level up to debug. verbose queen behavior, she will tell you everything πŸ’€
  • -f format β€” sets the log format. you pick the format, she picks the drip ✨
  • -a β€” turns on the auto-discovery service. she finds her friends by herself, so social 🌈
  • -r β€” restart the worker process after each task completion. every task finished = fresh worker, no leftover baggage, we love a reset button πŸŽ€
  • -n proto β€” the protocol number for the pickle module. yes, pickle. yes, that pickle. choose wisely πŸ₯’
  • -c path β€” path to the config file. point her at her settings file and she'll read it πŸ’œ
  • -i interface β€” the interface to listen on. where she's earring, basically πŸ‘‚
  • -b broadcast β€” the broadcast address for the auto-discovery service. pairs cute with -a πŸ’•
  • -p port β€” the port to listen on. pick your number, own it πŸ”’
  • -w nworkers β€” number of workers to start. how big is the squad? that's the question πŸ’ͺ
  • -s secret β€” the secret for authentication. more on this in a sec, and it's important, bestie 😭
  • -t seconds β€” the timeout to exit if no connections with clients exist. nobody's calling? she leaves. respect her time πŸ•
  • -k seconds β€” the socket timeout in seconds. how long she'll wait on a socket before giving up on it βŒ›
  • -P pid_file β€” the file to write PID to. drop the process ID in a file so you can find her later πŸ—‚οΈ

πŸ”₯ THE IMPORTANT NOTES πŸ”₯

  • to print server stats, send SIGUSR1 to its main process. this is unix only, so if you're not on unix, this is not your moment, sorry babe πŸ™ˆ
⚠️ security concern, listen up: because of the security concerns, always use a non-trivial secret key. do NOT be out here with -s password123. be so serious right now. πŸ’€

like, fr fr β€” the secret key set by the -s switch will override the secret key assigned by the pp_secret variable in .pythonrc.py. that's the rule, that's how it works, no cap πŸ’…

  • and if you want the extended, up-to-date documentation, examples, and support forums, please visit http://www.parallelpython.com. go, read, thrive, iykyk 🌐

πŸŒ™ a lil sign-off πŸŒ™

that's the whole page, bestie 🫢 go forth and parallelize responsibly, and always remember: non-trivial secret, periodt πŸ‘‘

Parallel Python Network Server … March 2026 β€” mwah, stan this manpage, she ate and left no crumbs πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from