OS Manuals

/usr/bin/pypi-server

python3.11 version of pypiserver

From py3.11-pypiserver 2.4.3-r0 (os), captured 2026-11-09 by running pypi-server --help (exit 0). permalink

usage: pypi-server [-h] [-v] [--log-file FILE] [--log-stream STREAM] [--log-frmt FORMAT]
                   [--hash-algo HASH_ALGO] [--backend {auto,simple-dir,cached-dir}] [--version]
                   {run,update} ...

start PyPI compatible package server serving packages from PACKAGES_DIRECTORY. If PACKAGES_DIRECTORY is not given on the command line, it uses the default ~/packages. pypiserver scans this directory recursively for packages. It skips packages and directories starting with a dot. Multiple package directories may be specified.

positional arguments:
  {run,update}
    run                 Run pypiserver, serving packages from PACKAGES_DIRECTORY
    update              Handle updates of packages managed by pypiserver. By default, a pip
                        command to update the packages is printed to stdout for introspection or
                        pipelining. See the `-x` option for updating packages directly.

options:
  -h, --help            show this help message and exit
  -v, --verbose         Enable verbose logging; repeat for more verbosity.
  --log-file FILE       Write logging info into this FILE, as well as to stdout or stderr, if
                        configured.
  --log-stream STREAM   Log messages to the specified STREAM. Valid values are stdout, stderr, and
                        none
  --log-frmt FORMAT     The logging format-string.  (see `logging.LogRecord` class from standard
                        python library)
  --hash-algo HASH_ALGO
                        Any `hashlib` available algorithm to use for generating fragments on
                        package links. Can be disabled with one of (0, no, off, false).
  --backend {auto,simple-dir,cached-dir}
                        A backend implementation. Keep the default 'auto' to automatically
                        determine whether to activate caching or not
  --version             show program's version number and exit

Visit https://github.com/pypiserver/pypiserver for more information
Options (8)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-v, --verboseEnable verbose logging;help
--log-file FILEWrite logging info into this FILE, as well as to stdout or stderr, if configured.help
--log-stream STREAMLog messages to the specified STREAM.help
--log-frmt FORMATThe logging format-string.help
--hash-algo HASH_ALGOAny `hashlib` available algorithm to use for generating fragments on package links.help
--backend autoA backend implementation.help
--versionshow program's version number and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.