Skip to content

Commit

Permalink
rename project in files
Browse files Browse the repository at this point in the history
  • Loading branch information
stalbrec committed May 30, 2024
1 parent 0a49722 commit 8380b94
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# pyDWD: a minimal python interface to load and read GRIB data from the german weather services (DWD)
# dwd4cast: a minimal python interface to load and read GRIB weather forecast data from the german weather services (DWD)

## Installation
Installing `pyDWD`from pypi (e.g. with `pip`):
Installing `dwd4cast`from pypi (e.g. with `pip`):
```bash
pip install pyDWD
pip install dwd4cast
```
### Install binary dependencies

Expand Down
2 changes: 1 addition & 1 deletion pyDWD/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import importlib.metadata
__version__ = importlib.metadata.version('pyDWD')
__version__ = importlib.metadata.version('dwd4cast')
4 changes: 2 additions & 2 deletions pyDWD/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@


def cli():
parser = argparse.ArgumentParser(description='Download and read weather data from DWD')
parser = argparse.ArgumentParser(description='Download and read weather forecast data from DWD')
parser.add_argument("--lat", type=float, nargs="+", help="Latitude of the location(s)")
parser.add_argument("--lon", type=float, nargs="+", help="Longitude of the location(s)")

args = parser.parse_args()
print("=== ===\t=== ===\t=== ===")
print("=== ===\tpyDWD\t=== ===")
print("=== ===\tDWD4Cast\t=== ===")
print("=== ===\t=== ===\t=== ===")
print(f"Latitude: {args.lat}")
print(f"Longitude: {args.lon}")
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pyDWD"
name = "dwd4cast"
version = "0.1.0"
description = "python interface to collect and read GRIB files from the DWD"
authors = ["Albrecht, Steffen <[email protected]>"]
license = "MIT"
repository = "https://github.com/stalbrec/pyDWD"
repository = "https://github.com/stalbrec/dwd4cast"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
Expand All @@ -25,7 +25,7 @@ classifiers = [
"Topic :: Utilities",
]
packages = [
{ include = "pyDWD"},
{ include = "dwd4cast"},
]

[tool.poetry.dependencies]
Expand All @@ -38,7 +38,7 @@ fastapi = "^0.111.0"
uvicorn = "^0.30.0"

[tool.poetry.scripts]
pydwd = "pyDWD.cli:cli"
dwd4cast = "dwd4cast.cli:cli"

[tool.ruff]
target-version = "py311"
Expand Down

0 comments on commit 8380b94

Please sign in to comment.