liblaf-cherries 0.0.4__tar.gz → 0.0.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.
Files changed (73) hide show
  1. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/.gitignore +7 -0
  2. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/PKG-INFO +6 -5
  3. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/pyproject.toml +48 -11
  4. liblaf_cherries-0.0.5/src/liblaf/cherries/_version.py +21 -0
  5. liblaf_cherries-0.0.5/src/liblaf/cherries/_version.pyi +4 -0
  6. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/__init__.pyi +4 -3
  7. liblaf_cherries-0.0.5/src/liblaf/cherries/git/_grapes.py +3 -0
  8. liblaf_cherries-0.0.5/src/liblaf/cherries/plugin/_logging.py +36 -0
  9. liblaf_cherries-0.0.4/.config/.restic-ignore +0 -179
  10. liblaf_cherries-0.0.4/.config/resticprofile.toml +0 -17
  11. liblaf_cherries-0.0.4/.cspell.json +0 -54
  12. liblaf_cherries-0.0.4/.envrc +0 -15
  13. liblaf_cherries-0.0.4/.github/copier/.copier-answers.python.yaml +0 -13
  14. liblaf_cherries-0.0.4/.github/copier/.copier-answers.release.yaml +0 -6
  15. liblaf_cherries-0.0.4/.github/copier/.copier-answers.shared.yaml +0 -8
  16. liblaf_cherries-0.0.4/.github/copier/mkdocs.yaml +0 -143
  17. liblaf_cherries-0.0.4/.github/linters/.ruff.toml +0 -99
  18. liblaf_cherries-0.0.4/.github/linters/pyrightconfig.json +0 -12
  19. liblaf_cherries-0.0.4/.github/release-please/.manifest.json +0 -1
  20. liblaf_cherries-0.0.4/.github/release-please/config.json +0 -94
  21. liblaf_cherries-0.0.4/.github/renovate.json +0 -4
  22. liblaf_cherries-0.0.4/.github/workflows/shared-docs.yaml +0 -45
  23. liblaf_cherries-0.0.4/.github/workflows/shared-mega-linter.yaml +0 -39
  24. liblaf_cherries-0.0.4/.github/workflows/shared-pr.yaml +0 -51
  25. liblaf_cherries-0.0.4/.github/workflows/shared-release-please.yaml +0 -108
  26. liblaf_cherries-0.0.4/.github/workflows/shared-release.yaml +0 -100
  27. liblaf_cherries-0.0.4/.github/workflows/shared-repo.yaml +0 -106
  28. liblaf_cherries-0.0.4/.ruff.toml +0 -7
  29. liblaf_cherries-0.0.4/.vscode/settings.json +0 -9
  30. liblaf_cherries-0.0.4/CHANGELOG.md +0 -71
  31. liblaf_cherries-0.0.4/Justfile +0 -21
  32. liblaf_cherries-0.0.4/__builtins__.pyi +0 -2
  33. liblaf_cherries-0.0.4/docs/SUMMARY.md +0 -2
  34. liblaf_cherries-0.0.4/docs/css/fonts.css +0 -12
  35. liblaf_cherries-0.0.4/docs/css/mkdocstrings/material.css +0 -29
  36. liblaf_cherries-0.0.4/docs/css/mkdocstrings/syntax-highlight-in-signatures.css +0 -21
  37. liblaf_cherries-0.0.4/docs/scripts/gen-ref-pages.py +0 -52
  38. liblaf_cherries-0.0.4/exp/hello-cherries.py +0 -14
  39. liblaf_cherries-0.0.4/mkdocs.yaml +0 -13
  40. liblaf_cherries-0.0.4/pixi.lock +0 -1635
  41. liblaf_cherries-0.0.4/pyrightconfig.json +0 -4
  42. liblaf_cherries-0.0.4/scripts/gen-init.sh +0 -25
  43. liblaf_cherries-0.0.4/src/liblaf/cherries/git/_repo.py +0 -33
  44. liblaf_cherries-0.0.4/src/liblaf/cherries/plugin/_logging.py +0 -58
  45. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/LICENSE +0 -0
  46. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/docs/README.md +0 -0
  47. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/__init__.py +0 -0
  48. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/__init__.pyi +0 -0
  49. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/_config.py +0 -0
  50. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/_env.py +0 -0
  51. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/_experiment.py +0 -0
  52. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/_main.py +0 -0
  53. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/_start.py +0 -0
  54. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/__init__.py +0 -0
  55. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/_commit.py +0 -0
  56. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/_entrypoint.py +0 -0
  57. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/github/__init__.py +0 -0
  58. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/github/__init__.pyi +0 -0
  59. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/github/_link.py +0 -0
  60. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/git/github/_repo.py +0 -0
  61. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/integration/__init__.py +0 -0
  62. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/integration/__init__.pyi +0 -0
  63. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/integration/_backend.py +0 -0
  64. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/integration/_factory.py +0 -0
  65. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/integration/_neptune.py +0 -0
  66. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/plugin/__init__.py +0 -0
  67. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/plugin/__init__.pyi +0 -0
  68. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/plugin/_abc.py +0 -0
  69. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/plugin/_default.py +0 -0
  70. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/plugin/_git.py +0 -0
  71. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/plugin/_restic.py +0 -0
  72. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/utils/__init__.py +0 -0
  73. {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.5}/src/liblaf/cherries/utils/__init__.pyi +0 -0
