copulas 0.10.1.dev0__py3-none-any.whl → 0.11.0__py3-none-any.whl

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.

copulas/__init__.py CHANGED
@@ -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'
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
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,28 +19,37 @@ 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: plotly <6,>=5.10.0
27
- Requires-Dist: numpy <2,>=1.20.0 ; python_version < "3.10"
27
+ Requires-Dist: plotly >=5.10.0
28
+ Requires-Dist: numpy >=1.20.0 ; python_version < "3.10"
28
29
  Requires-Dist: pandas >=1.1.3 ; python_version < "3.10"
29
- Requires-Dist: scipy <2,>=1.5.4 ; python_version < "3.10"
30
- Requires-Dist: numpy <2,>=1.23.3 ; python_version >= "3.10"
31
- Requires-Dist: scipy <2,>=1.9.2 ; python_version >= "3.10"
30
+ Requires-Dist: scipy >=1.5.4 ; python_version < "3.10"
32
31
  Requires-Dist: pandas >=1.3.4 ; python_version >= "3.10" and python_version < "3.11"
32
+ Requires-Dist: numpy >=1.23.3 ; python_version >= "3.10" and python_version < "3.12"
33
+ Requires-Dist: scipy >=1.9.2 ; python_version >= "3.10" and python_version < "3.12"
33
34
  Requires-Dist: pandas >=1.5.0 ; python_version >= "3.11"
35
+ Requires-Dist: numpy >=1.26.0 ; python_version >= "3.12"
36
+ Requires-Dist: scipy >=1.12.0 ; python_version >= "3.12"
34
37
  Provides-Extra: dev
35
38
  Requires-Dist: copulas[test,tutorials] ; extra == 'dev'
36
39
  Requires-Dist: pip >=9.0.1 ; extra == 'dev'
37
40
  Requires-Dist: build <2,>=1.0.0 ; extra == 'dev'
38
41
  Requires-Dist: bump-my-version <1,>=0.18.3 ; extra == 'dev'
39
- Requires-Dist: watchdog <0.11,>=0.8.3 ; extra == 'dev'
42
+ Requires-Dist: watchdog <5,>=1.0.1 ; extra == 'dev'
40
43
  Requires-Dist: m2r <0.3,>=0.2.0 ; extra == 'dev'
41
44
  Requires-Dist: nbsphinx <0.7,>=0.5.0 ; extra == 'dev'
42
45
  Requires-Dist: Sphinx <3,>=1.7.1 ; extra == 'dev'
43
46
  Requires-Dist: sphinx-rtd-theme <0.5,>=0.2.4 ; extra == 'dev'
47
+ Requires-Dist: sphinxcontrib-applehelp <1.0.8 ; extra == 'dev'
48
+ Requires-Dist: sphinxcontrib-devhelp <1.0.6 ; extra == 'dev'
49
+ Requires-Dist: sphinxcontrib-htmlhelp <2.0.5 ; extra == 'dev'
50
+ Requires-Dist: sphinxcontrib-serializinghtml <1.1.10 ; extra == 'dev'
51
+ Requires-Dist: sphinxcontrib-qthelp <1.0.7 ; extra == 'dev'
52
+ Requires-Dist: alabaster <0.7.13 ; extra == 'dev'
44
53
  Requires-Dist: Jinja2 <3,>=2 ; extra == 'dev'
45
54
  Requires-Dist: flake8 <4,>=3.7.7 ; extra == 'dev'
46
55
  Requires-Dist: isort <5,>=4.3.4 ; extra == 'dev'
@@ -80,13 +89,14 @@ Provides-Extra: test
80
89
  Requires-Dist: copulas[tutorials] ; extra == 'test'
81
90
  Requires-Dist: pytest <7,>=6.2.5 ; extra == 'test'
82
91
  Requires-Dist: pytest-cov <3,>=2.6.0 ; extra == 'test'
83
- Requires-Dist: pytest-rerunfailures <10,>=9.0.0 ; extra == 'test'
92
+ Requires-Dist: pytest-rerunfailures <15,>=10.3 ; extra == 'test'
84
93
  Requires-Dist: rundoc <0.5,>=0.4.3 ; extra == 'test'
