Getting Started with provide.foundation¶
Welcome to provide.foundation! This section will guide you through installation and your first application in just a few minutes.
What is provide.foundation?¶
provide.foundation is a comprehensive Python library for building robust, production-ready applications with:
- Structured Logging: Beautiful, performant logging with zero configuration
- CLI Framework: Build command-line tools with declarative commands
- Configuration: Environment-based configuration without hardcoded defaults
- Resilience: Retry patterns, error handling, and failure recovery
- Utilities: File operations, cryptography, serialization, and more
Quick Navigation¶
Learning Path¶
We recommend following this path:
- Installation - Set up your environment (2 minutes)
- Quick Start - Write your first logs (5 minutes)
- First Application - Build a CLI tool (15 minutes)
- Examples - Explore specific features (ongoing)
After completing these, dive into the How-To Guides for specific use cases.
System Requirements¶
- Python 3.11 or higher
- Works on Linux, macOS, and Windows
- Minimal core dependencies (
structlog,attrs)
Optional Features¶
Foundation has modular installation options:
| Feature | Install Command | When You Need It |
|---|---|---|
| Basic logging | pip install provide-foundation |
Core functionality |
| CLI framework | pip install provide-foundation[cli] |
Building command-line tools |
| Cryptography | pip install provide-foundation[crypto] |
Hashing, signing, certificates |
| HTTP Transport | pip install provide-foundation[transport] |
HTTP client utilities |
| OpenTelemetry | pip install provide-foundation[opentelemetry] |
Distributed tracing |
| All features | pip install provide-foundation[all] |
Everything above |
Need Help?¶
- Documentation: Browse the How-To Guides and Explanation sections
- Examples: Check the Examples for working code
- Issues: Report bugs on GitHub Issues
Ready to begin? Start with Installation →