@@ -174,3 +174,10 @@ poetry.toml
174
174
  # pyrightconfig.json
175
175
 
176
176
  # End of https://www.toptal.com/developers/gitignore/api/python
177
+
178
+ _version.py
179
+ junit.xml
180
+ playground/
181
+
182
+ *.log
183
+ *.log.jsonl
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: liblaf-cherries
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Add your description here
5
5
  Project-URL: Changelog, https://github.com/liblaf/cherries/blob/main/CHANGELOG.md
6
6
  Project-URL: Homepage, https://github.com/liblaf/cherries
@@ -11,14 +11,15 @@ Author-email: liblaf <30631553+liblaf@users.noreply.github.com>
11
11
  License-Expression: MIT
12
12
  License-File: LICENSE
13
13
  Requires-Python: >=3.12
14
- Requires-Dist: comet-ml<4,>=3.47.6
14
+ Requires-Dist: comet-ml<4,>=3.49.4
15
15
  Requires-Dist: gitpython<4,>=3.1.44
16
+ Requires-Dist: giturlparse<0.13,>=0.12.0
16
17
  Requires-Dist: lazy-loader<0.5,>=0.4
17
- Requires-Dist: liblaf-grapes<0.1.3,>=0.1.2
18
+ Requires-Dist: liblaf-grapes<0.2,>=0.1.7
18
19
  Requires-Dist: loguru<0.8,>=0.7.3
19
20
  Requires-Dist: neptune<2,>=1.13.0
20
- Requires-Dist: pydantic-settings<3,>=2.7.1
21
- Requires-Dist: pydantic<3,>=2.10.5
21
+ Requires-Dist: pydantic-settings<3,>=2.8.1
22
+ Requires-Dist: pydantic<3,>=2.10.6
22
23
  Description-Content-Type: text/markdown
23
24
 
24
25
  # 🍒 Cherries
@@ -3,24 +3,43 @@
3
3
 
4
4
  [build-system]
5
5
  build-backend = "hatchling.build"
6
- requires = ["hatchling"]
6
+ requires = ["hatch-vcs", "hatchling"]
7
7
 
8
8
  [dependency-groups]
