datamaestro 1.6.0__tar.gz → 1.6.2__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 (79) hide show
  1. {datamaestro-1.6.0 → datamaestro-1.6.2}/.github/workflows/python-publish.yml +2 -2
  2. datamaestro-1.6.2/.pre-commit-config.yaml +29 -0
  3. {datamaestro-1.6.0 → datamaestro-1.6.2}/PKG-INFO +1 -1
  4. datamaestro-1.6.2/cliff.toml +65 -0
  5. datamaestro-1.6.2/release-notes.md +5 -0
  6. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/__main__.py +0 -1
  7. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/definitions.py +1 -4
  8. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/version.py +1 -1
  9. datamaestro-1.6.0/.pre-commit-config.yaml +0 -17
  10. datamaestro-1.6.0/release-notes.md +0 -5
  11. {datamaestro-1.6.0 → datamaestro-1.6.2}/.coverage +0 -0
  12. {datamaestro-1.6.0 → datamaestro-1.6.2}/.flake8 +0 -0
  13. {datamaestro-1.6.0 → datamaestro-1.6.2}/.github/workflows/pytest.yml +0 -0
  14. {datamaestro-1.6.0 → datamaestro-1.6.2}/.gitignore +0 -0
  15. {datamaestro-1.6.0 → datamaestro-1.6.2}/.python-version +0 -0
  16. {datamaestro-1.6.0 → datamaestro-1.6.2}/.readthedocs.yml +0 -0
  17. {datamaestro-1.6.0 → datamaestro-1.6.2}/CHANGELOG.md +0 -0
  18. {datamaestro-1.6.0 → datamaestro-1.6.2}/LICENSE +0 -0
  19. {datamaestro-1.6.0 → datamaestro-1.6.2}/MANIFEST.in +0 -0
  20. {datamaestro-1.6.0 → datamaestro-1.6.2}/README.md +0 -0
  21. {datamaestro-1.6.0 → datamaestro-1.6.2}/TODO.md +0 -0
  22. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/Makefile +0 -0
  23. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/make.bat +0 -0
  24. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/requirements.txt +0 -0
  25. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/api/data.md +0 -0
  26. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/api/download.rst +0 -0
  27. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/api/index.md +0 -0
  28. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/api/records.rst +0 -0
  29. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/conf.py +0 -0
  30. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/datasets.rst +0 -0
  31. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/developping.md +0 -0
  32. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/index.md +0 -0
  33. {datamaestro-1.6.0 → datamaestro-1.6.2}/docs/source/style.css +0 -0
  34. {datamaestro-1.6.0 → datamaestro-1.6.2}/pyproject.toml +0 -0
  35. {datamaestro-1.6.0 → datamaestro-1.6.2}/pytest.ini +0 -0
  36. {datamaestro-1.6.0 → datamaestro-1.6.2}/requirements-dev.txt +0 -0
  37. {datamaestro-1.6.0 → datamaestro-1.6.2}/requirements.txt +0 -0
  38. {datamaestro-1.6.0 → datamaestro-1.6.2}/schema.yaml +0 -0
  39. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/__init__.py +0 -0
  40. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/annotations/__init__.py +0 -0
  41. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/annotations/agreement.py +0 -0
  42. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/commands/__init__.py +0 -0
  43. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/commands/mainstyle.css +0 -0
  44. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/commands/site.py +0 -0
  45. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/context.py +0 -0
  46. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/data/__init__.py +0 -0
  47. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/data/csv.py +0 -0
  48. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/data/huggingface.py +0 -0
  49. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/data/ml.py +0 -0
  50. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/data/tensor.py +0 -0
  51. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/__init__.py +0 -0
  52. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/archive.py +0 -0
  53. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/custom.py +0 -0
  54. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/huggingface.py +0 -0
  55. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/links.py +0 -0
  56. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/manual.py +0 -0
  57. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/multiple.py +0 -0
  58. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/single.py +0 -0
  59. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/sync.py +0 -0
  60. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/todo.py +0 -0
  61. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/download/wayback.py +0 -0
  62. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/record.py +0 -0
  63. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/registry.py +0 -0
  64. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/search.py +0 -0
  65. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/settings.py +0 -0
  66. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/sphinx.py +0 -0
  67. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/stream/__init__.py +0 -0
  68. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/stream/compress.py +0 -0
  69. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/stream/lines.py +0 -0
  70. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/templates/dataset.py +0 -0
  71. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/test/__init__.py +0 -0
  72. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/test/checks.py +0 -0
  73. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/test/conftest.py +0 -0
  74. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/test/test_annotations.py +0 -0
  75. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/test/test_download_handlers.py +0 -0
  76. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/test/test_record.py +0 -0
  77. {datamaestro-1.6.0 → datamaestro-1.6.2}/src/datamaestro/utils.py +0 -0
  78. {datamaestro-1.6.0 → datamaestro-1.6.2}/tox.ini +0 -0
  79. {datamaestro-1.6.0 → datamaestro-1.6.2}/uv.lock +0 -0
@@ -16,9 +16,9 @@ jobs:
16
16
  id-token: write # Required for PyPI trusted publishing
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v2
19
+ - uses: actions/checkout@v4
20
20
  - name: Set up Python
21
- uses: actions/setup-python@v2
21
+ uses: actions/setup-python@v5
22
22
  with:
23
23
  python-version: "3.x"
24
24
 
