A Python package for code-based learning that provides utilities to gather information about your Python environment, platform, and package metadata.
The cbl package is an educational library designed to help learners understand
package development. It provides simple interfaces to retrieve information about:
- Package metadata - Get details about the cbl package itself
- Platform information - Discover system architecture and OS details
- Python environment - Learn about the Python interpreter being used
This package is part of the codebasedlearning idea and serves as both a learning tool and a practical utility for educational purposes.
- Zero external dependencies
- Python 3.9+ compatible
- Cross-platform support
- Simple dataclass-based API
- Educational and practical use cases
Use uv, pip or your IDE to install the package.
- Use
uv cleanto clean the package. - Use
uv buildto build the package. You can find the built package in thedistfolder. - Use
uv publishto publish the package to PyPI with__token__as the user name and an access token from PyPI.