Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Basic Python Package Structure, forecasttools_py #3

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions forecasttools_py/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from trajectories_to_quantiles import trajectories_to_quantiles

__all__ = ["trajectories_to_quantiles"]
5 changes: 5 additions & 0 deletions forecasttools_py/to_flusight_hub.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Get a correctly-formatted set of Flusight `target_end_date` values alongside static FluSight output columns for the given reference date and set of horizons.
"""

# placeholder
8 changes: 8 additions & 0 deletions forecasttools_py/trajectories_to_quantiles.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
Aggregate individual trajectory timeseries or forecasts to quantile timeseries or forecasts.
"""


# placeholder
def trajectories_to_quantiles():
pass
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ description = "Python package for common pre- and post-processing operations don
authors = ["CFA"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "forecasttools_py"}]

[tool.poetry.dependencies]
python = "^3.12"
pre-commit = "^3.8.0"
polars = "^1.8.2"
arviz = "^0.19.0"


[build-system]
Expand Down
Loading