@@ -0,0 +1,29 @@
1
+ default_install_hook_types:
2
+ - pre-commit
3
+ - commit-msg
4
+
5
+ repos:
6
+ - hooks:
7
+ - id: check-yaml
8
+ - id: end-of-file-fixer
9
+ - id: trailing-whitespace
10
+ repo: https://github.com/pre-commit/pre-commit-hooks
11
+ rev: v6.0.0
12
+ - hooks:
13
+ - exclude: ^src/experimaestro/server/data
14
+ id: black
15
+ repo: https://github.com/psf/black
16
+ rev: 25.12.0
17
+ - hooks:
18
+ - additional_dependencies:
19
+ - flake8-print
20
+ - flake8-fixme
21
+ id: flake8
22
+ repo: https://github.com/pycqa/flake8
23
+ rev: 7.3.0
24
+ - hooks:
25
+ - id: conventional-pre-commit
26
+ stages:
27
+ - commit-msg
28
+ repo: https://github.com/compilerla/conventional-pre-commit
29
+ rev: v4.3.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datamaestro
3
- Version: 1.6.0
3
+ Version: 1.6.2
4
4
  Summary: Add your description here
5
5
  Author-email: Benjamin Piwowarski <benjamin@piwowarski.fr>
6
6
  License-File: LICENSE
@@ -0,0 +1,65 @@
1
+ # git-cliff configuration file
2
+ # See https://git-cliff.org/docs/configuration
3
+
4
+ [changelog]
5
+ header = """
6
+ # Changelog\n
7
+ All notable changes to this project will be documented in this file.\n
8
+ """
9
+ body = """
10
+ {% if version %}\
11
+ ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
12
+ {% else %}\
13
+ ## [Unreleased]
14
+ {% endif %}\
15
+ {% for group, commits in commits | group_by(attribute="group") %}
16
+ ### {{ group | striptags | trim | upper_first }}
17
+ {% for commit in commits
18
+ | filter(attribute="scope")
19
+ | sort(attribute="scope") %}
20
+ - **{{ commit.scope }}**: {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/experimaestro/experimaestro-python/commit/{{ commit.id }}))
21
+ {%- endfor -%}
22
+ {% for commit in commits %}
23
+ {%- if not commit.scope -%}
24
+ - {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/experimaestro/experimaestro-python/commit/{{ commit.id }}))
25
+ {% endif -%}
26
+ {%- endfor -%}
27
+ {% endfor %}
28
+ """
29
+ trim = true
30
+ footer = ""
31
+
32
+ [git]
33
+ conventional_commits = true
34
+ filter_unconventional = false
35
+ split_commits = false
36
+ commit_preprocessors = []
37
+ commit_parsers = [
38
+ { message = "^feat", group = "Features" },
39
+ { message = "^fix", group = "Bug Fixes" },
40
+ { message = "^doc", group = "Documentation" },
41
+ { message = "^perf", group = "Performance" },
42
+ { message = "^refactor", group = "Refactor" },
43
+ { message = "^style", group = "Styling" },
44
+ { message = "^test", group = "Testing" },
45
+ { message = "^bump: version", skip = true },
46
+ { message = "^chore\\(release\\): prepare for", skip = true },
47
+ { message = "^chore\\(deps.*\\)", skip = true },
48
+ { message = "^chore\\(pr\\)", skip = true },
49
+ { message = "^chore\\(pull\\)", skip = true },
50
+ { message = "^build\\(deps", skip = true },
51
+ { message = "^chore", group = "Miscellaneous Tasks" },
52
+ { message = "^ci", group = "CI" },
53
+ { message = "^build", group = "Build" },
54
+ { message = "^revert", group = "Revert" },
55
+ { body = ".*security", group = "Security" },
56
+ ]
57
+ protect_breaking_commits = false
58
+ filter_commits = false
59
+ tag_pattern = "v[0-9].*"
60
+ skip_tags = ""
61
+ ignore_tags = ""
62
+ topo_order = false
63
+ sort_commits = "oldest"
64
+ # Skip versions with no commits (after filtering)
65
+ skip_empty = true
@@ -0,0 +1,5 @@
1
+ ## [1.6.2] - 2026-01-01
2
+
3
+ ### CI
4
+ - Upgraded the pre-commit file ([012d74d](https://github.com/experimaestro/experimaestro-python/commit/012d74d4c8c89ebfad3cc74cdfbe2f046d83d260))
5
+
@@ -6,7 +6,6 @@ import sys
6
6
  import logging
7
7
  from functools import update_wrapper
8
8
  import traceback as tb
9
- import pkg_resources
10
9
  import re
11
10
  from pathlib import Path
12
11
  import shutil
@@ -21,8 +21,6 @@ from typing import (
21
21
  _GenericAlias,
22
22
  )
23
23
  from experimaestro import ( # noqa: F401 (re-exports)
24
- argument,
25
- constant,
26
24
  Param,
27
25
  Option,
28
26
  Config,
@@ -183,8 +181,7 @@ class AbstractDataset(AbstractData):
183
181
  self.hooks[hookname].append(hook)
184
182
 
185
183
  @abstractmethod
186
- def _prepare(self) -> "Base":
187
- ...
184
+ def _prepare(self) -> "Base": ...
188
185
 
189
186
  def format(self, encoder: str) -> str:
190
187
  s = self.prepare()
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '1.6.0'
4
+ __version__ = VERSION = '1.6.2'
@@ -1,17 +0,0 @@
1
- repos:
2
- - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v6.0.0
4
- hooks:
5
- - id: check-yaml
6
- - id: end-of-file-fixer
7
- - id: trailing-whitespace
8
- - repo: https://github.com/psf/black
9
- rev: 25.12.0
10
- hooks:
11
- - id: black
12
- - repo: https://github.com/pycqa/flake8
13
- rev: 7.3.0
14
- hooks:
15
- - id: flake8
16
- additional_dependencies:
17
- - flake8-print
@@ -1,5 +0,0 @@
1
- ## [1.6.0] - 2025-12-21
2
-
3
- ### ⚙️ Miscellaneous Tasks
4
-
5
- - Use git cliff for release notes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes