-
Notifications
You must be signed in to change notification settings - Fork 0
pip Hosting
Ivole32 edited this page Sep 30, 2025
·
3 revisions
This guide explains how to install and run Linux-API as a Python package using pip.
- Python 3.11 or newer
- pip (Python package manager)
It is strongly recommended to use a Python virtual environment to avoid dependency conflicts:
python3 -m venv venv
source venv/bin/activate-
Install the package:
In the project root directory, run:
pip install . -
Run the server:
You have several options (Linux only):
- Run via Python module:
python3 -m linux_api.server
- Or, use the provided shell scripts:
./linux_api/start.sh # or for development with auto-reload: ./linux_api/start_debug.sh
- Run via Python module:
- Access the API docs: Open http://localhost/docs in your browser. Open docs: Open http://67.207.74.82/docs in your browser.
- This package is only supported on Linux systems.
- The admin API key is printed to the console on first startup. Save it securely.
- You may need
sudorights to bind to ports below 1024 (e.g., port 80 or 443). - You can uninstall with
pip uninstall linux-api.