liblaf-cherries 0.3.1__tar.gz → 0.4.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 (50) hide show
  1. liblaf_cherries-0.4.1/.gitignore +41 -0
  2. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/PKG-INFO +7 -8
  3. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/README.md +4 -4
  4. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/pyproject.toml +25 -33
  5. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/_version.py +2 -2
  6. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/paths/_special.py +1 -1
  7. liblaf_cherries-0.3.1/.gitignore +0 -199
  8. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/LICENSE +0 -0
  9. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/__init__.py +0 -0
  10. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/__init__.pyi +0 -0
  11. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/_entrypoint.py +0 -0
  12. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/_version.pyi +0 -0
  13. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/config/__init__.py +0 -0
  14. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/config/__init__.pyi +0 -0
  15. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/config/_asset.py +0 -0
  16. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/config/_config.py +0 -0
  17. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/__init__.py +0 -0
  18. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/__init__.pyi +0 -0
  19. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/_impl.py +0 -0
  20. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/_plugin.py +0 -0
  21. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/_run.py +0 -0
  22. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/_spec.py +0 -0
  23. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/_utils.py +0 -0
  24. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/core/typed.py +0 -0
  25. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/meta/__init__.py +0 -0
  26. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/meta/__init__.pyi +0 -0
  27. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/meta/_git.py +0 -0
  28. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/meta/_name.py +0 -0
  29. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/paths/__init__.py +0 -0
  30. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/paths/__init__.pyi +0 -0
  31. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/paths/_convert.py +0 -0
  32. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/paths/_path.py +0 -0
  33. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/__init__.py +0 -0
  34. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/__init__.pyi +0 -0
  35. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/comet.py +0 -0
  36. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/dvc.py +0 -0
  37. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/git_.py +0 -0
  38. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/local.py +0 -0
  39. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/plugins/logging.py +0 -0
  40. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/profiles/__init__.py +0 -0
  41. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/profiles/__init__.pyi +0 -0
  42. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/profiles/_abc.py +0 -0
  43. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/profiles/_default.py +0 -0
  44. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/profiles/_factory.py +0 -0
  45. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/profiles/_playground.py +0 -0
  46. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/py.typed +0 -0
  47. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/typed.py +0 -0
  48. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/utils/__init__.py +0 -0
  49. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/utils/__init__.pyi +0 -0
  50. {liblaf_cherries-0.3.1 → liblaf_cherries-0.4.1}/src/liblaf/cherries/utils/_functools.py +0 -0
@@ -0,0 +1,41 @@
1
+ # ref: <https://github.com/github/gitignore/blob/main/Python.gitignore>
2
+
3
+ # shared
4
+ *.log
5
+ *.log.*
6
+ playground/
7
+
8
+ # Byte-compiled / optimized / DLL files
9
+ __pycache__/
10
+
11
+ # Distribution / packaging
12
+ dist/
13
+
14
+ # Unit test / coverage reports
15
+ .cache/
16
+ .coverage
17
+ .hypothesis/
18
+ .pytest_cache/
19
+
20
+ # pixi
21
+ .pixi/
22
+
23
+ # Environments
24
+ .venv/
25
+
26
+ # mkdocs documentation
27
+ site/
28
+
29
+ # Ruff stuff:
30
+ .ruff_cache/
31
+
32
+ # [Codecov](https://docs.codecov.com/docs/test-analytics#1-output-a-junit-xml-file-in-your-ci)
33
+ junit.xml
34
+
35
+ # [CodSpeed](https://codspeed.io/)
36
+ .codspeed/
37
+
38
+ # [hatch-vcs](https://github.com/ofek/hatch-vcs)
39
+ _version.py
40
+
41
+ .cherries/
@@ -1,9 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: liblaf-cherries
3
- Version: 0.3.1
4
- Summary: Add your description here
3
+ Version: 0.4.1
5
4
  Project-URL: Changelog, https://github.com/liblaf/cherries/blob/main/CHANGELOG.md
