diff --git a/pyproject.toml b/pyproject.toml index d3bf608..3753410 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ classifiers = [ requires-python = ">= 3.11" dynamic = ["version"] dependencies = [ - "pe" + "frozendict", ] [tool.maturin] @@ -27,11 +27,25 @@ features = ["pyo3/extension-module"] [project.optional-dependencies] -rust-backend = ["maturin"] +rust-backend = ["maturin", "pyo3"] + +stac_server = [ + "fastapi", +] docs = [ "sphinx", "sphinx-rtd-theme", "myst_nb", "sphinx-autobuild" +] + +dev = [ + "pytest", + "black", + "ruff", + "flake8", + "pre-commit", + "isort", + "responses", ] \ No newline at end of file diff --git a/tests/data/fdb_list_compact.gz b/test/data/fdb_list_compact.gz similarity index 100% rename from tests/data/fdb_list_compact.gz rename to test/data/fdb_list_compact.gz diff --git a/tests/data/fdb_list_porcelain.gz b/test/data/fdb_list_porcelain.gz similarity index 100% rename from tests/data/fdb_list_porcelain.gz rename to test/data/fdb_list_porcelain.gz diff --git a/tests/data/mars_list.gz b/test/data/mars_list.gz similarity index 100% rename from tests/data/mars_list.gz rename to test/data/mars_list.gz diff --git a/test/test.py b/test/test.py new file mode 100644 index 0000000..6bfc8b6 --- /dev/null +++ b/test/test.py @@ -0,0 +1,12 @@ +from qubed import Qube + +q = Qube.from_dict({ + "class=od" : { + "expver=0001": {"param=1":{}, "param=2":{}}, + "expver=0002": {"param=1":{}, "param=2":{}}, + }, + "class=rd" : { + "expver=0001": {"param=1":{}, "param=2":{}, "param=3":{}}, + "expver=0002": {"param=1":{}, "param=2":{}}, + }, +}) \ No newline at end of file diff --git a/tests/new_format.py b/test_scripts/new_format.py similarity index 100% rename from tests/new_format.py rename to test_scripts/new_format.py diff --git a/tests/open_climate_dt.py b/test_scripts/open_climate_dt.py similarity index 100% rename from tests/open_climate_dt.py rename to test_scripts/open_climate_dt.py diff --git a/tests/reconstruct.py b/test_scripts/reconstruct.py similarity index 100% rename from tests/reconstruct.py rename to test_scripts/reconstruct.py diff --git a/tests/test.py b/test_scripts/test.py similarity index 100% rename from tests/test.py rename to test_scripts/test.py