microdf-python 1.3.6__tar.gz → 1.3.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {microdf_python-1.3.6/microdf_python.egg-info → microdf_python-1.3.7}/PKG-INFO +2 -2
  2. {microdf_python-1.3.6 → microdf_python-1.3.7}/README.md +1 -1
  3. microdf_python-1.3.7/microdf/__init__.py +22 -0
  4. microdf_python-1.3.7/microdf/tests/test_version_metadata.py +8 -0
  5. {microdf_python-1.3.6 → microdf_python-1.3.7/microdf_python.egg-info}/PKG-INFO +2 -2
  6. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf_python.egg-info/SOURCES.txt +1 -0
  7. {microdf_python-1.3.6 → microdf_python-1.3.7}/pyproject.toml +1 -1
  8. microdf_python-1.3.6/microdf/__init__.py +0 -14
  9. {microdf_python-1.3.6 → microdf_python-1.3.7}/LICENSE +0 -0
  10. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/microdataframe.py +0 -0
  11. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/microseries.py +0 -0
  12. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/conftest.py +0 -0
  13. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/test_aggregation_errors.py +0 -0
  14. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/test_dataframe_weight_storage.py +0 -0
  15. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/test_microseries_dataframe.py +0 -0
  16. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/test_nullify_weights_index.py +0 -0
  17. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/test_pandas3_compatibility.py +0 -0
  18. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf/tests/test_quantile_missing_values.py +0 -0
  19. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf_python.egg-info/dependency_links.txt +0 -0
  20. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf_python.egg-info/requires.txt +0 -0
  21. {microdf_python-1.3.6 → microdf_python-1.3.7}/microdf_python.egg-info/top_level.txt +0 -0
  22. {microdf_python-1.3.6 → microdf_python-1.3.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microdf-python
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: Weighted pandas DataFrames and Series for survey microdata
5
5
  Author-email: Max Ghenis <max@policyengine.org>
6
6
  License: MIT
@@ -20,7 +20,7 @@ Requires-Dist: towncrier>=24.8.0; extra == "dev"
20
20
  Dynamic: license-file
21
21
 
22
22
  [![Build](https://github.com/PolicyEngine/microdf/workflows/Pull%20request/badge.svg)](https://github.com/PolicyEngine/microdf/actions)
23
- [![Codecov](https://codecov.io/gh/PolicyEngine/microdf/branch/master/graph/badge.svg)](https://codecov.io/gh/PolicyEngine/microdf)
23
+ [![Codecov](https://codecov.io/gh/PolicyEngine/microdf/branch/main/graph/badge.svg)](https://codecov.io/gh/PolicyEngine/microdf)
24
24
 
25
25
  # microdf
26
26
  Weighted pandas DataFrames and Series for survey microdata analysis.
@@ -1,5 +1,5 @@
1
1
  [![Build](https://github.com/PolicyEngine/microdf/workflows/Pull%20request/badge.svg)](https://github.com/PolicyEngine/microdf/actions)
2
- [![Codecov](https://codecov.io/gh/PolicyEngine/microdf/branch/master/graph/badge.svg)](https://codecov.io/gh/PolicyEngine/microdf)
2
+ [![Codecov](https://codecov.io/gh/PolicyEngine/microdf/branch/main/graph/badge.svg)](https://codecov.io/gh/PolicyEngine/microdf)
3
3
 
4
4
  # microdf
5
5
  Weighted pandas DataFrames and Series for survey microdata analysis.
@@ -0,0 +1,22 @@
1
+ from importlib.metadata import PackageNotFoundError, version
2
+
3
+ from .microdataframe import MicroDataFrame, MicroDataFrameGroupBy
4
+ from .microseries import MicroSeries, MicroSeriesGroupBy
5
+
6
+ name = "microdf"
7
+
8
+ # Read the version from package metadata so it can't drift from
9
+ # pyproject.toml (the automated bump only touches pyproject).
10
+ try:
11
+ __version__ = version("microdf-python")
12
+ except PackageNotFoundError: # pragma: no cover - running from a source tree
13
+ __version__ = "unknown"
14
+
15
+ __all__ = [
16
+ # microseries.py
17
+ "MicroSeries",
18
+ "MicroSeriesGroupBy",
19
+ # microdataframe.py
20
+ "MicroDataFrame",
21
+ "MicroDataFrameGroupBy",
22
+ ]
@@ -0,0 +1,8 @@
1
+ import microdf as mdf
2
+
3
+
4
+ def test_version_matches_package_metadata():
5
+ """__version__ must not drift from pyproject.toml."""
6
+ from importlib.metadata import version
7
+
8
+ assert mdf.__version__ == version("microdf-python")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microdf-python
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: Weighted pandas DataFrames and Series for survey microdata
5
5
  Author-email: Max Ghenis <max@policyengine.org>
6
6
  License: MIT
@@ -20,7 +20,7 @@ Requires-Dist: towncrier>=24.8.0; extra == "dev"
20
20
  Dynamic: license-file
21
21
 
22
22
  [![Build](https://github.com/PolicyEngine/microdf/workflows/Pull%20request/badge.svg)](https://github.com/PolicyEngine/microdf/actions)
23
- [![Codecov](https://codecov.io/gh/PolicyEngine/microdf/branch/master/graph/badge.svg)](https://codecov.io/gh/PolicyEngine/microdf)
23
+ [![Codecov](https://codecov.io/gh/PolicyEngine/microdf/branch/main/graph/badge.svg)](https://codecov.io/gh/PolicyEngine/microdf)
24
24
 
25
25
  # microdf
26
26
  Weighted pandas DataFrames and Series for survey microdata analysis.
@@ -11,6 +11,7 @@ microdf/tests/test_microseries_dataframe.py
11
11
  microdf/tests/test_nullify_weights_index.py
12
12
  microdf/tests/test_pandas3_compatibility.py
13
13
  microdf/tests/test_quantile_missing_values.py
14
+ microdf/tests/test_version_metadata.py
14
15
  microdf_python.egg-info/PKG-INFO
15
16
  microdf_python.egg-info/SOURCES.txt
16
17
  microdf_python.egg-info/dependency_links.txt
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "microdf-python"
7
- version = "1.3.6"
7
+ version = "1.3.7"
8
8
  description = "Weighted pandas DataFrames and Series for survey microdata"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -1,14 +0,0 @@
1
- from .microdataframe import MicroDataFrame, MicroDataFrameGroupBy
2
- from .microseries import MicroSeries, MicroSeriesGroupBy
3
-
4
- name = "microdf"
5
- __version__ = "0.1.0"
6
-
7
- __all__ = [
8
- # microseries.py
9
- "MicroSeries",
10
- "MicroSeriesGroupBy",
11
- # microdataframe.py
12
- "MicroDataFrame",
13
- "MicroDataFrameGroupBy",
14
- ]
File without changes
File without changes