Helpers for building Python app or cli.
Project description
wexample-app
Version: 0.0.53
Helpers for building Python app or cli.
Table of Contents
- Status Compatibility
- Prerequisites
- Installation
- Quickstart
- Basic Usage
- Configuration
- Logging
- Api Reference
- Examples
- Tests
- Code Quality
- Versioning
- Changelog
- Migration Notes
- Roadmap
- Troubleshooting
- Security
- Privacy
- Support
- Contribution Guidelines
- Maintainers
- License
- Useful Links
- Suite Integration
- Compatibility Matrix
- Requirements
- Dependencies
- Links
- Suite Signature
Status & Compatibility
Maturity: Production-ready
Python Support: >=3.10
OS Support: Linux, macOS, Windows
Status: Actively maintained
Prerequisites
No special system dependencies required beyond Python >=3.10.
Installation
pip install wexample-app
Quickstart
Get started with wexample-app in seconds:
# Your first example with wexample-app
from wexample-app import YourClass
# Initialize and use
instance = YourClass()
instance.run()
This package requires Python >=3.10.
Basic Usage
from wexample_helpers.decorator.base_class import base_class
from wexample_app.common.abstract_kernel import AbstractKernel
from wexample_app.common.mixins.command_line_kernel import CommandLineKernel
from wexample_app.common.mixins.command_runner_kernel import CommandRunnerKernel
@base_class
class MyApp(CommandRunnerKernel, CommandLineKernel, AbstractKernel):
pass
my_app = MyApp()
Configuration
Configuration can be provided through environment variables or config files.
Environment Variables
WEXAMPLE-APP_DEBUG: Enable debug modeWEXAMPLE-APP_LOG_LEVEL: Set logging level (DEBUG, INFO, WARNING, ERROR)
Logging & Verbosity Control
Control logging output with environment variables:
export WEXAMPLE-APP_LOG_LEVEL=DEBUG
Or programmatically:
import logging
logging.getLogger('wexample-app').setLevel(logging.DEBUG)
API Reference
Full API documentation is available in the source code docstrings.
Key modules and classes are documented with type hints for better IDE support.
Additional Examples
Advanced Usage
from wexample-app import AdvancedFeature
# Advanced example
feature = AdvancedFeature(config={'option': 'value'})
result = feature.execute()
More examples can be found in the examples/ directory of the repository.
Tests
Run the test suite:
pytest tests/
With coverage:
pytest --cov=wexample-app tests/
Code Quality & Typing
All Wexample packages follow strict quality standards:
- Type hints: Full type coverage with mypy validation
- Code formatting: Enforced with black and ruff
- Linting: Comprehensive checks with ruff
- Testing: High test coverage requirements
These standards ensure reliability and maintainability across the suite.
Versioning & Compatibility Policy
Wexample packages follow Semantic Versioning (SemVer):
- MAJOR: Breaking changes
- MINOR: New features, backward compatible
- PATCH: Bug fixes, backward compatible
We maintain backward compatibility within major versions and provide clear migration guides for breaking changes.
Changelog
See CHANGELOG.md for detailed version history and release notes.
Major changes are documented with migration guides when applicable.
Migration Notes
When upgrading between major versions, refer to the migration guides in the documentation.
Breaking changes are clearly documented with upgrade paths and examples.
Known Limitations & Roadmap
Current limitations and planned features are tracked in the GitHub issues.
See the project roadmap for upcoming features and improvements.
Troubleshooting & FAQ
Common Issues
Q: Installation fails with dependency errors
A: Ensure you're using Python >=3.10 and have the latest pip version.
Q: Import errors
A: Verify the package is installed: pip show wexample-app
For more help, see the Support Channels section.
Security Policy
Reporting Vulnerabilities
If you discover a security vulnerability, please email security@wexample.com.
Do not open public issues for security vulnerabilities.
We take security seriously and will respond promptly to verified reports.
Privacy & Telemetry
This package does not collect any telemetry or usage data.
Your privacy is respected — no data is transmitted to external services.
Support Channels
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: Questions and community support
- Documentation: Comprehensive guides and API reference
- Email: contact@wexample.com for general inquiries
Community support is available through GitHub Discussions.
Contribution Guidelines
We welcome contributions to the Wexample suite!
How to Contribute
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
Maintainers & Authors
Maintained by the Wexample team and community contributors.
See CONTRIBUTORS.md for the full list of contributors.
License
MIT
Useful Links
- Homepage: https://github.com/wexample/python-app
- Documentation: docs.wexample.com
- Issue Tracker: https://github.com/wexample/python-app/issues
- Discussions: https://github.com/wexample/python-app/discussions
- PyPI: pypi.org/project/wexample-app
Integration in the Suite
This package is part of the Wexample Suite — a collection of high-quality Python packages designed to work seamlessly together.
Related Packages
The suite includes packages for configuration management, file handling, prompts, and more. Each package can be used independently or as part of the integrated suite.
Visit the Wexample Suite documentation for the complete package ecosystem.
Compatibility Matrix
This package is part of the Wexample suite and is compatible with other suite packages.
Refer to each package's documentation for specific version compatibility requirements.
Requirements
- Python >=3.10
Dependencies
- attrs>=23.1.0
- cattrs>=23.1.0
- dotenv
- pydantic>=2,<3
- python-dotenv
- wexample-filestate==0.0.54
- wexample-helpers-yaml==0.0.70
Links
- Homepage: https://github.com/wexample/python-app
About us
Wexample stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.
Wexample cultivates a culture of mastery. Each package, each contribution carries the mark of a community that values precision, ethics, and innovation — a community proud to shape the future of digital craftsmanship.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wexample_app-0.0.54.tar.gz.
File metadata
- Download URL: wexample_app-0.0.54.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.25.9 CPython/3.12.3 Linux/6.8.0-85-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5415ac1850d201428cb4c82abd50ea29e29a20457b9982eb977f5b9ab397824
|
|
| MD5 |
306ec5456f960203b9e9e5115218561f
|
|
| BLAKE2b-256 |
44c8dbc08ba4d0af74074335aa9656f823c6637b1364fe07dacd3177609c9b73
|
File details
Details for the file wexample_app-0.0.54-py3-none-any.whl.
File metadata
- Download URL: wexample_app-0.0.54-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.25.9 CPython/3.12.3 Linux/6.8.0-85-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba384631408712bf46e3ba452fc959697f8d4d5247b1220f561ac6f5d58a5bf9
|
|
| MD5 |
532fcbe75e466f05be9fed28b71f135e
|
|
| BLAKE2b-256 |
dc1e3cd23ae337f8026d7b18b36451f165a0101ce0902d108dcdf73537eecb93
|