9
- dev = ["icecream>=2.1.4,<3"]
9
+ build = ["check-wheel-contents", "hatch", "twine"]
10
+ dev = ["icecream"]
11
+ docs = [
12
+ "gitpython",
13
+ "mdx-truly-sane-lists",
14
+ "mkdocs",
15
+ "mkdocs-autorefs",
16
+ "mkdocs-gen-files",
17
+ "mkdocs-git-committers-plugin-2",
18
+ "mkdocs-git-revision-date-localized-plugin",
19
+ "mkdocs-literate-nav",
20
+ "mkdocs-material[imaging]",
21
+ "mkdocs-section-index",
22
+ "mkdocstrings",
23
+ "mkdocstrings-python",
24
+ "pymdown-extensions",
25
+ "ruff",
26
+ ]
27
+ test = ["pytest", "pytest-codspeed", "pytest-cov", "pytest-xdist"]
10
28
 
11
29
  [project]
12
30
  authors = [
13
31
  { email = "30631553+liblaf@users.noreply.github.com", name = "liblaf" },
14
32
  ]
15
33
  dependencies = [
16
- "comet-ml>=3.47.6,<4",
34
+ "comet-ml>=3.49.4,<4",
17
35
  "gitpython>=3.1.44,<4",
36
+ "giturlparse>=0.12.0,<0.13",
18
37
  "lazy-loader>=0.4,<0.5",
19
- "liblaf-grapes>=0.1.2,<0.1.3",
38
+ "liblaf-grapes>=0.1.7,<0.2",
20
39
  "loguru>=0.7.3,<0.8",
21
40
  "neptune>=1.13.0,<2",
22
- "pydantic-settings>=2.7.1,<3",
23
- "pydantic>=2.10.5,<3",
41
+ "pydantic-settings>=2.8.1,<3",
42
+ "pydantic>=2.10.6,<3",
24
43
  ]
25
44
  description = "Add your description here"
26
45
  keywords = []
@@ -28,7 +47,7 @@ license = "MIT"
28
47
  name = "liblaf-cherries"
29
48
  readme = "docs/README.md"
30
49
  requires-python = ">=3.12"
31
- version = "0.0.4"
50
+ version = "0.0.5"
32
51
 
33
52
  [project.urls]
34
53
  "Changelog" = "https://github.com/liblaf/cherries/blob/main/CHANGELOG.md"
@@ -40,11 +59,24 @@ version = "0.0.4"
40
59
  [tool.check-wheel-contents]
41
60
  ignore = ["W002"]
42
61
 
62
+ [tool.coverage.run]
63
+ branch = true
64
+ source = ["src/"]
65
+
66
+ [tool.hatch.build.hooks.vcs]
67
+ version-file = "src/liblaf/cherries/_version.py"
68
+
69
+ [tool.hatch.build.targets.sdist]
70
+ only-include = ["src/"]
71
+
43
72
  [tool.hatch.build.targets.wheel]
44
- packages = ["src/liblaf"]
73
+ packages = ["src/liblaf/"]
74
+
75
+ [tool.hatch.version]
76
+ source = "vcs"
45
77
 
46
78
  [tool.pixi.environments]
47
- default = { features = ["dev"] }
79
+ default = { features = ["build", "dev", "docs", "test"] }
48
80
 
49
81
  [tool.pixi.project]
50
82
  channel-priority = "disabled"
@@ -56,5 +88,10 @@ liblaf-cherries = { editable = true, path = "." }
56
88
 
57
89
  [tool.pixi.system-requirements]
58
90
  cuda = "12"
59
- libc = { family = "glibc", version = "2.40" }
60
- linux = "6.6"
91
+ libc = { family = "glibc", version = "2.41" }
92
+ linux = "6.13"
93
+
94
+ [tool.pytest.ini_options]
95
+ addopts = ["--numprocesses=auto"]
96
+ junit_family = "legacy"
97
+ testpaths = ["tests/"]
@@ -0,0 +1,21 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
6
+ TYPE_CHECKING = False
7
+ if TYPE_CHECKING:
8
+ from typing import Tuple
9
+ from typing import Union
10
+
11
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
12
+ else:
13
+ VERSION_TUPLE = object
14
+
15
+ version: str
16
+ __version__: str
17
+ __version_tuple__: VERSION_TUPLE
18
+ version_tuple: VERSION_TUPLE
19
+
20
+ __version__ = version = '0.0.5'
21
+ __version_tuple__ = version_tuple = (0, 0, 5)
@@ -0,0 +1,4 @@
1
+ __version__: str
2
+ __version_tuple__: tuple[int | str, ...]
3
+ version_tuple: tuple[int | str, ...]
4
+ version: str
@@ -1,17 +1,18 @@
1
1
  from . import github
