syd 0.1.4__tar.gz → 0.1.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: syd
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: A Python package for making GUIs for data science easy.
5
5
  Project-URL: Homepage, https://github.com/landoskape/syd
6
6
  Author-email: Andrew Landau <andrew+tyler+landau+getridofthisanddtheplusses@gmail.com>
@@ -18,13 +18,21 @@ Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3.13
20
20
  Requires-Python: >=3.9
21
+ Requires-Dist: ipywidgets
22
+ Requires-Dist: matplotlib
21
23
  Provides-Extra: test
22
24
  Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
23
25
  Requires-Dist: pytest>=7.0.0; extra == 'test'
24
26
  Description-Content-Type: text/markdown
25
27
 
26
28
  # syd
27
- A package to help you share your data!
29
+
30
+ [![PyPI version](https://badge.fury.io/py/syd.svg)](https://badge.fury.io/py/syd)
31
+ [![Tests](https://github.com/landoskape/syd/actions/workflows/tests.yml/badge.svg)](https://github.com/landoskape/syd/actions/workflows/tests.yml)
32
+ [![Documentation Status](https://readthedocs.org/projects/shareyourdata/badge/?version=latest)](https://shareyourdata.readthedocs.io/en/latest/?badge=latest)
33
+ [![codecov](https://codecov.io/gh/landoskape/syd/branch/main/graph/badge.svg)](https://codecov.io/gh/landoskape/syd)
34
+
35
+ A package to help you share your data!
28
36
 
29
37
  Have you ever wanted to look through all your data really quickly interactively? Of course you have. Mo data mo problems, but only if you don't know what to do with it. And that starts with looking at your data. And that's why syd stands for show your data!
30
38
 
@@ -1,5 +1,11 @@
1
1
  # syd
2
- A package to help you share your data!
2
+
3
+ [![PyPI version](https://badge.fury.io/py/syd.svg)](https://badge.fury.io/py/syd)
4
+ [![Tests](https://github.com/landoskape/syd/actions/workflows/tests.yml/badge.svg)](https://github.com/landoskape/syd/actions/workflows/tests.yml)
5
+ [![Documentation Status](https://readthedocs.org/projects/shareyourdata/badge/?version=latest)](https://shareyourdata.readthedocs.io/en/latest/?badge=latest)
6
+ [![codecov](https://codecov.io/gh/landoskape/syd/branch/main/graph/badge.svg)](https://codecov.io/gh/landoskape/syd)
7
+
8
+ A package to help you share your data!
3
9
 
4
10
  Have you ever wanted to look through all your data really quickly interactively? Of course you have. Mo data mo problems, but only if you don't know what to do with it. And that starts with looking at your data. And that's why syd stands for show your data!
5
11
 
@@ -4,14 +4,17 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "syd"
7
- version = "0.1.4"
7
+ version = "0.1.5"
8
8
  authors = [
9
9
  {name = "Andrew Landau", email = "andrew+tyler+landau+getridofthisanddtheplusses@gmail.com"},
10
10
  ]
11
11
  description = "A Python package for making GUIs for data science easy."
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
14
- dependencies = []
14
+ dependencies = [
15
+ "ipywidgets",
16
+ "matplotlib",
17
+ ]
15
18
  license = "GPL-3.0-or-later"
16
19
  keywords = ["data-science", "machine-learning", "gui", "interactive", "jupyter", "notebook", "python"]
17
20
  classifiers = [
@@ -44,4 +47,4 @@ include = [
44
47
  [tool.pytest.ini_options]
45
48
  testpaths = ["tests"]
46
49
  python_files = ["test_*.py"]
47
- addopts = "--cov=syd --cov-report=xml --cov-report=term-missing"
50
+ addopts = "--cov=syd --cov-report=xml --cov-report=term-missing"
@@ -0,0 +1,15 @@
1
+ from typing import Callable
2
+ from .interactive_viewer import InteractiveViewer
3
+
4
+ __version__ = "0.1.5"
5
+
6
+
7
+ class DefaultViewer(InteractiveViewer):
8
+ def plot(self, state):
9
+ pass
10
+
11
+
12
+ def make_viewer(plot_func: Callable):
13
+ viewer = DefaultViewer()
14
+ viewer.plot = plot_func
15
+ return viewer