Metadata-Version: 2.1
Name: private-pypi-core
Version: 0.1.3a4
Summary: A private PyPI server powered by flexible backends.
Home-page: https://github.com/private-pypi/private-pypi-core
License: MIT
Keywords: private,pypi,packaging,dependency
Author: huntzhan
Author-email: huntzhan.dev@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: Jinja2 (>=2.11.1,<3.0.0)
Requires-Dist: Paste (>=3.4.0,<4.0.0)
Requires-Dist: apscheduler (>=3.6.3,<4.0.0)
Requires-Dist: cryptography (>=2.8,<3.0)
Requires-Dist: dramatiq[redis] (>=1.8.1,<2.0.0)
Requires-Dist: filelock (>=3.0.12,<4.0.0)
Requires-Dist: fire (>=0.2.1,<0.3.0)
Requires-Dist: flask (>=1.1.1,<2.0.0)
Requires-Dist: flask-login (>=0.5.0,<0.6.0)
Requires-Dist: psutil (>=5.6.7,<6.0.0)
Requires-Dist: pydantic (>=1.4,<2.0)
Requires-Dist: redis-server (>=5.0.7,<6.0.0)
Requires-Dist: shortuuid (>=0.5.0,<0.6.0)
Requires-Dist: toml (>=0.10.0,<0.11.0)
Requires-Dist: waitress (>=1.4.3,<2.0.0)
Project-URL: Repository, https://github.com/private-pypi/private-pypi-core
Description-Content-Type: text/markdown

# private-pypi-core

## CLI

`private_pypi_server`:

```txt
Run the private-pypi server.

SYNOPSIS
    private_pypi_server CONFIG ROOT <flags>

POSITIONAL ARGUMENTS
    CONFIG (str):
        Path to the package repositories config.
    ROOT (str):
        Path to the root folder.

FLAGS
    --admin_secret (Optional[str]):
        Path to the admin secrets config with read/write permission.
        This field is required for local index synchronization.
        Defaults to None.
    --auth_read_expires (int):
        The expiration time (in seconds) for read authentication.
        Defaults to 3600.
    --auth_write_expires (int):
        The expiration time (in seconds) for write authentication.
        Defaults to 300.
    --extra_index_url (str):
        Extra index url for redirection in case package not found.
        If set to empty string explicitly redirection will be suppressed.
        Defaults to 'https://pypi.org/simple/'.
    --debug (bool):
        Enable debug mode.
        Defaults to False.
    --host (str):
        The interface to bind to.
        Defaults to 'localhost'.
    --port (int):
        The port to bind to.
        Defaults to 8080.
    **waitress_options (Dict[str, Any]):
        Optional arguments that `waitress.serve` takes.
        Details in https://docs.pylonsproject.org/projects/waitress/en/stable/arguments.html.
        Defaults to {}.
```