85
94
  Requires-Dist: tomli <3,>=2.0.0 ; extra == 'test'
86
95
  Provides-Extra: tutorials
87
96
  Requires-Dist: markupsafe <=2.0.1 ; extra == 'tutorials'
88
- Requires-Dist: scikit-learn <1.2,>=0.24 ; extra == 'tutorials'
89
97
  Requires-Dist: jupyter <2,>=1.0.0 ; extra == 'tutorials'
98
+ Requires-Dist: scikit-learn <1.2,>=0.24 ; (python_version < "3.10") and extra == 'tutorials'
99
+ Requires-Dist: scikit-learn <1.5,>=0.24 ; (python_version >= "3.10") and extra == 'tutorials'
90
100
 
91
101
  <p style="text-align:center">
92
102
  <i>This repository is part of <a href="https://sdv.dev">The Synthetic Data Vault Project</a>, a project from <a href="https://datacebo.com">DataCebo</a>.</i>
@@ -1,4 +1,4 @@
1
- copulas/__init__.py,sha256=idtg-SyIGt2i1Hxk9FExWxaP72HGeJ0fKothSTkCFDk,9286
1
+ copulas/__init__.py,sha256=yGxUqvMyxAJK25YP2C0S9tgrXIhnUadf81_KYvqk9tk,9453
2
2
  copulas/datasets.py,sha256=KMNCJXcOOMp28xML-Q_wQHwrpflRnR9Kkcxre-ubG9A,6831
3
3
  copulas/visualization.py,sha256=f4wIkJ_AKrvBtrDGoNP0lofO75KL2JrHKhtLOz-GPkA,9707
4
4
  copulas/bivariate/__init__.py,sha256=dn4sz2B0Nqt6p4eJG6CpHYhtvLQcZekxlmj5Kd0zcvo,5087
@@ -25,8 +25,8 @@ copulas/univariate/selection.py,sha256=uC-l8osnbx50Gqx4-WLfKTLco0ncb41TDEbdt1hp_
25
25
  copulas/univariate/student_t.py,sha256=2CqIECLk4-rtFUASn79lUk8EHvIyIqjgRo1h2xEDpEk,823
26
26
  copulas/univariate/truncated_gaussian.py,sha256=UQaxmK3LAFDE7RutO1tcsdov8ZFGPZhoKeNphlyQw4w,2074
27
27
  copulas/univariate/uniform.py,sha256=Jou_lxzDHc2BMNIJ7iLh5ffw1xJvBIiAAd2r3k_Mqes,754
28
- copulas-0.10.1.dev0.dist-info/LICENSE,sha256=cORU2kpIo9Qyy7Kv2ZpYDIIcksrjqlNEL9c9Ic1ayo0,4822
29
- copulas-0.10.1.dev0.dist-info/METADATA,sha256=7jQilckxBwh68Rafmj5xIsXD1fPU6CphOjoN1Zi8PoI,9798
30
- copulas-0.10.1.dev0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
31
- copulas-0.10.1.dev0.dist-info/top_level.txt,sha256=xNXWuWoZ-U3Gb734WqQxkF5RIeGDVU3IstjD-RnWsk8,8
32
- copulas-0.10.1.dev0.dist-info/RECORD,,
28
+ copulas-0.11.0.dist-info/LICENSE,sha256=cORU2kpIo9Qyy7Kv2ZpYDIIcksrjqlNEL9c9Ic1ayo0,4822
29
+ copulas-0.11.0.dist-info/METADATA,sha256=GKg3hg7BdAKgDD-9EcHfMghjd0ZFBin9K3K6i0plYZo,10485
30
+ copulas-0.11.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
31
+ copulas-0.11.0.dist-info/top_level.txt,sha256=xNXWuWoZ-U3Gb734WqQxkF5RIeGDVU3IstjD-RnWsk8,8
32
+ copulas-0.11.0.dist-info/RECORD,,