Skip to content

Commit

Permalink
Merge pull request #3 from CDCgov/2-create-basic-python-package-struc…
Browse files Browse the repository at this point in the history
…ture-forecasttools_py

Create Basic Python Package Structure, `forecasttools_py`
  • Loading branch information
AFg6K7h4fhy2 authored Sep 25, 2024
2 parents c9bce73 + d7aebd6 commit 29e330d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
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

0 comments on commit 29e330d

Please sign in to comment.