6
- Project-URL: Documentation, https://liblaf.github.io/cherries/
5
+ Project-URL: Documentation, https://cherries.readthedocs.io/
7
6
  Project-URL: Homepage, https://github.com/liblaf/cherries
8
7
  Project-URL: Issue Tracker, https://github.com/liblaf/cherries/issues
9
8
  Project-URL: Release Notes, https://github.com/liblaf/cherries/releases
@@ -37,7 +36,7 @@ Requires-Dist: dvc[all]<4,>=3
37
36
  Requires-Dist: environs<15,>=14
38
37
  Requires-Dist: gitpython<4,>=3
39
38
  Requires-Dist: lazy-loader<0.5,>=0.4
40
- Requires-Dist: liblaf-grapes<2,>=1
39
+ Requires-Dist: liblaf-grapes<3,>=2
41
40
  Requires-Dist: loguru<0.8,>=0.7
42
41
  Requires-Dist: networkx<4,>=3
43
42
  Requires-Dist: pydantic-settings<3,>=2
@@ -100,7 +99,7 @@ TODO: DESCRIPTION <br />
100
99
  To install `liblaf-cherries`, run the following command:
101
100
 
102
101
  ```bash
103
- $ uv add liblaf-cherries
102
+ uv add liblaf-cherries
104
103
  ```
105
104
 
106
105
  <div align="right" markdown>
@@ -118,9 +117,9 @@ You can use Github Codespaces for online development:
118
117
  Or clone it for local development:
119
118
 
120
119
  ```bash
121
- $ gh repo clone liblaf/cherries
122
- $ cd cherries
123
- $ mise run test
120
+ gh repo clone liblaf/cherries
121
+ cd cherries
122
+ mise run test
124
123
  ```
125
124
 
126
125
  <div align="right" markdown>
@@ -52,7 +52,7 @@ TODO: DESCRIPTION <br />
52
52
  To install `liblaf-cherries`, run the following command:
53
53
 
54
54
  ```bash
55
- $ uv add liblaf-cherries
55
+ uv add liblaf-cherries
56
56
  ```
57
57
 
58
58
  <div align="right" markdown>
@@ -70,9 +70,9 @@ You can use Github Codespaces for online development:
70
70
  Or clone it for local development:
71
71
 
72
72
  ```bash
73
- $ gh repo clone liblaf/cherries
74
- $ cd cherries
75
- $ mise run test
73
+ gh repo clone liblaf/cherries
74
+ cd cherries
75
+ mise run test
76
76
  ```
77
77
 
78
78
  <div align="right" markdown>
@@ -3,7 +3,7 @@
3
3
 
4
4
  [project]
5
5
  name = "liblaf-cherries"
6
- description = "Add your description here"
6
+ description = ""
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.12"
9
9
  license = "MIT"
