copulas 0.14.1__tar.gz → 0.14.2.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.
Files changed (40) hide show
  1. {copulas-0.14.1 → copulas-0.14.2.dev0}/PKG-INFO +9 -12
  2. {copulas-0.14.1 → copulas-0.14.2.dev0}/README.md +4 -4
  3. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/__init__.py +1 -1
  4. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/visualization.py +21 -4
  5. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas.egg-info/PKG-INFO +9 -12
  6. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas.egg-info/requires.txt +4 -8
  7. {copulas-0.14.1 → copulas-0.14.2.dev0}/pyproject.toml +5 -8
  8. {copulas-0.14.1 → copulas-0.14.2.dev0}/LICENSE +0 -0
  9. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/__init__.py +0 -0
  10. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/base.py +0 -0
  11. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/clayton.py +0 -0
  12. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/frank.py +0 -0
  13. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/gumbel.py +0 -0
  14. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/independence.py +0 -0
  15. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/bivariate/utils.py +0 -0
  16. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/datasets.py +0 -0
  17. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/errors.py +0 -0
  18. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/multivariate/__init__.py +0 -0
  19. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/multivariate/base.py +0 -0
  20. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/multivariate/gaussian.py +0 -0
  21. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/multivariate/tree.py +0 -0
  22. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/multivariate/vine.py +0 -0
  23. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/optimize/__init__.py +0 -0
  24. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/__init__.py +0 -0
  25. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/base.py +0 -0
  26. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/beta.py +0 -0
  27. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/gamma.py +0 -0
  28. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/gaussian.py +0 -0
  29. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/gaussian_kde.py +0 -0
  30. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/log_laplace.py +0 -0
  31. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/selection.py +0 -0
  32. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/student_t.py +0 -0
  33. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/truncated_gaussian.py +0 -0
  34. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/univariate/uniform.py +0 -0
  35. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas/utils.py +0 -0
  36. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas.egg-info/SOURCES.txt +0 -0
  37. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas.egg-info/dependency_links.txt +0 -0
  38. {copulas-0.14.1 → copulas-0.14.2.dev0}/copulas.egg-info/top_level.txt +0 -0
  39. {copulas-0.14.1 → copulas-0.14.2.dev0}/setup.cfg +0 -0
  40. {copulas-0.14.1 → copulas-0.14.2.dev0}/tests/test_tasks.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copulas
3
- Version: 0.14.1
3
+ Version: 0.14.2.dev0
4
4
  Summary: Create tabular synthetic data using copulas-based modeling.
5
5
  Author-email: "DataCebo, Inc." <info@sdv.dev>
6
6
  License-Expression: BUSL-1.1
@@ -8,24 +8,22 @@ Project-URL: Source Code, https://github.com/sdv-dev/Copulas/
8
8
  Project-URL: Issue Tracker, https://github.com/sdv-dev/Copulas/issues
9
9
  Project-URL: Changes, https://github.com/sdv-dev/Copulas/blob/main/HISTORY.md
10
10
  Project-URL: Twitter, https://twitter.com/sdv_dev
11
- Project-URL: Chat, https://bit.ly/sdv-slack-invite
11
+ Project-URL: Chat, https://forum.datacebo.com/
12
12
  Keywords: copulas
13
13
  Classifier: Development Status :: 2 - Pre-Alpha
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
21
20
  Classifier: Programming Language :: Python :: 3.13
22
21
  Classifier: Programming Language :: Python :: 3.14
23
22
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
- Requires-Python: <3.15,>=3.9
23
+ Requires-Python: <3.15,>=3.10
25
24
  Description-Content-Type: text/markdown
26
25
  License-File: LICENSE
27
- Requires-Dist: numpy>=1.21.0; python_version < "3.10"
28
- Requires-Dist: numpy>=1.23.3; python_version >= "3.10" and python_version < "3.12"
26
+ Requires-Dist: numpy>=1.23.3; python_version < "3.12"
29
27
  Requires-Dist: numpy>=1.26.0; python_version >= "3.12" and python_version < "3.13"
30
28
  Requires-Dist: numpy>=2.1.0; python_version >= "3.13" and python_version < "3.14"
31
29
  Requires-Dist: numpy>=2.3.2; python_version >= "3.14"
@@ -36,8 +34,7 @@ Requires-Dist: pandas<3,>=2.2.3; python_version >= "3.13" and python_version < "
36
34
  Requires-Dist: pandas<3,>=2.3.3; python_version >= "3.14"
37
35
  Requires-Dist: plotly>=5.10.0; python_version < "3.13"
38
36
  Requires-Dist: plotly>=5.12.0; python_version >= "3.13"