2
2
  from ._commit import DEFAULT_COMMIT_MESSAGE, commit
3
3
  from ._entrypoint import entrypoint
4
- from ._repo import github_user_repo, repo, root
4
+ from ._grapes import GitInfo, info, root, root_safe
5
5
  from .github import permalink, user_repo
6
6
 
7
7
  __all__ = [
8
8
  "DEFAULT_COMMIT_MESSAGE",
9
+ "GitInfo",
9
10
  "commit",
10
11
  "entrypoint",
11
12
  "github",
12
- "github_user_repo",
13
+ "info",
13
14
  "permalink",
14
- "repo",
15
15
  "root",
16
+ "root_safe",
16
17
  "user_repo",
17
18
  ]
@@ -0,0 +1,3 @@
1
+ from liblaf.grapes.git import GitInfo, info, root, root_safe
2
+
3
+ __all__ = ["GitInfo", "info", "root", "root_safe"]
@@ -0,0 +1,36 @@
1
+ import loguru
2
+ import pydantic_settings as ps
3
+ from loguru import logger
4
+
5
+ # TODO: fix PLR0402
6
+ # make pyright happy
7
+ import liblaf.grapes as grapes # noqa: PLR0402
8
+ from liblaf import cherries
9
+
10
+ DEFAULT_FILTER: "loguru.FilterDict" = {
11
+ "": "INFO",
12
+ "__main__": "TRACE",
13
+ "liblaf": "DEBUG",
14
+ }
15
+ DEFAULT_FILE_FILTER: "loguru.FilterDict" = {
16
+ **DEFAULT_FILTER,
17
+ "liblaf.cherries": "SUCCESS",
18
+ }
19
+
20
+
21
+ class PluginLogging(cherries.Plugin):
22
+ model_config = ps.SettingsConfigDict(env_prefix=cherries.ENV_PREFIX + "LOGGING_")
23
+
24
+ def _pre_start(self) -> None:
25
+ grapes.init_logging(
26
+ handlers=[
27
+ grapes.logging.console_handler(),
28
+ grapes.logging.file_handler(),
29
+ grapes.logging.jsonl_handler(),
30
+ ]
31
+ )
32
+
33
+ def _pre_end(self, run: cherries.Experiment) -> None:
34
+ logger.complete()
35
+ run.upload_file("cherries/logging/run.log", "run.log")
36
+ run.upload_file("cherries/logging/run.log.jsonl", "run.log.jsonl")
@@ -1,179 +0,0 @@
1
- # vim: syntax=ignore
2
- # Created by https://www.toptal.com/developers/gitignore/api/python
3
- # Edit at https://www.toptal.com/developers/gitignore?templates=python
4
-
5
- ### Python ###
6
- # Byte-compiled / optimized / DLL files
7
- __pycache__/
8
- *.py[cod]
9
- *$py.class
10
-
11
- # C extensions
12
- *.so
13
-
14
- # Distribution / packaging
15
- .Python
16
- build/
17
- develop-eggs/
18
- dist/
19
- downloads/
20
- eggs/
21
- .eggs/
22
- lib/
23
- lib64/
24
- parts/
25
- sdist/
26
- var/
27
- wheels/
28
- share/python-wheels/
29
- *.egg-info/
30
- .installed.cfg
31
- *.egg
32
- MANIFEST
33
-
34
- # PyInstaller
35
- # Usually these files are written by a python script from a template
36
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
37
- *.manifest
38
- *.spec
39
-
40
- # Installer logs
41
- pip-log.txt
42
- pip-delete-this-directory.txt
43
-
44
- # Unit test / coverage reports
45
- htmlcov/
46
- .tox/
47
- .nox/
48
- .coverage
49
- .coverage.*
50
- .cache
51
- nosetests.xml
52
- coverage.xml
53
- *.cover
54
- *.py,cover
55
- .hypothesis/
56
- .pytest_cache/
57
- cover/
58
-
59
- # Translations
60
- *.mo
61
- *.pot
62
-
63
- # Django stuff:
64
- # *.log
65
- local_settings.py
66
- db.sqlite3
67
- db.sqlite3-journal
68
-
69
- # Flask stuff:
70
- instance/
71
- .webassets-cache
72
-
73
- # Scrapy stuff:
74
- .scrapy
75
-
76
- # Sphinx documentation
77
- docs/_build/
78
-
79
- # PyBuilder
80
- .pybuilder/
81
- target/
82
-
83
- # Jupyter Notebook
84
- .ipynb_checkpoints
85
-
86
- # IPython
87
- profile_default/
88
- ipython_config.py
89
-
90
- # pyenv
91
- # For a library or package, you might want to ignore these files since the code is
92
- # intended to run in multiple environments; otherwise, check them in:
93
- # .python-version
94
-
95
- # pipenv
96
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
98
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
99
- # install all needed dependencies.
100
- #Pipfile.lock
101
-
102
- # poetry
103
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
104
- # This is especially recommended for binary packages to ensure reproducibility, and is more
105
- # commonly ignored for libraries.
106
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
107
- #poetry.lock
108
-
109
- # pdm
110
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
111
- #pdm.lock
112
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
113
- # in version control.
114
- # https://pdm.fming.dev/#use-with-ide
115
- .pdm.toml
116
-
117
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
118
- __pypackages__/
119
-
120
- # Celery stuff
121
- celerybeat-schedule
122
- celerybeat.pid
123
-
124
- # SageMath parsed files
125
- *.sage.py
126
-
127
- # Environments
128
- .env
129
- .venv
130
- env/
131
- venv/
132
- ENV/
133
- env.bak/
134
- venv.bak/
135
-
136
- # Spyder project settings
137
- .spyderproject
138
- .spyproject
139
-
140
- # Rope project settings
141
- .ropeproject
142
-
143
- # mkdocs documentation
144
- /site
145
-
146
- # mypy
147
- .mypy_cache/
148
- .dmypy.json
149
- dmypy.json
150
-
151
- # Pyre type checker
152
- .pyre/
153
-
154
- # pytype static type analyzer
155
- .pytype/
156
-
157
- # Cython debug symbols
158
- cython_debug/
159
-
160
- # PyCharm
161
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
162
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
163
- # and can be added to the global gitignore or merged into this file. For a more nuclear
164
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
165
- #.idea/
166
-
167
- ### Python Patch ###
168
- # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
169
- poetry.toml
170
-
171
- # ruff
172
- .ruff_cache/
173
-
174
- # LSP config files
175
- # pyrightconfig.json
176
-
177
- # End of https://www.toptal.com/developers/gitignore/api/python
178
-
179
- .pixi/
@@ -1,17 +0,0 @@
1
- #:schema https://creativeprojects.github.io/resticprofile/jsonschema/config.json
2
-
3
- [global]
4
- initialize = true
5
- prevent-auto-repository-file = true
6
- prevent-sleep = true
7
-
8
- [default]
9
- insecure-no-password = true
10
- repository = "~/restic/cherries"
11
-
12
- [default.backup]
13
- check-after = true
14
- check-before = true
15
- source = ["."]
16
- source-relative = true
17
- exclude-file = [".restic-ignore"]
@@ -1,54 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-types/cspell.schema.json",
3
- "version": "0.2",
4
- "language": "en",
5
- "words": [
6
- "asyncio",
7
- "bdabdac",
8
- "cuda",
9
- "customise",
10
- "cython",
11
- "dmypy",
12
- "dotenv",
13
- "getattr",
14
- "hynek",
15
- "ipynb",
16
- "ipython",
17
- "libc",
18
- "liblaf",
19
- "mkdocs",
20
- "mypy",
21
- "numpy",
22
- "pipenv",
23
- "pixi",
24
- "pybuilder",
25
- "pycache",
26
- "pydantic",
27
- "pydocstyle",
28
- "pyenv",
29
- "pyflow",
30
- "pypa",
31
- "pypackages",
32
- "pypi",
33
- "pyplot",
34
- "pyproject",
35
- "pyrightconfig",
36
- "pytest",
37
- "pytype",
38
- "pyvista",
39
- "scrapy",
40
- "sdist",
41
- "stefanzweifel",
42
- "trimesh",
43
- "ubelt",
44
- "venv"
45
- ],
46
- "ignorePaths": [
47
- "**/.cspell.*",
48
- "**/.git",
49
- "**/.vscode",
50
- "**/*-lock.*",
51
- "**/*.lock*"
52
- ],
53
- "allowCompoundWords": true
54
- }
@@ -1,15 +0,0 @@
1
- #!/bin/bash
2
- watch_file "pyproject.toml" "pixi.toml" "pixi.lock"
3
- if [[ -t 2 ]]; then
4
- color="always"
5
- else
6
- color="auto"
7
- fi
8
- eval "$(pixi --color "$color" shell-hook)"
9
-
10
- NEPTUNE_API_TOKEN="$(rbw get --field "API_TOKEN" "Neptune.ai")"
11
- export LIBLAF_CHERRIES_BACKEND="neptune"
12
- export LIBLAF_CHERRIES_GIT_AUTO_COMMIT=false
13
- export NEPTUNE_API_TOKEN
14
- export NEPTUNE_MONITORING_NAMESPACE="monitoring"
15
- export NEPTUNE_PROJECT="cherries"
@@ -1,13 +0,0 @@
1
- # This file is @generated by <https://github.com/liblaf/copier-python>.
2
- # DO NOT EDIT!
3
- # -*- mode: yaml; -*-
4
- # prettier-ignore
5
- _commit: 7fc0f8c
6
- _src_path: gh:liblaf/copier-python
7
- author: liblaf
8
- email: 30631553+liblaf@users.noreply.github.com
9
- license: MIT
10
- name: liblaf.cherries
11
- owner: liblaf
12
- package_manager: pixi
13
- repo: cherries
@@ -1,6 +0,0 @@
1
- # This file is @generated by <https://github.com/liblaf/copier-release>.
2
- # DO NOT EDIT!
3
- # prettier-ignore
4
- _commit: fe8e8b7
5
- _src_path: gh:liblaf/copier-release
6
- release_type: python
@@ -1,8 +0,0 @@
1
- # This file is @generated by <https://github.com/liblaf/copier-shared>.
2
- # DO NOT EDIT!
3
- # prettier-ignore
4
- _commit: 1caac5b
5
- _src_path: gh:liblaf/copier-share
6
- copyright_holder: liblaf
7
- license: MIT
8
- owner: liblaf
@@ -1,143 +0,0 @@
1
- # This file is @generated by <https://github.com/liblaf/copier-python>.
2
- # DO NOT EDIT!
3
- # -*- mode: yaml; -*-
4
- # yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
5
-
6
- site_name: "liblaf.cherries"
7
- site_url:
8
- !ENV [
9
- READTHEDOCS_CANONICAL_URL,
10
- SITE_URL,
11
- "https://liblaf.github.io/cherries/",
12
- ]
13
- site_author: "liblaf"
14
- repo_name: "liblaf/cherries"
15
- repo_url: "https://github.com/liblaf/cherries"
16
- edit_uri: blob/main/docs/
17
-
18
- extra_css:
19
- # - https://raw.githubusercontent.com/liblaf/copier-python/refs/heads/main/css/fonts.css
20
- # - https://raw.githubusercontent.com/liblaf/copier-python/refs/heads/main/css/mkdocstrings/material.css
21
- # - https://raw.githubusercontent.com/liblaf/copier-python/refs/heads/main/css/mkdocstrings/syntax-highlight-in-signatures.css
22
- # I don't know why, but external CSS does not work.
23
- - css/fonts.css
24
- - css/mkdocstrings/material.css
25
- - css/mkdocstrings/syntax-highlight-in-signatures.css
26
-
27
- theme:
28
- name: material
29
- features:
30
- - announce.dismiss
31
- - content.action.edit
32
- - content.action.view
33
- - content.code.annotate
34
- - content.code.copy
35
- - content.code.select
36
- - content.footnote.tooltips
37
- - content.tabs.link
38
- - content.tooltips
39
- # - header.autohide
40
- # - navigation.expand
41
- # - navigation.footer
42
- # - navigation.indexes
43
- - navigation.instant
44
- - navigation.instant.prefetch
45
- - navigation.instant.progress
46
- - navigation.path
47
- # - navigation.prune
48
- - navigation.sections
49
- - navigation.tabs
50
- - navigation.tabs.sticky
51
- - navigation.top
52
- - navigation.tracking
53
- - search.highlight
54
- - search.share
55
- - search.suggest
56
- - toc.follow
57
- # - toc.integrate
58
- palette:
59
- - media: (prefers-color-scheme)
60
- toggle:
61
- icon: material/brightness-auto
62
- name: Auto
63
- - scheme: default
64
- primary: teal
65
- accent: purple
66
- media: "(prefers-color-scheme: light)"
67
- toggle:
68
- icon: material/weather-sunny
69
- name: Light Mode
70
- - scheme: slate
71
- primary: black
72
- accent: lime
73
- media: "(prefers-color-scheme: dark)"
74
- toggle:
75
- icon: material/weather-night
76
- name: Dark Mode
77
-
78
- plugins:
79
- # Built-in plugins
80
- # optimize: # sponsors only
81
- search:
82
- social:
83
- # typeset: # sponsors only
84
- # External plugins, schema provided by us
85
- gen-files:
86
- scripts:
87
- - docs/scripts/gen-ref-pages.py
88
- git-committers:
89
- enabled: !ENV [READTHEDOCS, CI, false]
90
- repository: "liblaf/cherries"
91
- branch: main
92
- literate-nav:
93
- section-index:
94
- # External plugins, schema provided by our community
95
- git-revision-date-localized:
96
- enable_creation_date: true
97
- mkdocstrings:
98
- default_handler: python
99
- enable_inventory: true
100
- handlers:
101
- python:
102
- import:
103
- - https://docs.python.org/3/objects.inv
104
- options:
105
- # General
106
- # Headings
107
- show_symbol_type_heading: true
108
- show_symbol_type_toc: true
109
- # Members
110
- inherited_members: true
111
- filters:
112
- - "!^_[^_]"
113
- - "!__all__"
114
- summary: true
115
- # Docstrings
116
- docstring_style: google
117
- docstring_options:
118
- ignore_init_summary: true
119
- docstring_section_style: list
120
- merge_init_into_class: true
121
- show_if_no_docstring: true
122
- # Signatures
123
- show_signature_annotations: true
124
- separate_signature: true
125
- signature_crossrefs: true
126
- # External plugins, schema not provided
127
- autorefs:
128
-
129
- markdown_extensions:
130
- admonition:
131
- md_in_html:
132
- mdx_truly_sane_lists:
133
- pymdownx.details:
134
- pymdownx.snippets:
135
- pymdownx.superfences:
136
- pymdownx.tabbed:
137
- alternate_style: true
138
- toc:
139
- permalink: ¤
140
-
141
- watch:
142
- - docs/
143
- - src/