Skip to content
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
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ repos:
args: [--autofix, --preserve-quotes]
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks
additional_dependencies: [toml-sort==0.24.2, tomlkit==0.15.1]
# - repo: https://github.com/gitleaks/gitleaks
# rev: v8.30.0
# hooks:
# - id: gitleaks
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.14
19 changes: 14 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=77", "setuptools_scm>=8"]

[dependency-groups]
dev = [
"mypy>=2.4.0",
"pandas-stubs>=3.0.5.260914",
"pre-commit>=4.6.2",
"pytest>=9.1.1"
]

[project]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering"
]
dependencies = ["cfgrib", "ecmwf-datastores-client", "ecmwf-opendata", "polytope-client", "xarray"]
dependencies = ["attrs", "cfgrib", "ecmwf-datastores-client", "ecmwf-opendata", "numpy", "pandas", "polytope-client", "xarray"]
description = "Xarray backend to access ECMWF datastores"
dynamic = ["version"]
license = {file = "LICENSE"}
license = "Apache-2.0"
license-files = ["LICENSE"]
name = "xarray-ecmwf"
readme = "README.md"
requires-python = ">=3.11"

[project.entry-points."xarray.backends"]
ecmwf = "xarray_ecmwf.engine_ecmwf:ECMWFBackendEntrypoint"
Expand Down Expand Up @@ -75,6 +81,9 @@ convention = "numpy"
[tool.setuptools]
packages = ["xarray_ecmwf"]

[tool.setuptools.package-data]
xarray_ecmwf = ["py.typed"]

[tool.setuptools_scm]
write_to = "xarray_ecmwf/version.py"
write_to_template = '''
Expand Down
115 changes: 111 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added xarray_ecmwf/py.typed
Empty file.
Loading