time-split 0.7.0__tar.gz → 0.7.1__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 (39) hide show
  1. {time_split-0.7.0 → time_split-0.7.1}/PKG-INFO +4 -1
  2. {time_split-0.7.0 → time_split-0.7.1}/README.md +3 -0
  3. {time_split-0.7.0 → time_split-0.7.1}/pyproject.toml +1 -1
  4. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/__init__.py +1 -1
  5. time_split-0.7.1/src/time_split/app/reexport/__init__.py +58 -0
  6. {time_split-0.7.0 → time_split-0.7.1}/LICENSE.md +0 -0
  7. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/__main__.py +0 -0
  8. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/__init__.py +0 -0
  9. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/_datetime_index_like.py +0 -0
  10. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/_limits.py +0 -0
  11. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/_process_available.py +0 -0
  12. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/_schedule.py +0 -0
  13. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/_span.py +0 -0
  14. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_backend/_splitter.py +0 -0
  15. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_docstrings.py +0 -0
  16. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_frontend/__init__.py +0 -0
  17. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_frontend/_plot.py +0 -0
  18. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_frontend/_progress.py +0 -0
  19. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_frontend/_split.py +0 -0
  20. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_frontend/_to_string.py +0 -0
  21. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_frontend/_weight.py +0 -0
  22. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/_support.py +0 -0
  23. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/app/__init__.py +0 -0
  24. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/app/_create_explorer_link.py +0 -0
  25. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/cli.py +0 -0
  26. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/__init__.py +0 -0
  27. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/_log_progress.py +0 -0
  28. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/base.py +0 -0
  29. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/pandas/__init__.py +0 -0
  30. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/pandas/_impl.py +0 -0
  31. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/polars/__init__.py +0 -0
  32. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/polars/_impl.py +0 -0
  33. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/sklearn/__init__.py +0 -0
  34. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/integration/sklearn/_impl.py +0 -0
  35. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/py.typed +0 -0
  36. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/settings.py +0 -0
  37. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/support/__init__.py +0 -0
  38. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/support/types.py +0 -0
  39. {time_split-0.7.0 → time_split-0.7.1}/src/time_split/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: time-split
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Time-based k-fold validation splits for heterogeneous data.
5
5
  License: MIT
6
6
  Keywords: hyper,parameter,optimization,cross,validation,time,temporal,heterogenous,data
@@ -93,6 +93,9 @@ in the terminal. You may use
93
93
  [`create_explorer_link()`](https://time-split.readthedocs.io/en/stable/api/time_split.app.html#time_split.app.create_explorer_link)
94
94
  to build application URLs with preselected splitting parameters.
95
95
 
96
+ Click [here](https://time-split.readthedocs.io/en/stable/api/time_split.app.reexport.html) for documentation of the most
97
+ important types, functions and classes used by the application.
98
+
96
99
  ## Installation
97
100
  The package is published through the [Python Package Index (PyPI)]. Source code
98
101
  is available on GitHub: https://github.com/rsundqvist/time-split
@@ -55,6 +55,9 @@ in the terminal. You may use
55
55
  [`create_explorer_link()`](https://time-split.readthedocs.io/en/stable/api/time_split.app.html#time_split.app.create_explorer_link)
56
56
  to build application URLs with preselected splitting parameters.
57
57
 
58
+ Click [here](https://time-split.readthedocs.io/en/stable/api/time_split.app.reexport.html) for documentation of the most
59
+ important types, functions and classes used by the application.
60
+
58
61
  ## Installation
59
62
  The package is published through the [Python Package Index (PyPI)]. Source code
60
63
  is available on GitHub: https://github.com/rsundqvist/time-split
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "time-split"
3
- version = "0.7.0"
3
+ version = "0.7.1"
4
4
  description = "Time-based k-fold validation splits for heterogeneous data."
5
5
  authors = [
6
6
  { name = "Richard Sundqvist", email = "richard.sundqvist@live.se" },
@@ -11,6 +11,6 @@ __all__ = [
11
11
  "split",
12
12
  ]
13
13
 
14
- __version__ = "0.7.0"
14
+ __version__ = "0.7.1"
15
15
 
16
16
  _logging.getLogger(__name__).addHandler(_logging.NullHandler())
@@ -0,0 +1,58 @@
1
+ """Reexported resources from the ``time_split_app`` namespace.
2
+
3
+ Running ``python -m time_split app new`` will create a ``Dockerfile`` and a simple ``my_extensions.py`` module.
4
+
5
+ Environment variables:
6
+ Subset of variables used to customize Docker-based deployments.
7
+
8
+ .. envvar:: DATASET_LOADER
9
+
10
+ A :class:`DataLoaderWidget` instance or type, e.g. ``my_extensions:MyDatasetLoader``.
11
+
12
+ .. envvar:: SPLIT_SELECT_FN
13
+
14
+ A :attr:`SelectSplitParams`-function, e.g. ``my_extensions:my_select_fn``.
15
+
16
+ .. envvar:: PLOT_FN
17
+
18
+ A :func:`~time_split.plot`-like function, e.g. ``my_extensions:my_plot_fn``.
19
+
20
+ .. envvar:: LINK_FN
21
+
22
+ A :func:`.create_explorer_link`-like function, e.g. ``my_extensions:my_link_fn``.
23
+
24
+ See https://github.com/rsundqvist/time-split-app/blob/master/src/time_split_app/config.py
25
+ for more variable-based configuration options.
26
+ """
27
+
28
+ from time_split_app.datasets import Dataset, DatasetConfig, DuplicateIndexError, load_dataset, load_dataset_configs
29
+ from time_split_app.widgets import DataLoaderWidget, DurationWidget, select_datetime, select_duration
30
+ from time_split_app.widgets import types as _types
31
+ from time_split_app.widgets.types import QueryParams
32
+
33
+ SelectSplitParams = _types.SelectSplitParams
34
+ """Type of :envvar:`SPLIT_SELECT_FN`.
35
+
36
+ A callable ``() -> split_params``; see :func:`time_split.split`
37
+ and :attr:`~time_split.types.DatetimeIndexSplitterKwargs`.
38
+ """
39
+ PlotFn = _types.PlotFn
40
+ """Type of :envvar:`PLOT_FN`."""
41
+ LinkFn = _types.LinkFn
42
+ """Type of :envvar:`LINK_FN`."""
43
+
44
+ __all__ = [
45
+ "DataLoaderWidget",
46
+ "Dataset",
47
+ "DatasetConfig",
48
+ "DuplicateIndexError",
49
+ "DurationWidget",
50
+ "LinkFn",
51
+ "PlotFn",
52
+ "QueryParams",
53
+ "SelectSplitParams",
54
+ "load_dataset",
55
+ "load_dataset_configs",
56
+ "select_datetime",
57
+ "select_duration",
58
+ ]
File without changes