v1.2.0
This release focuses on making stock-analysis-program more reliable as a PyPI package, easier to use from the command line, and better documented for practical stock-analysis workflows.
Added
- Added a
stock-analysiscommand-line entry point. - Added a new package CLI module:
stock_analysis_program.cli. - Added package-specific exceptions for clearer error handling.
- Added shared internal utilities for ticker normalization and data validation.
- Added a practical exercises notebook:
practical_exercises.ipynb. - Added a new GitHub Actions CI workflow for testing, package checks, and builds.
Changed
- Updated package version to
1.2.0. - Modernized
pyproject.tomlmetadata using the[project]format. - Standardized public imports around:
from stock_analysis_program import StockPricePlotter- Kept root
main.pyas a compatibility wrapper for the new package CLI. - Improved fetchers with normalized ticker input and clearer empty-data checks.
- Updated README examples for PyPI installation.
- Updated documentation examples to use the correct package import path.
- Updated GitHub workflows for CI, PyPI publishing, and docs deployment.
Testing
- Replaced network-dependent tests with mocked tests.
- Added broader test coverage for fetchers and plotters.
- Confirmed local test suite passes:
14 passedPackaging
- Confirmed package metadata with:
poetry check- Confirmed distributable builds with:
poetry buildGenerated artifacts:
stock_analysis_program-1.2.0-py3-none-any.whlstock_analysis_program-1.2.0.tar.gz
Notes
This release prepares the package for a cleaner PyPI upload flow and a more predictable user experience when installed with:
pip install stock-analysis-program