plux
A dynamic code loading framework for building pluggable Python distributions
File Explorer
Download Latest Version (.zip)- build.yml
- plux-architecture.png
- __init__.py
- core.py
- discovery.py
- entrypoint.py
- metadata.py
- setuptools.py
- __init__.py
- config.py
- discovery.py
- hatchling.py
- index.py
- project.py
- setuptools.py
- __init__.py
- cli.py
- __init__.py
- entrypoint.py
- plugin.py
- __init__.py
- cache.py
- filter.py
- manager.py
- metadata.py
- resolve.py
- __init__.py
- __main__.py
- __init__.py
- test_config.py
- test_discovery.py
- test_hatchling.py
- __init__.py
- plugins.py
- __init__.py
- plugins.py
- pyproject.toml
- __init__.py
- plugins.py
- plugins.py
- pyproject.toml
- __init__.py
- plugins.py
- __init__.py
- plugins.py
- .gitignore
- pyproject.toml
- __init__.py
- plugins.py
- __init__.py
- plugins.py
- plux.ini
- pyproject.toml
- __init__.py
- plugins.py
- __init__.py
- plugins.py
- pyproject.toml
- __init__.py
- plugins.py
- __init__.py
- plugins.py
- setup.cfg
- setup.py
- __init__.py
- test_discover.py
- test_entrypoints.py
- test_hatchling.py
- __init__.py
- invalid_module.py
- sample_plugins.py
- __init__.py
- test_cache.py
- test_resolve.py
- __init__.py
- conftest.py
- test_discovery.py
- test_entrypoint.py
- test_function_plugin.py
- test_listener.py
- test_manager.py
- test_metadata.py
- .gitignore
- CODEOWNERS
- LICENSE
- Makefile
- mypy.ini
- pyproject.toml
- README.md
# Installation Guide
git clone https://github.com/localstack/plux
Downloads the entire project code from GitHub to your computer.
cd plux
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install plux
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Python
Easypython -m plux entrypoints
Runs the Python script (or module).
python -m plux discover --format ini --output plux.ini
Runs the Python script (or module).
python -m plux discover --include "myapp/plugins*,myapp/extensions*" --format ini
Runs the Python script (or module).
python -m plux entrypoints --exclude "**/database/alembic*"
Runs the Python script (or module).
python -m plux discover --exclude "tests*,docs*" --format ini
Runs the Python script (or module).
Pulled directly from this repo's README.
4. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make venv
Compiles the code based on the generated build configuration to produce an executable.
make test
Compiles the code based on the generated build configuration to produce an executable.
make format
Compiles the code based on the generated build configuration to produce an executable.
make upload
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
