copulas 0.10.1.dev0__tar.gz → 0.11.0.dev0__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.

Potentially problematic release.


This version of copulas might be problematic. Click here for more details.

Files changed (38) hide show
  1. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/PKG-INFO +20 -10
  2. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/__init__.py +9 -3
  3. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas.egg-info/PKG-INFO +20 -10
  4. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas.egg-info/requires.txt +25 -10
  5. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/pyproject.toml +20 -11
  6. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/tests/test_tasks.py +1 -0
  7. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/LICENSE +0 -0
  8. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/README.md +0 -0
  9. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/__init__.py +0 -0
  10. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/base.py +0 -0
  11. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/clayton.py +0 -0
  12. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/frank.py +0 -0
  13. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/gumbel.py +0 -0
  14. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/independence.py +0 -0
  15. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/bivariate/utils.py +0 -0
  16. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/datasets.py +0 -0
  17. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/multivariate/__init__.py +0 -0
  18. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/multivariate/base.py +0 -0
  19. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/multivariate/gaussian.py +0 -0
  20. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/multivariate/tree.py +0 -0
  21. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/multivariate/vine.py +0 -0
  22. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/optimize/__init__.py +0 -0
  23. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/__init__.py +0 -0
  24. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/base.py +0 -0
  25. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/beta.py +0 -0
  26. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/gamma.py +0 -0
  27. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/gaussian.py +0 -0
  28. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/gaussian_kde.py +0 -0
  29. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/log_laplace.py +0 -0
  30. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/selection.py +0 -0
  31. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/student_t.py +0 -0
  32. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/truncated_gaussian.py +0 -0
  33. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/univariate/uniform.py +0 -0
  34. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas/visualization.py +0 -0
  35. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas.egg-info/SOURCES.txt +0 -0
  36. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas.egg-info/dependency_links.txt +0 -0
  37. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/copulas.egg-info/top_level.txt +0 -0
  38. {copulas-0.10.1.dev0 → copulas-0.11.0.dev0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: copulas
3
- Version: 0.10.1.dev0
3
+ Version: 0.11.0.dev0
4
4
  Summary: Create tabular synthetic data using copulas-based modeling.
5
5
  Author-email: "DataCebo, Inc." <info@sdv.dev>
6
6
  License: BSL-1.1
@@ -19,27 +19,31 @@ Classifier: Programming Language :: Python :: 3.8
19
19
  Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
22
23
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
- Requires-Python: <3.12,>=3.8
24
+ Requires-Python: <3.13,>=3.8
24
25
  Description-Content-Type: text/markdown
25
26
  License-File: LICENSE
26
- Requires-Dist: numpy<2,>=1.20.0; python_version < "3.10"
27
- Requires-Dist: numpy<2,>=1.23.3; python_version >= "3.10"
27
+ Requires-Dist: numpy>=1.20.0; python_version < "3.10"
28
+ Requires-Dist: numpy>=1.23.3; python_version >= "3.10" and python_version < "3.12"
29
+ Requires-Dist: numpy>=1.26.0; python_version >= "3.12"
28
30
  Requires-Dist: pandas>=1.1.3; python_version < "3.10"
29
31
  Requires-Dist: pandas>=1.3.4; python_version >= "3.10" and python_version < "3.11"
30
32
  Requires-Dist: pandas>=1.5.0; python_version >= "3.11"
31
- Requires-Dist: plotly<6,>=5.10.0
32
- Requires-Dist: scipy<2,>=1.5.4; python_version < "3.10"
33
- Requires-Dist: scipy<2,>=1.9.2; python_version >= "3.10"
33
+ Requires-Dist: plotly>=5.10.0
34
+ Requires-Dist: scipy>=1.5.4; python_version < "3.10"
35
+ Requires-Dist: scipy>=1.9.2; python_version >= "3.10" and python_version < "3.12"
36
+ Requires-Dist: scipy>=1.12.0; python_version >= "3.12"
34
37
  Provides-Extra: tutorials
35
38
  Requires-Dist: markupsafe<=2.0.1; extra == "tutorials"
36
- Requires-Dist: scikit-learn<1.2,>=0.24; extra == "tutorials"
39
+ Requires-Dist: scikit-learn<1.2,>=0.24; python_version < "3.10" and extra == "tutorials"
40
+ Requires-Dist: scikit-learn<1.5,>=0.24; python_version >= "3.10" and extra == "tutorials"
37
41
  Requires-Dist: jupyter<2,>=1.0.0; extra == "tutorials"
38
42
  Provides-Extra: test
39
43
  Requires-Dist: copulas[tutorials]; extra == "test"
40
44
  Requires-Dist: pytest<7,>=6.2.5; extra == "test"
41
45
  Requires-Dist: pytest-cov<3,>=2.6.0; extra == "test"
42
- Requires-Dist: pytest-rerunfailures<10,>=9.0.0; extra == "test"
46
+ Requires-Dist: pytest-rerunfailures<15,>=10.3; extra == "test"
43
47
  Requires-Dist: rundoc<0.5,>=0.4.3; extra == "test"
44
48
  Requires-Dist: tomli<3,>=2.0.0; extra == "test"
45
49
  Provides-Extra: dev
@@ -47,11 +51,17 @@ Requires-Dist: copulas[test,tutorials]; extra == "dev"
47
51
  Requires-Dist: pip>=9.0.1; extra == "dev"
48
52
  Requires-Dist: build<2,>=1.0.0; extra == "dev"
49
53
  Requires-Dist: bump-my-version<1,>=0.18.3; extra == "dev"
50
- Requires-Dist: watchdog<0.11,>=0.8.3; extra == "dev"
54
+ Requires-Dist: watchdog<5,>=1.0.1; extra == "dev"
51
55
  Requires-Dist: m2r<0.3,>=0.2.0; extra == "dev"
52
56
  Requires-Dist: nbsphinx<0.7,>=0.5.0; extra == "dev"
53
57
  Requires-Dist: Sphinx<3,>=1.7.1; extra == "dev"
54
58
  Requires-Dist: sphinx_rtd_theme<0.5,>=0.2.4; extra == "dev"
59
+ Requires-Dist: sphinxcontrib_applehelp<1.0.8; extra == "dev"
60
+ Requires-Dist: sphinxcontrib-devhelp<1.0.6; extra == "dev"
61
+ Requires-Dist: sphinxcontrib-htmlhelp<2.0.5; extra == "dev"
62
+ Requires-Dist: sphinxcontrib_serializinghtml<1.1.10; extra == "dev"
63
+ Requires-Dist: sphinxcontrib_qthelp<1.0.7; extra == "dev"
64
+ Requires-Dist: alabaster<0.7.13; extra == "dev"
55
65
  Requires-Dist: Jinja2<3,>=2; extra == "dev"
56
66
  Requires-Dist: flake8<4,>=3.7.7; extra == "dev"
57
67
  Requires-Dist: isort<5,>=4.3.4; extra == "dev"
@@ -4,18 +4,18 @@
4
4
 
5
5
  __author__ = 'DataCebo, Inc.'
6
6
  __email__ = 'info@sdv.dev'
7
- __version__ = '0.10.1.dev0'
7
+ __version__ = '0.11.0.dev0'
8
8
 
9
9
  import contextlib
10
10
  import importlib
11
11
  import sys
12
12
  import warnings
13
13
  from copy import deepcopy
14
+ from importlib.metadata import entry_points
14
15
  from operator import attrgetter
15
16
 
16
17
  import numpy as np
17
18
  import pandas as pd
18
- from pkg_resources import iter_entry_points
19
19
 
20
20
  EPSILON = np.finfo(np.float32).eps
21
21
 
@@ -311,7 +311,13 @@ def _get_addon_target(addon_path_name):
311
311
  def _find_addons():
312
312
  """Find and load all copulas add-ons."""
313
313
  group = 'copulas_modules'
314
- for entry_point in iter_entry_points(group=group):
314
+ try:
315
+ eps = entry_points(group=group)
316
+ except TypeError:
317
+ # Load-time selection requires Python >= 3.10 or importlib_metadata >= 3.6
318
+ eps = entry_points().get(group, [])
319
+
320
+ for entry_point in eps:
315
321
  try:
316
322
  addon = entry_point.load()
317
323
  except Exception: # pylint: disable=broad-exception-caught
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: copulas
3
- Version: 0.10.1.dev0
3
+ Version: 0.11.0.dev0
4
4
  Summary: Create tabular synthetic data using copulas-based modeling.
5
5
  Author-email: "DataCebo, Inc." <info@sdv.dev>
6
6
  License: BSL-1.1
@@ -19,27 +19,31 @@ Classifier: Programming Language :: Python :: 3.8
19
19
  Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
22
23
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
- Requires-Python: <3.12,>=3.8
24
+ Requires-Python: <3.13,>=3.8
24
25
  Description-Content-Type: text/markdown
25
26
  License-File: LICENSE
26
- Requires-Dist: numpy<2,>=1.20.0; python_version < "3.10"
27
- Requires-Dist: numpy<2,>=1.23.3; python_version >= "3.10"
27
+ Requires-Dist: numpy>=1.20.0; python_version < "3.10"
28
+ Requires-Dist: numpy>=1.23.3; python_version >= "3.10" and python_version < "3.12"
29
+ Requires-Dist: numpy>=1.26.0; python_version >= "3.12"
28
30
  Requires-Dist: pandas>=1.1.3; python_version < "3.10"
29
31
  Requires-Dist: pandas>=1.3.4; python_version >= "3.10" and python_version < "3.11"
30
32
  Requires-Dist: pandas>=1.5.0; python_version >= "3.11"
31
- Requires-Dist: plotly<6,>=5.10.0
32
- Requires-Dist: scipy<2,>=1.5.4; python_version < "3.10"
33
- Requires-Dist: scipy<2,>=1.9.2; python_version >= "3.10"
33
+ Requires-Dist: plotly>=5.10.0
34
+ Requires-Dist: scipy>=1.5.4; python_version < "3.10"
35
+ Requires-Dist: scipy>=1.9.2; python_version >= "3.10" and python_version < "3.12"
36
+ Requires-Dist: scipy>=1.12.0; python_version >= "3.12"
34
37
  Provides-Extra: tutorials
35
38
  Requires-Dist: markupsafe<=2.0.1; extra == "tutorials"
36
- Requires-Dist: scikit-learn<1.2,>=0.24; extra == "tutorials"
39
+ Requires-Dist: scikit-learn<1.2,>=0.24; python_version < "3.10" and extra == "tutorials"
40
+ Requires-Dist: scikit-learn<1.5,>=0.24; python_version >= "3.10" and extra == "tutorials"
37
41
  Requires-Dist: jupyter<2,>=1.0.0; extra == "tutorials"
38
42
  Provides-Extra: test
39
43
  Requires-Dist: copulas[tutorials]; extra == "test"
40
44
  Requires-Dist: pytest<7,>=6.2.5; extra == "test"
41
45
  Requires-Dist: pytest-cov<3,>=2.6.0; extra == "test"
42
- Requires-Dist: pytest-rerunfailures<10,>=9.0.0; extra == "test"
46
+ Requires-Dist: pytest-rerunfailures<15,>=10.3; extra == "test"
43
47
  Requires-Dist: rundoc<0.5,>=0.4.3; extra == "test"
44
48
  Requires-Dist: tomli<3,>=2.0.0; extra == "test"
45
49
  Provides-Extra: dev
@@ -47,11 +51,17 @@ Requires-Dist: copulas[test,tutorials]; extra == "dev"
47
51
  Requires-Dist: pip>=9.0.1; extra == "dev"
48
52
  Requires-Dist: build<2,>=1.0.0; extra == "dev"
49
53
  Requires-Dist: bump-my-version<1,>=0.18.3; extra == "dev"
50
- Requires-Dist: watchdog<0.11,>=0.8.3; extra == "dev"
54
+ Requires-Dist: watchdog<5,>=1.0.1; extra == "dev"
51
55
  Requires-Dist: m2r<0.3,>=0.2.0; extra == "dev"
52
56
  Requires-Dist: nbsphinx<0.7,>=0.5.0; extra == "dev"
53
57
  Requires-Dist: Sphinx<3,>=1.7.1; extra == "dev"
54
58
  Requires-Dist: sphinx_rtd_theme<0.5,>=0.2.4; extra == "dev"
59
+ Requires-Dist: sphinxcontrib_applehelp<1.0.8; extra == "dev"
60
+ Requires-Dist: sphinxcontrib-devhelp<1.0.6; extra == "dev"
61
+ Requires-Dist: sphinxcontrib-htmlhelp<2.0.5; extra == "dev"
62
+ Requires-Dist: sphinxcontrib_serializinghtml<1.1.10; extra == "dev"
63
+ Requires-Dist: sphinxcontrib_qthelp<1.0.7; extra == "dev"
64
+ Requires-Dist: alabaster<0.7.13; extra == "dev"
55
65
  Requires-Dist: Jinja2<3,>=2; extra == "dev"
56
66
  Requires-Dist: flake8<4,>=3.7.7; extra == "dev"
57
67
  Requires-Dist: isort<5,>=4.3.4; extra == "dev"
@@ -1,30 +1,40 @@
1
- plotly<6,>=5.10.0
1
+ plotly>=5.10.0
2
2
 
3
3
  [:python_version < "3.10"]
4
- numpy<2,>=1.20.0
4
+ numpy>=1.20.0
5
5
  pandas>=1.1.3
6
- scipy<2,>=1.5.4
7
-
8
- [:python_version >= "3.10"]
9
- numpy<2,>=1.23.3
10
- scipy<2,>=1.9.2
6
+ scipy>=1.5.4
11
7
 
12
8
  [:python_version >= "3.10" and python_version < "3.11"]
13
9
  pandas>=1.3.4
14
10
 
11
+ [:python_version >= "3.10" and python_version < "3.12"]
12
+ numpy>=1.23.3
13
+ scipy>=1.9.2
14
+
15
15
  [:python_version >= "3.11"]
16
16
  pandas>=1.5.0
17
17
 
18
+ [:python_version >= "3.12"]
19
+ numpy>=1.26.0
20
+ scipy>=1.12.0
21
+
18
22
  [dev]
19
23
  copulas[test,tutorials]
20
24
  pip>=9.0.1
21
25
  build<2,>=1.0.0
22
26
  bump-my-version<1,>=0.18.3
23
- watchdog<0.11,>=0.8.3
27
+ watchdog<5,>=1.0.1
24
28
  m2r<0.3,>=0.2.0
25
29
  nbsphinx<0.7,>=0.5.0
26
30
  Sphinx<3,>=1.7.1
27
31
  sphinx_rtd_theme<0.5,>=0.2.4
32
+ sphinxcontrib_applehelp<1.0.8
33
+ sphinxcontrib-devhelp<1.0.6
34
+ sphinxcontrib-htmlhelp<2.0.5
35
+ sphinxcontrib_serializinghtml<1.1.10
36
+ sphinxcontrib_qthelp<1.0.7
37
+ alabaster<0.7.13
28
38
  Jinja2<3,>=2
29
39
  flake8<4,>=3.7.7
30
40
  isort<5,>=4.3.4
@@ -65,11 +75,16 @@ docutils<0.15,>=0.10
65
75
  copulas[tutorials]
66
76
  pytest<7,>=6.2.5
67
77
  pytest-cov<3,>=2.6.0
68
- pytest-rerunfailures<10,>=9.0.0
78
+ pytest-rerunfailures<15,>=10.3
69
79
  rundoc<0.5,>=0.4.3
70
80
  tomli<3,>=2.0.0
71
81
 
72
82
  [tutorials]
73
83
  markupsafe<=2.0.1
74
- scikit-learn<1.2,>=0.24
75
84
  jupyter<2,>=1.0.0
85
+
86
+ [tutorials:python_version < "3.10"]
87
+ scikit-learn<1.2,>=0.24
88
+
89
+ [tutorials:python_version >= "3.10"]
90
+ scikit-learn<1.5,>=0.24
@@ -12,22 +12,25 @@ classifiers = [
12
12
  'Programming Language :: Python :: 3.9',
13
13
  'Programming Language :: Python :: 3.10',
14
14
  'Programming Language :: Python :: 3.11',
15
+ 'Programming Language :: Python :: 3.12',
15
16
  'Topic :: Scientific/Engineering :: Artificial Intelligence',
16
17
  ]
17
18
  keywords = [ 'copulas' ]
18
19
  dynamic = ["version"]
19
20
  license = { text = 'BSL-1.1' }
20
- requires-python = '>=3.8,<3.12'
21
+ requires-python = '>=3.8,<3.13'
21
22
  readme = 'README.md'
22
23
  dependencies = [
23
- "numpy>=1.20.0,<2;python_version<'3.10'",
24
- "numpy>=1.23.3,<2;python_version>='3.10'",
24
+ "numpy>=1.20.0;python_version<'3.10'",
25
+ "numpy>=1.23.3;python_version>='3.10' and python_version<'3.12'",
26
+ "numpy>=1.26.0;python_version>='3.12'",
25
27
  "pandas>=1.1.3;python_version<'3.10'",
26
28
  "pandas>=1.3.4;python_version>='3.10' and python_version<'3.11'",
27
29
  "pandas>=1.5.0;python_version>='3.11'",
28
- 'plotly>=5.10.0,<6',
29
- "scipy>=1.5.4,<2;python_version<'3.10'",
30
- "scipy>=1.9.2,<2;python_version>='3.10'",
30
+ 'plotly>=5.10.0',
31
+ "scipy>=1.5.4;python_version<'3.10'",
32
+ "scipy>=1.9.2;python_version>='3.10' and python_version<'3.12'",
33
+ "scipy>=1.12.0;python_version>='3.12'",
31
34
  ]
32
35
 
33
36
  [project.urls]
@@ -47,14 +50,15 @@ version = {attr = 'copulas.__version__'}
47
50
  [project.optional-dependencies]
48
51
  tutorials = [
49
52
  'markupsafe<=2.0.1',
50
- 'scikit-learn>=0.24,<1.2',
53
+ "scikit-learn>=0.24,<1.2;python_version<'3.10'",
54
+ "scikit-learn>=0.24,<1.5;python_version>='3.10'",
51
55
  'jupyter>=1.0.0,<2',
52
56
  ]
53
57
  test = [
54
58
  'copulas[tutorials]',
55
59
  'pytest>=6.2.5,<7',
56
60
  'pytest-cov>=2.6.0,<3',
57
- 'pytest-rerunfailures>=9.0.0,<10',
61
+ 'pytest-rerunfailures>=10.3,<15',
58
62
  'rundoc>=0.4.3,<0.5',
59
63
  'tomli>=2.0.0,<3',
60
64
  ]
@@ -65,13 +69,19 @@ dev = [
65
69
  'pip>=9.0.1',
66
70
  'build>=1.0.0,<2',
67
71
  'bump-my-version>=0.18.3,<1',
68
- 'watchdog>=0.8.3,<0.11',
72
+ 'watchdog>=1.0.1,<5',
69
73
 
70
74
  # docs
71
75
  'm2r>=0.2.0,<0.3',
72
76
  'nbsphinx>=0.5.0,<0.7',
73
77
  'Sphinx>=1.7.1,<3',
74
78
  'sphinx_rtd_theme>=0.2.4,<0.5',
79
+ 'sphinxcontrib_applehelp<1.0.8',
80
+ 'sphinxcontrib-devhelp<1.0.6',
81
+ 'sphinxcontrib-htmlhelp<2.0.5',
82
+ 'sphinxcontrib_serializinghtml<1.1.10',
83
+ 'sphinxcontrib_qthelp<1.0.7',
84
+ 'alabaster<0.7.13',
75
85
 
76
86
  # Jinja2>=3 makes the sphinx theme fail
77
87
  'Jinja2>=2,<3',
@@ -158,7 +168,6 @@ namespaces = false
158
168
  '*.png',
159
169
  '*.gif'
160
170
  ]
161
- 'tests' = ['*']
162
171
 
163
172
  [tool.setuptools.exclude-package-data]
164
173
  '*' = [
@@ -167,7 +176,7 @@ namespaces = false
167
176
  ]
168
177
 
169
178
  [tool.bumpversion]
170
- current_version = "0.10.1.dev0"
179
+ current_version = "0.11.0.dev0"
171
180
  commit = true
172
181
  tag = true
173
182
  parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
@@ -3,6 +3,7 @@ from tasks import _get_minimum_versions
3
3
 
4
4
  def test_get_minimum_versions():
5
5
  """Test the ``_get_minimum_versions`` method.
6
+
6
7
  The method should return the minimum versions of the dependencies for the given python version.
7
8
  If a library is linked to an URL, the minimum version should be the URL.
8
9
  """
File without changes
File without changes
File without changes