Repository: astropenguin/pandas-dataclasses

Issue:
Rename dataspec module
- [x] Rename module (`dataspec` → `specs`)
- [x] Rename test script (`test_dataspec.py` → `test_specs.py`)

Discussion:

Patch:
diff --git a/pandas_dataclasses/__init__.py b/pandas_dataclasses/__init__.py
index 7a5a5be..f6b4111 100644
--- a/pandas_dataclasses/__init__.py
+++ b/pandas_dataclasses/__init__.py
@@ -4,12 +4,12 @@ __version__ = "0.1.0"
 
 
 # submodules
-from . import dataspec
 from . import series
+from . import specs
 from . import typing
 
 
 # aliases
-from .dataspec import *
 from .series import *
+from .specs import *
 from .typing import *
diff --git a/pandas_dataclasses/series.py b/pandas_dataclasses/series.py
index eb327c8..00396a8 100644
--- a/pandas_dataclasses/series.py
+++ b/pandas_dataclasses/series.py
@@ -15,7 +15,7 @@ from typing_extensions import ParamSpec, Protocol
 
 
 # submodules
-from .dataspec import DataSpec
+from .specs import DataSpec
 from .typing import AnyDType, DataClass
 
 


Test patch:
diff --git a/pandas_dataclasses/dataspec.py b/pandas_dataclasses/specs.py
similarity index 100%
rename from pandas_dataclasses/dataspec.py
rename to pandas_dataclasses/specs.py
diff --git a/tests/test_dataspec.py b/tests/test_specs.py
similarity index 98%
rename from tests/test_dataspec.py
rename to tests/test_specs.py
index 961a35f..bd59d59 100644
--- a/tests/test_dataspec.py
+++ b/tests/test_specs.py
@@ -4,7 +4,7 @@ from dataclasses import MISSING, dataclass
 
 # dependencies
 import numpy as np
-from pandas_dataclasses.dataspec import DataSpec
+from pandas_dataclasses.specs import DataSpec
 from pandas_dataclasses.typing import Attr, Data, Index, Name
 from typing_extensions import Annotated, Literal