Standardizes the creation and management of BayesFlow extension packages with precise export handling and CI configuration.
This skill provides a structured framework for developing BayesFlow extensions, ensuring consistent package architecture through the src-layout convention. It automates critical packaging tasks such as managing public API exports via the __all__ list, configuring pyproject.toml with specific dependency groups, and implementing robust version detection via importlib.metadata. By following these established patterns, developers can avoid common pitfalls like invisible symbols or IDE auto-completion failures, while maintaining high code quality with pre-configured Ruff and Mypy settings tailored specifically for the BayesFlow ecosystem.
주요 기능
01Implements src-layout convention for clean, professional Python package structures
02Provides guarded import patterns for handling optional 'extra' dependencies
03Automates __all__ export management to ensure public API visibility and IDE support
04Generates standardized pyproject.toml templates with optional dependency support
05Sets up GitHub Actions CI matrices for Python versions 3.11 through 3.13
060 GitHub stars
사용 사례
01Configuring CI/CD pipelines and linting rules for BayesFlow-compatible projects
02Initializing a new BayesFlow extension with a production-ready file structure
03Managing complex public API exports and versioning for shared ML libraries