liblaf-cherries 0.0.4__tar.gz → 0.0.6__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.
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/.gitignore +7 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/PKG-INFO +8 -5
- liblaf_cherries-0.0.6/pyproject.toml +101 -0
- liblaf_cherries-0.0.6/src/liblaf/cherries/_version.py +21 -0
- liblaf_cherries-0.0.6/src/liblaf/cherries/_version.pyi +4 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/__init__.pyi +4 -3
- liblaf_cherries-0.0.6/src/liblaf/cherries/git/_grapes.py +3 -0
- liblaf_cherries-0.0.6/src/liblaf/cherries/plugin/_logging.py +36 -0
- liblaf_cherries-0.0.4/.config/.restic-ignore +0 -179
- liblaf_cherries-0.0.4/.config/resticprofile.toml +0 -17
- liblaf_cherries-0.0.4/.cspell.json +0 -54
- liblaf_cherries-0.0.4/.envrc +0 -15
- liblaf_cherries-0.0.4/.github/copier/.copier-answers.python.yaml +0 -13
- liblaf_cherries-0.0.4/.github/copier/.copier-answers.release.yaml +0 -6
- liblaf_cherries-0.0.4/.github/copier/.copier-answers.shared.yaml +0 -8
- liblaf_cherries-0.0.4/.github/copier/mkdocs.yaml +0 -143
- liblaf_cherries-0.0.4/.github/linters/.ruff.toml +0 -99
- liblaf_cherries-0.0.4/.github/linters/pyrightconfig.json +0 -12
- liblaf_cherries-0.0.4/.github/release-please/.manifest.json +0 -1
- liblaf_cherries-0.0.4/.github/release-please/config.json +0 -94
- liblaf_cherries-0.0.4/.github/renovate.json +0 -4
- liblaf_cherries-0.0.4/.github/workflows/shared-docs.yaml +0 -45
- liblaf_cherries-0.0.4/.github/workflows/shared-mega-linter.yaml +0 -39
- liblaf_cherries-0.0.4/.github/workflows/shared-pr.yaml +0 -51
- liblaf_cherries-0.0.4/.github/workflows/shared-release-please.yaml +0 -108
- liblaf_cherries-0.0.4/.github/workflows/shared-release.yaml +0 -100
- liblaf_cherries-0.0.4/.github/workflows/shared-repo.yaml +0 -106
- liblaf_cherries-0.0.4/.ruff.toml +0 -7
- liblaf_cherries-0.0.4/.vscode/settings.json +0 -9
- liblaf_cherries-0.0.4/CHANGELOG.md +0 -71
- liblaf_cherries-0.0.4/Justfile +0 -21
- liblaf_cherries-0.0.4/__builtins__.pyi +0 -2
- liblaf_cherries-0.0.4/docs/SUMMARY.md +0 -2
- liblaf_cherries-0.0.4/docs/css/fonts.css +0 -12
- liblaf_cherries-0.0.4/docs/css/mkdocstrings/material.css +0 -29
- liblaf_cherries-0.0.4/docs/css/mkdocstrings/syntax-highlight-in-signatures.css +0 -21
- liblaf_cherries-0.0.4/docs/scripts/gen-ref-pages.py +0 -52
- liblaf_cherries-0.0.4/exp/hello-cherries.py +0 -14
- liblaf_cherries-0.0.4/mkdocs.yaml +0 -13
- liblaf_cherries-0.0.4/pixi.lock +0 -1635
- liblaf_cherries-0.0.4/pyproject.toml +0 -60
- liblaf_cherries-0.0.4/pyrightconfig.json +0 -4
- liblaf_cherries-0.0.4/scripts/gen-init.sh +0 -25
- liblaf_cherries-0.0.4/src/liblaf/cherries/git/_repo.py +0 -33
- liblaf_cherries-0.0.4/src/liblaf/cherries/plugin/_logging.py +0 -58
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/LICENSE +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/docs/README.md +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/__init__.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/__init__.pyi +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/_config.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/_env.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/_experiment.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/_main.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/_start.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/__init__.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/_commit.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/_entrypoint.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/github/__init__.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/github/__init__.pyi +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/github/_link.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/git/github/_repo.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/integration/__init__.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/integration/__init__.pyi +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/integration/_backend.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/integration/_factory.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/integration/_neptune.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/plugin/__init__.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/plugin/__init__.pyi +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/plugin/_abc.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/plugin/_default.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/plugin/_git.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/plugin/_restic.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/utils/__init__.py +0 -0
- {liblaf_cherries-0.0.4 → liblaf_cherries-0.0.6}/src/liblaf/cherries/utils/__init__.pyi +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: liblaf-cherries
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.6
|
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
|
@@ -10,15 +10,18 @@ Project-URL: Source Code, https://github.com/liblaf/cherries
|
|
10
10
|
Author-email: liblaf <30631553+liblaf@users.noreply.github.com>
|
11
11
|
License-Expression: MIT
|
12
12
|
License-File: LICENSE
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
13
15
|
Requires-Python: >=3.12
|
14
|
-
Requires-Dist: comet-ml<4,>=3.
|
16
|
+
Requires-Dist: comet-ml<4,>=3.49.4
|
15
17
|
Requires-Dist: gitpython<4,>=3.1.44
|
18
|
+
Requires-Dist: giturlparse<0.13,>=0.12.0
|
16
19
|
Requires-Dist: lazy-loader<0.5,>=0.4
|
17
|
-
Requires-Dist: liblaf-grapes<0.
|
20
|
+
Requires-Dist: liblaf-grapes<0.2,>=0.1.7
|
18
21
|
Requires-Dist: loguru<0.8,>=0.7.3
|
19
22
|
Requires-Dist: neptune<2,>=1.13.0
|
20
|
-
Requires-Dist: pydantic-settings<3,>=2.
|
21
|
-
Requires-Dist: pydantic<3,>=2.10.
|
23
|
+
Requires-Dist: pydantic-settings<3,>=2.8.1
|
24
|
+
Requires-Dist: pydantic<3,>=2.10.6
|
22
25
|
Description-Content-Type: text/markdown
|
23
26
|
|
24
27
|
# 🍒 Cherries
|
@@ -0,0 +1,101 @@
|
|
1
|
+
#:schema https://json.schemastore.org/pyproject.json
|
2
|
+
# https://packaging.python.org/en/latest/specifications/pyproject-toml/
|
3
|
+
|
4
|
+
[build-system]
|
5
|
+
build-backend = "hatchling.build"
|
6
|
+
requires = ["hatch-vcs", "hatchling"]
|
7
|
+
|
8
|
+
[dependency-groups]
|
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"]
|
28
|
+
|
29
|
+
[project]
|
30
|
+
authors = [
|
31
|
+
{ email = "30631553+liblaf@users.noreply.github.com", name = "liblaf" },
|
32
|
+
]
|
33
|
+
classifiers = [
|
34
|
+
"Development Status :: 4 - Beta",
|
35
|
+
"License :: OSI Approved :: MIT License",
|
36
|
+
]
|
37
|
+
dependencies = [
|
38
|
+
"comet-ml>=3.49.4,<4",
|
39
|
+
"gitpython>=3.1.44,<4",
|
40
|
+
"giturlparse>=0.12.0,<0.13",
|
41
|
+
"lazy-loader>=0.4,<0.5",
|
42
|
+
"liblaf-grapes>=0.1.7,<0.2",
|
43
|
+
"loguru>=0.7.3,<0.8",
|
44
|
+
"neptune>=1.13.0,<2",
|
45
|
+
"pydantic-settings>=2.8.1,<3",
|
46
|
+
"pydantic>=2.10.6,<3",
|
47
|
+
]
|
48
|
+
description = "Add your description here"
|
49
|
+
dynamic = ["version"]
|
50
|
+
keywords = []
|
51
|
+
license = "MIT"
|
52
|
+
name = "liblaf-cherries"
|
53
|
+
readme = "docs/README.md"
|
54
|
+
requires-python = ">=3.12"
|
55
|
+
|
56
|
+
[project.urls]
|
57
|
+
"Changelog" = "https://github.com/liblaf/cherries/blob/main/CHANGELOG.md"
|
58
|
+
"Homepage" = "https://github.com/liblaf/cherries"
|
59
|
+
"Issue Tracker" = "https://github.com/liblaf/cherries/issues"
|
60
|
+
"Release Notes" = "https://github.com/liblaf/cherries/releases"
|
61
|
+
"Source Code" = "https://github.com/liblaf/cherries"
|
62
|
+
|
63
|
+
[tool.check-wheel-contents]
|
64
|
+
ignore = ["W002"]
|
65
|
+
|
66
|
+
[tool.coverage.run]
|
67
|
+
branch = true
|
68
|
+
source = ["src/"]
|
69
|
+
|
70
|
+
[tool.hatch.build.hooks.vcs]
|
71
|
+
version-file = "src/liblaf/cherries/_version.py"
|
72
|
+
|
73
|
+
[tool.hatch.build.targets.sdist]
|
74
|
+
only-include = ["src/"]
|
75
|
+
|
76
|
+
[tool.hatch.build.targets.wheel]
|
77
|
+
packages = ["src/liblaf/"]
|
78
|
+
|
79
|
+
[tool.hatch.version]
|
80
|
+
source = "vcs"
|
81
|
+
|
82
|
+
[tool.pixi.environments]
|
83
|
+
default = { features = ["build", "dev", "docs", "test"] }
|
84
|
+
|
85
|
+
[tool.pixi.project]
|
86
|
+
channel-priority = "disabled"
|
87
|
+
channels = ["conda-forge"]
|
88
|
+
platforms = ["linux-64"]
|
89
|
+
|
90
|
+
[tool.pixi.pypi-dependencies]
|
91
|
+
liblaf-cherries = { editable = true, path = "." }
|
92
|
+
|
93
|
+
[tool.pixi.system-requirements]
|
94
|
+
cuda = "12"
|
95
|
+
libc = { family = "glibc", version = "2.41" }
|
96
|
+
linux = "6.13"
|
97
|
+
|
98
|
+
[tool.pytest.ini_options]
|
99
|
+
addopts = ["--numprocesses=auto"]
|
100
|
+
junit_family = "legacy"
|
101
|
+
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.6'
|
21
|
+
__version_tuple__ = version_tuple = (0, 0, 6)
|
@@ -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 .
|
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
|
-
"
|
13
|
+
"info",
|
13
14
|
"permalink",
|
14
|
-
"repo",
|
15
15
|
"root",
|
16
|
+
"root_safe",
|
16
17
|
"user_repo",
|
17
18
|
]
|
@@ -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
|
-
}
|
liblaf_cherries-0.0.4/.envrc
DELETED
@@ -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,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/
|