39
- Requires-Dist: scipy>=1.7.3; python_version < "3.10"
40
- Requires-Dist: scipy>=1.9.2; python_version >= "3.10" and python_version < "3.12"
37
+ Requires-Dist: scipy>=1.9.2; python_version < "3.12"
41
38
  Requires-Dist: scipy>=1.12.0; python_version >= "3.12" and python_version < "3.13"
42
39
  Requires-Dist: scipy>=1.14.1; python_version >= "3.13" and python_version < "3.14"
43
40
  Requires-Dist: scipy>=1.16.1; python_version >= "3.14"
@@ -92,7 +89,7 @@ Dynamic: license-file
92
89
  [![Downloads](https://pepy.tech/badge/copulas)](https://pepy.tech/project/copulas)
93
90
  [![Unit Tests](https://github.com/sdv-dev/Copulas/actions/workflows/unit.yml/badge.svg)](https://github.com/sdv-dev/Copulas/actions/workflows/unit.yml)
94
91
  [![Coverage Status](https://codecov.io/gh/sdv-dev/Copulas/branch/main/graph/badge.svg)](https://codecov.io/gh/sdv-dev/Copulas)
95
- [![Slack](https://img.shields.io/badge/Community-Slack-blue?style=plastic&logo=slack)](https://bit.ly/sdv-slack-invite)
92
+ [![Forum](https://img.shields.io/badge/Forum-Join%20now!-36C5F0)](https://forum.datacebo.com)
96
93
 
97
94
  <br/>
98
95
  <p align="center" style="text-align:center">
@@ -176,10 +173,10 @@ Click below to run the code yourself on a Colab Notebook and discover new featur
176
173
 
177
174
  Learn more about Copulas library from our [documentation](https://sdv.dev/Copulas/) site.
178
175
 
179
- **Questions or issues?** Join our [Slack channel](https://bit.ly/sdv-slack-invite)
180
- to discuss more about Copulas and synthetic data.
176
+ **Questions or issues?** Join our [forum](https://forum.datacebo.com/)
177
+ to discuss Copulas features, ask questions, and receive help.
181
178
  If you find a bug or have a feature request, you can also
182
- [open an issue](https://github.com/sdv-dev/Copulas/issues/new/choose) on our GitHub.
179
+ [open an issue](https://forum.datacebo.com/) on our forum.
183
180
 
184
181
  **Interested in contributing to Copulas?** Read our
185
182
  [Contribution Guide](https://sdv.dev/Copulas/contributing.html) to get started.
@@ -7,7 +7,7 @@
7
7
  [![Downloads](https://pepy.tech/badge/copulas)](https://pepy.tech/project/copulas)
8
8
  [![Unit Tests](https://github.com/sdv-dev/Copulas/actions/workflows/unit.yml/badge.svg)](https://github.com/sdv-dev/Copulas/actions/workflows/unit.yml)
9
9
  [![Coverage Status](https://codecov.io/gh/sdv-dev/Copulas/branch/main/graph/badge.svg)](https://codecov.io/gh/sdv-dev/Copulas)
10
- [![Slack](https://img.shields.io/badge/Community-Slack-blue?style=plastic&logo=slack)](https://bit.ly/sdv-slack-invite)
10
+ [![Forum](https://img.shields.io/badge/Forum-Join%20now!-36C5F0)](https://forum.datacebo.com)
11
11
 
12
12
  <br/>
13
13
  <p align="center" style="text-align:center">
@@ -91,10 +91,10 @@ Click below to run the code yourself on a Colab Notebook and discover new featur
91
91
 
92
92
  Learn more about Copulas library from our [documentation](https://sdv.dev/Copulas/) site.
93
93
 
94
- **Questions or issues?** Join our [Slack channel](https://bit.ly/sdv-slack-invite)
95
- to discuss more about Copulas and synthetic data.
94
+ **Questions or issues?** Join our [forum](https://forum.datacebo.com/)
95
+ to discuss Copulas features, ask questions, and receive help.
96
96
  If you find a bug or have a feature request, you can also
97
- [open an issue](https://github.com/sdv-dev/Copulas/issues/new/choose) on our GitHub.
97
+ [open an issue](https://forum.datacebo.com/) on our forum.
98
98
 
99
99
  **Interested in contributing to Copulas?** Read our
100
100
  [Contribution Guide](https://sdv.dev/Copulas/contributing.html) to get started.
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = 'DataCebo, Inc.'
4
4
  __email__ = 'info@sdv.dev'
5
- __version__ = '0.14.1'
5
+ __version__ = '0.14.2.dev0'
6
6
 
7
7
  import sys
8
8
  import warnings
@@ -2,7 +2,8 @@
2
2
 
3
3
  import pandas as pd
4
4
  import plotly.express as px
5
- import plotly.figure_factory as ff
5
+ import plotly.graph_objects as go
6
+ import scipy
6
7
 
7
8
 
8
9
  class PlotConfig:
@@ -30,9 +31,25 @@ def _generate_1d_plot(data, title, labels, colors):
30
31
  Returns:
31
32
  plotly.graph_objects._figure.Figure
32
33
  """
33
- fig = ff.create_distplot(
34
- hist_data=data, group_labels=labels, show_hist=False, show_rug=False, colors=colors
35
- )
34
+ traces = []
35
+ for index, _data in enumerate(data):
36
+ start = min(_data)
37
+ end = max(_data)
38
+
39
+ curve_x = [start + x * (end - start) / 500 for x in range(500)]
40
+ curve_y = scipy.stats.gaussian_kde(_data)(curve_x)
41
+
42
+ traces.append(
43
+ go.Scatter(
44
+ x=curve_x,
45
+ y=curve_y,
46
+ mode='lines',
47
+ name=labels[index],
48
+ line={'color': colors[index]},
49
+ )
50
+ )
51
+
52
+ fig = go.Figure(data=traces)
36
53
 
37
54
  for i, name in enumerate(labels):
38
55
  fig.update_traces(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copulas
3
- Version: 0.14.1
3
+ Version: 0.14.2.dev0
4
4
  Summary: Create tabular synthetic data using copulas-based modeling.
5
5
  Author-email: "DataCebo, Inc." <info@sdv.dev>
6
6
  License-Expression: BUSL-1.1
@@ -8,24 +8,22 @@ Project-URL: Source Code, https://github.com/sdv-dev/Copulas/
8
8
  Project-URL: Issue Tracker, https://github.com/sdv-dev/Copulas/issues
9
9
  Project-URL: Changes, https://github.com/sdv-dev/Copulas/blob/main/HISTORY.md
10
10
  Project-URL: Twitter, https://twitter.com/sdv_dev
11
- Project-URL: Chat, https://bit.ly/sdv-slack-invite
11
+ Project-URL: Chat, https://forum.datacebo.com/
12
12
  Keywords: copulas
13
13
  Classifier: Development Status :: 2 - Pre-Alpha
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Natural Language :: English
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
21
20
  Classifier: Programming Language :: Python :: 3.13
22
21
  Classifier: Programming Language :: Python :: 3.14
23
22
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
- Requires-Python: <3.15,>=3.9
23
+ Requires-Python: <3.15,>=3.10
25
24
  Description-Content-Type: text/markdown
26
25
  License-File: LICENSE
27
- Requires-Dist: numpy>=1.21.0; python_version < "3.10"
28
- Requires-Dist: numpy>=1.23.3; python_version >= "3.10" and python_version < "3.12"
26
+ Requires-Dist: numpy>=1.23.3; python_version < "3.12"
29
27
  Requires-Dist: numpy>=1.26.0; python_version >= "3.12" and python_version < "3.13"
30
28
  Requires-Dist: numpy>=2.1.0; python_version >= "3.13" and python_version < "3.14"
31
29
  Requires-Dist: numpy>=2.3.2; python_version >= "3.14"
@@ -36,8 +34,7 @@ Requires-Dist: pandas<3,>=2.2.3; python_version >= "3.13" and python_version < "
36
34
  Requires-Dist: pandas<3,>=2.3.3; python_version >= "3.14"
37
35
  Requires-Dist: plotly>=5.10.0; python_version < "3.13"
38
36
  Requires-Dist: plotly>=5.12.0; python_version >= "3.13"
39
- Requires-Dist: scipy>=1.7.3; python_version < "3.10"
40
- Requires-Dist: scipy>=1.9.2; python_version >= "3.10" and python_version < "3.12"
37
+ Requires-Dist: scipy>=1.9.2; python_version < "3.12"
41
38
  Requires-Dist: scipy>=1.12.0; python_version >= "3.12" and python_version < "3.13"
42
39
  Requires-Dist: scipy>=1.14.1; python_version >= "3.13" and python_version < "3.14"
43
40
  Requires-Dist: scipy>=1.16.1; python_version >= "3.14"
@@ -92,7 +89,7 @@ Dynamic: license-file
92
89
  [![Downloads](https://pepy.tech/badge/copulas)](https://pepy.tech/project/copulas)
93
90
  [![Unit Tests](https://github.com/sdv-dev/Copulas/actions/workflows/unit.yml/badge.svg)](https://github.com/sdv-dev/Copulas/actions/workflows/unit.yml)
94
91
  [![Coverage Status](https://codecov.io/gh/sdv-dev/Copulas/branch/main/graph/badge.svg)](https://codecov.io/gh/sdv-dev/Copulas)
95
- [![Slack](https://img.shields.io/badge/Community-Slack-blue?style=plastic&logo=slack)](https://bit.ly/sdv-slack-invite)
92
+ [![Forum](https://img.shields.io/badge/Forum-Join%20now!-36C5F0)](https://forum.datacebo.com)
96
93
 
97
94
  <br/>
98
95
  <p align="center" style="text-align:center">
@@ -176,10 +173,10 @@ Click below to run the code yourself on a Colab Notebook and discover new featur
176
173
 
177
174
  Learn more about Copulas library from our [documentation](https://sdv.dev/Copulas/) site.
178
175
 
179
- **Questions or issues?** Join our [Slack channel](https://bit.ly/sdv-slack-invite)
180
- to discuss more about Copulas and synthetic data.
176
+ **Questions or issues?** Join our [forum](https://forum.datacebo.com/)
177
+ to discuss Copulas features, ask questions, and receive help.
181
178
  If you find a bug or have a feature request, you can also
182
- [open an issue](https://github.com/sdv-dev/Copulas/issues/new/choose) on our GitHub.
179
+ [open an issue](https://forum.datacebo.com/) on our forum.
183
180
 
184
181
  **Interested in contributing to Copulas?** Read our
185
182
  [Contribution Guide](https://sdv.dev/Copulas/contributing.html) to get started.
@@ -1,18 +1,14 @@
1
1
 
2
- [:python_version < "3.10"]
3
- numpy>=1.21.0
4
- scipy>=1.7.3
5
-
6
2
  [:python_version < "3.11"]
7
3
  pandas<3,>=1.4.0
8
4
 
9
- [:python_version < "3.13"]
10
- plotly>=5.10.0
11
-
12
- [:python_version >= "3.10" and python_version < "3.12"]
5
+ [:python_version < "3.12"]
13
6
  numpy>=1.23.3
14
7
  scipy>=1.9.2
15
8
 
9
+ [:python_version < "3.13"]
10
+ plotly>=5.10.0
11
+
16
12
  [:python_version >= "3.11" and python_version < "3.12"]
17
13
  pandas<3,>=1.5.0
18
14
 
@@ -7,7 +7,6 @@ classifiers = [
7
7
  'Intended Audience :: Developers',
8
8
  'Natural Language :: English',
9
9
  'Programming Language :: Python :: 3',
10
- 'Programming Language :: Python :: 3.9',
11
10
  'Programming Language :: Python :: 3.10',
12
11
  'Programming Language :: Python :: 3.11',
13
12
  'Programming Language :: Python :: 3.12',
@@ -19,11 +18,10 @@ keywords = [ 'copulas' ]
19
18
  dynamic = ["version"]
20
19
  license = 'BUSL-1.1'
21
20
  license-files = ['LICENSE']
22
- requires-python = '>=3.9,<3.15'
21
+ requires-python = '>=3.10,<3.15'
23
22
  readme = 'README.md'
24
23
  dependencies = [
25
- "numpy>=1.21.0;python_version<'3.10'",
26
- "numpy>=1.23.3;python_version>='3.10' and python_version<'3.12'",
24
+ "numpy>=1.23.3;python_version<'3.12'",
27
25
  "numpy>=1.26.0;python_version>='3.12' and python_version<'3.13'",
28
26
  "numpy>=2.1.0;python_version>='3.13' and python_version<'3.14'",
29
27
  "numpy>=2.3.2;python_version>='3.14'",
@@ -34,8 +32,7 @@ dependencies = [
34
32
  "pandas>=2.3.3,<3;python_version>='3.14'",
35
33
  "plotly>=5.10.0;python_version<'3.13'",
36
34
  "plotly>=5.12.0;python_version>='3.13'",
37
- "scipy>=1.7.3;python_version<'3.10'",
38
- "scipy>=1.9.2;python_version>='3.10' and python_version<'3.12'",
35
+ "scipy>=1.9.2;python_version<'3.12'",
39
36
  "scipy>=1.12.0;python_version>='3.12' and python_version<'3.13'",
40
37
  "scipy>=1.14.1;python_version>='3.13' and python_version<'3.14'",
41
38
  "scipy>=1.16.1;python_version>='3.14'",
@@ -46,7 +43,7 @@ dependencies = [
46
43
  "Issue Tracker" = "https://github.com/sdv-dev/Copulas/issues"
47
44
  "Changes" = "https://github.com/sdv-dev/Copulas/blob/main/HISTORY.md"
48
45
  "Twitter" = "https://twitter.com/sdv_dev"
49
- "Chat" = "https://bit.ly/sdv-slack-invite"
46
+ "Chat" = "https://forum.datacebo.com/"
50
47
 
51
48
  [build-system]
52
49
  requires = ['setuptools', 'wheel']
@@ -153,7 +150,7 @@ namespaces = false
153
150
  ]
154
151
 
155
152
  [tool.bumpversion]
156
- current_version = "0.14.1"
153
+ current_version = "0.14.2.dev0"
157
154
  commit = true
158
155
  tag = true
159
156
  parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
File without changes
File without changes
File without changes