-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ivole32 edited this page Aug 3, 2025
·
5 revisions
Welcome to the Requirement Loader documentation! This library provides automatic dependency management for Python applications, especially useful for production environments where security updates need to be applied quickly.
Requirement Loader is a Python library that automatically fetches and installs Python dependencies from remote sources. It's designed to address security concerns in production environments where zero-day vulnerabilities might be discovered in your dependencies.
- Remote Requirements Management: Fetch requirements.txt from URLs or local file (GitHub, HTTP/HTTPS)
- Automatic Updates: Continuously monitor for dependency updates
- Silent Installation: Install packages without verbose output
- Application Restart: Automatically restart your application after updates
- Flexible Configuration: Customize update intervals and behavior
- Production Security: Quickly patch zero-day vulnerabilities by updating remote requirements
- Centralized Dependency Management: Manage dependencies across multiple deployments from a single source
- Automated Deployments: Ensure all instances have the latest approved dependencies
- Installation - How to install and set up Requirement Loader
- Usage - Complete usage guide with examples and best practices
from requirement_loader import RequirementLoader
# Basic usage with automatic updates
loader = RequirementLoader(
requirement_url="https://github.com/user/repo/blob/main/requirements.txt",
update_at_startup=True,
auto_reload=True
)
# Manual update control
manual_loader = RequirementLoader(
requirement_url="https://github.com/user/repo/blob/main/requirements.txt",
auto_reload=False # Disable automatic updates
)
# Trigger manual updates when needed
manual_loader.update(reload=True)- Current Version: 1.0.0
- Python Compatibility: 3.11+
- License: MIT
Found a bug or want to contribute? Visit our GitHub repository to:
- Report issues
- Submit pull requests
- Request features
For questions or support, please:
- Open an issue on GitHub
- Contact: ivo.theis@posteo.de