How bast/somepackage works
Somepackage is a small Python example library. A consumer uses the package’s public interface to call shout_and_repeat, which uppercases the input and calls my_add with that text twice; my_add returns the repeated string. The package also exposes its version. The README describes project-structure guidance, not additional runtime capabilities. The consumer-to-library invocation is implied by the public interface rather than shown in source.
Main entry points: __init__.py Package interface · shout.py Shout and repeat · add.py Addition · version.py Package version
Components 5
Other components
- Library consumer
- Package interface
somepackage/__init__.py - Shout and repeat
somepackage/shout.py - Addition
somepackage/add.py - Package version
somepackage/version.py
Connections 5
- Library consumer → Package interface: uses
- Package interface → Shout and repeat: exports
somepackage/__init__.py - Package interface → Addition: exports
somepackage/__init__.py - Package interface → Package version: imports
somepackage/__init__.py - Shout and repeat → Addition: calls
somepackage/shout.py