@@ -39,7 +39,7 @@ dependencies = [
39
39
  "environs>=14,<15",
40
40
  "gitpython>=3,<4",
41
41
  "lazy-loader>=0.4,<0.5",
42
- "liblaf-grapes>=1,<2",
42
+ "liblaf-grapes>=2,<3",
43
43
  "loguru>=0.7,<0.8",
44
44
  "networkx>=3,<4",
45
45
  "pydantic-settings>=2,<3",
@@ -51,38 +51,17 @@ dynamic = ["version"]
51
51
 
52
52
  [project.urls]
53
53
  "Changelog" = "https://github.com/liblaf/cherries/blob/main/CHANGELOG.md"
54
- "Documentation" = "https://liblaf.github.io/cherries/"
54
+ "Documentation" = "https://cherries.readthedocs.io/"
55
55
  "Homepage" = "https://github.com/liblaf/cherries"
56
56
  "Issue Tracker" = "https://github.com/liblaf/cherries/issues"
57
57
  "Release Notes" = "https://github.com/liblaf/cherries/releases"
58
58
  "Source Code" = "https://github.com/liblaf/cherries"
59
59
 
60
60
  [dependency-groups]
61
- build = ["check-wheel-contents", "hatch", "twine"]
62
- dev = ["icecream"]
63
- docs = [
64
- "docstring-inheritance",
65
- "griffe-fieldz",
66
- "griffe-generics",
67
- "griffe-inherited-docstrings",
68
- "griffe-modernized-annotations",
69
- "griffe-pydantic",
70
- "griffe-warnings-deprecated",
71
- "mdx-truly-sane-lists",
72
- "mkdocs",
73
- "mkdocs-api-autonav",
74
- "mkdocs-autorefs",
75
- "mkdocs-git-committers-plugin-2",
76
- "mkdocs-git-revision-date-localized-plugin",
77
- "mkdocs-include-markdown-plugin",
78
- "mkdocs-material[imaging]",
79
- "mkdocs-section-index",
80
- "mkdocstrings",
81
- "mkdocstrings-python",
82
- "pymdown-extensions",
83
- "ruff",
84
- ]
85
- test = ["pytest", "pytest-codspeed", "pytest-cov", "pytest-xdist"]
61
+ build = ["check-wheel-contents>=0.6,<0.7", "hatch>=1,<2", "twine>=6,<7"]
62
+ dev = ["icecream>=2,<3"]
63
+ docs = ["liblaf-mkdocs-preset>=0.2,<0.3", "mkdocs>=1,<2"]
64
+ test = ["liblaf-pytest-preset>=0.1,<0.2", "pytest>=8,<9"]
86
65
 
87
66
  [build-system]
88
67
  requires = ["hatch-vcs", "hatchling"]
@@ -93,23 +72,36 @@ ignore = ["W002"]
93
72
 
94
73
  [tool.coverage.run]
95
74
  branch = true
96
- source = ["src/"]
75
+ source = ["src"]
97
76
 
98
77
  [tool.hatch.build.hooks.vcs]
99
78
  version-file = "src/liblaf/cherries/_version.py"
100
79
 
101
80
  [tool.hatch.build.targets.sdist]
102
- only-include = ["src/"]
81
+ only-include = ["src"]
103
82
 
104
83
  [tool.hatch.build.targets.wheel]
105
- packages = ["src/liblaf/"]
84
+ packages = ["src/liblaf"]
106
85
 
107
86
  [tool.hatch.version]
108
87
  source = "vcs"
109
88
 
89
+ [tool.pyright]
90
+ exclude = ["**/.*", "**/__pycache__", "**/marimo", "**/node_modules"]
91
+ extends = ".config/linters/pyrightconfig.json"
92
+
110
93
  [tool.pytest.ini_options]
111
- addopts = ["--showlocals", "--strict-config", "--strict-markers"]
112
- testpaths = ["benches/", "tests/"]
94
+ addopts = [
95
+ "--doctest-modules",
96
+ "--hypothesis-show-statistics",
97
+ "--showlocals",
98
+ "--strict-config",
99
+ "--strict-markers",
100
+ ]
101
+ testpaths = ["benches", "src", "tests"]
102
+
103
+ [tool.ruff]
104
+ extend = ".config/linters/.ruff.toml"
113
105
 
114
106
  [tool.uv]
115
107
  default-groups = "all"
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.3.1'
32
- __version_tuple__ = version_tuple = (0, 3, 1)
31
+ __version__ = version = '0.4.1'
32
+ __version_tuple__ = version_tuple = (0, 4, 1)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  from pathlib import Path
2
2
 
3
- from liblaf.grapes.typed import PathLike
3
+ from liblaf.grapes.typing import PathLike
4
4
 
5
5
  from ._path import exp_dir
6
6
 
@@ -1,199 +0,0 @@
1
- # Created by https://www.toptal.com/developers/gitignore/api/python
2
- # Edit at https://www.toptal.com/developers/gitignore?templates=python
3
-
4
- ### Python ###
5
- # Byte-compiled / optimized / DLL files
6
- __pycache__/
7
- *.py[cod]
8
- *$py.class
9
-
10
- # C extensions
11
- *.so
12
-
13
- # Distribution / packaging
14
- .Python
15
- build/
16
- develop-eggs/
17
- dist/
18
- downloads/
19
- eggs/
20
- .eggs/
21
- lib/
22
- lib64/
23
- parts/
24
- sdist/
25
- var/
26
- wheels/
27
- share/python-wheels/
28
- *.egg-info/
29
- .installed.cfg
30
- *.egg
31
- MANIFEST
32
-
33
- # PyInstaller
34
- # Usually these files are written by a python script from a template
35
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
- *.manifest
37
- *.spec
38
-
39
- # Installer logs
40
- pip-log.txt
41
- pip-delete-this-directory.txt
42
-
43
- # Unit test / coverage reports
44
- htmlcov/
45
- .tox/
46
- .nox/
47
- .coverage
48
- .coverage.*
49
- .cache
50
- nosetests.xml
51
- coverage.xml
52
- *.cover
53
- *.py,cover
54
- .hypothesis/
55
- .pytest_cache/
56
- cover/
57
-
58
- # Translations
59
- *.mo
60
- *.pot
61
-
62
- # Django stuff:
63
- *.log
64
- local_settings.py
65
- db.sqlite3
66
- db.sqlite3-journal
67
-
68
- # Flask stuff:
69
- instance/
70
- .webassets-cache
71
-
72
- # Scrapy stuff:
73
- .scrapy
74
-
75
- # Sphinx documentation
76
- docs/_build/
77
-
78
- # PyBuilder
79
- .pybuilder/
80
- target/
81
-
82
- # Jupyter Notebook
83
- .ipynb_checkpoints
84
-
85
- # IPython
86
- profile_default/
87
- ipython_config.py
88
-
89
- # pyenv
90
- # For a library or package, you might want to ignore these files since the code is
91
- # intended to run in multiple environments; otherwise, check them in:
92
- # .python-version
93
-
94
- # pipenv
95
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
- # install all needed dependencies.
99
- #Pipfile.lock
100
-
101
- # poetry
102
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103
- # This is especially recommended for binary packages to ensure reproducibility, and is more
104
- # commonly ignored for libraries.
105
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
106
- #poetry.lock
107
-
108
- # pdm
109
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110
- #pdm.lock
111
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112
- # in version control.
113
- # https://pdm.fming.dev/#use-with-ide
114
- .pdm.toml
115
-
116
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117
- __pypackages__/
118
-
119
- # Celery stuff
120
- celerybeat-schedule
121
- celerybeat.pid
122
-
123
- # SageMath parsed files
124
- *.sage.py
125
-
126
- # Environments
127
- .env
128
- .venv
129
- env/
130
- venv/
131
- ENV/
132
- env.bak/
133
- venv.bak/
134
-
135
- # Spyder project settings
136
- .spyderproject
137
- .spyproject
138
-
139
- # Rope project settings
140
- .ropeproject
141
-
142
- # mkdocs documentation
143
- /site
144
-
145
- # mypy
146
- .mypy_cache/
147
- .dmypy.json
148
- dmypy.json
149
-
150
- # Pyre type checker
151
- .pyre/
152
-
153
- # pytype static type analyzer
154
- .pytype/
155
-
156
- # Cython debug symbols
157
- cython_debug/
158
-
159
- # PyCharm
160
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162
- # and can be added to the global gitignore or merged into this file. For a more nuclear
163
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
164
- #.idea/
165
-
166
- ### Python Patch ###
167
- # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168
- poetry.toml
169
-
170
- # ruff
171
- .ruff_cache/
172
-
173
- # LSP config files
174
- # pyrightconfig.json
175
-
176
- # End of https://www.toptal.com/developers/gitignore/api/python
177
-
178
- *.log
179
- *.log.gz
180
- *.log.jsonl
181
- *.log.jsonl.gz
182
- playground/
183
-
184
- # hatch-vcs
185
- _version.py
186
-
187
- # pytest
188
- junit.xml
189
-
190
- # pytest-codspeed
191
- .codspeed/
192
-
193
- # pytest-benchmark
194
- .benchmarks/
195
-
196
- # MLflow
197
- mlruns/
198
-
199
- .cherries/
File without changes