seecr-stdlib 0.6.5__tar.gz → 0.7.0__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 (35) hide show
  1. seecr_stdlib-0.7.0/.github/dependabot.yml +10 -0
  2. seecr_stdlib-0.7.0/.github/workflows/publish.yml +56 -0
  3. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/.github/workflows/test.yml +4 -2
  4. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/CLAUDE.md +1 -1
  5. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/PKG-INFO +8 -6
  6. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/README.md +1 -1
  7. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/pyproject.toml +6 -4
  8. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/_version.py +3 -3
  9. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib.egg-info/PKG-INFO +8 -6
  10. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib.egg-info/SOURCES.txt +1 -0
  11. seecr_stdlib-0.7.0/seecr_stdlib.egg-info/requires.txt +2 -0
  12. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib.egg-info/scm_file_list.json +1 -0
  13. seecr_stdlib-0.7.0/seecr_stdlib.egg-info/scm_version.json +8 -0
  14. seecr_stdlib-0.6.5/.github/workflows/publish.yml +0 -39
  15. seecr_stdlib-0.6.5/seecr_stdlib.egg-info/requires.txt +0 -2
  16. seecr_stdlib-0.6.5/seecr_stdlib.egg-info/scm_version.json +0 -8
  17. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/.gitignore +0 -0
  18. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/LICENSE +0 -0
  19. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/doc/license.conf +0 -0
  20. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/.gitignore +0 -0
  21. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/__init__.py +0 -0
  22. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/config.py +0 -0
  23. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/config_test.py +0 -0
  24. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/dict.py +0 -0
  25. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/dict_test.py +0 -0
  26. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/first.py +0 -0
  27. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/first_test.py +0 -0
  28. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/format/__init__.py +0 -0
  29. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/format/date.py +0 -0
  30. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/format/date_test.py +0 -0
  31. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/time.py +0 -0
  32. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib/time_test.py +0 -0
  33. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib.egg-info/dependency_links.txt +0 -0
  34. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/seecr_stdlib.egg-info/top_level.txt +0 -0
  35. {seecr_stdlib-0.6.5 → seecr_stdlib-0.7.0}/setup.cfg +0 -0
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ # Keeps the action versions in .github/workflows up to date.
4
+ - package-ecosystem: github-actions
5
+ directory: /
6
+ schedule:
7
+ interval: monthly
8
+ groups:
9
+ actions:
10
+ patterns: ["*"]
@@ -0,0 +1,56 @@
1
+ name: Publish to PyPI
2
+
3
+ # Publishes when a MAJOR.MINOR.PATCH tag (e.g. 0.6.4) is pushed. The tag
4
+ # becomes the package version via setuptools_scm. After the upload, a GitHub
5
+ # release is made, with notes generated from the commits since the previous tag.
6
+ on:
7
+ push:
8
+ tags: ["[0-9]+.[0-9]+.[0-9]+"]
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v7
15
+ with:
16
+ fetch-depth: 0
17
+ - uses: actions/setup-python@v7
18
+ with:
19
+ python-version: "3.13"
20
+ - run: pip install build
21
+ - run: python -m build
22
+ - uses: actions/upload-artifact@v7
23
+ with:
24
+ name: dist
25
+ path: dist/
26
+
27
+ publish:
28
+ needs: build
29
+ runs-on: ubuntu-latest
30
+ environment:
31
+ name: pypi
32
+ url: https://pypi.org/project/seecr-stdlib/
33
+ permissions:
34
+ id-token: write # PyPI trusted publishing, no API token needed
35
+ steps:
36
+ - uses: actions/download-artifact@v8
37
+ with:
38
+ name: dist
39
+ path: dist/
40
+ - uses: pypa/gh-action-pypi-publish@release/v1
41
+
42
+ release:
43
+ needs: publish
44
+ runs-on: ubuntu-latest
45
+ permissions:
46
+ contents: write # to create the release
47
+ steps:
48
+ - uses: actions/download-artifact@v8
49
+ with:
50
+ name: dist
51
+ path: dist/
52
+ - run: >-
53
+ gh release create "$GITHUB_REF_NAME" dist/*
54
+ --repo "$GITHUB_REPOSITORY" --title "$GITHUB_REF_NAME" --generate-notes
55
+ env:
56
+ GH_TOKEN: ${{ github.token }}
@@ -1,7 +1,9 @@
1
1
  name: Tests
2
2
 
3
+ # Version tags are tested by the push of the commit itself; publish.yml handles the tag.
3
4
  on:
4
5
  push:
6
+ branches: ["**"]
5
7
  pull_request:
6
8
 
7
9
  jobs:
@@ -12,10 +14,10 @@ jobs:
12
14
  matrix:
13
15
  python-version: ["3.11", "3.12", "3.13", "3.14"]
14
16
  steps:
15
- - uses: actions/checkout@v5
17
+ - uses: actions/checkout@v7
16
18
  with:
17
19
  fetch-depth: 0 # setuptools_scm needs the tags
18
- - uses: actions/setup-python@v6
20
+ - uses: actions/setup-python@v7
19
21
  with:
20
22
  python-version: ${{ matrix.python-version }}
21
23
  - run: pip install -e .
@@ -23,7 +23,7 @@ Formatting follows black (isort is configured with `profile = "black"`).
23
23
  - Tests sit next to the module they test as `<module>_test.py` (not in a separate `tests/` dir), written as plain pytest functions, often with `@pytest.mark.parametrize`.
24
24
  - Every source file starts with the MIT `## begin license ## ... ## end license ##` header (template data in `doc/license.conf`). Copy it into new files and keep the copyright year(s) current.
25
25
  - Versions come from git tags via `setuptools_scm` (tags like `0.6.3`); `seecr_stdlib/_version.py` is generated and git-ignored — don't edit it.
26
- - Pushing a version tag to GitHub publishes that version to PyPI (`.github/workflows/publish.yml`), and PyPI never accepts a version twice. Don't push tags unless asked.
26
+ - Pushing a version tag to GitHub publishes that version to PyPI and makes a GitHub release (`.github/workflows/publish.yml`), and PyPI never accepts a version twice. Don't push tags unless asked.
27
27
  - Only `Dict` and `first` are re-exported from the package root; other modules are imported by path (`seecr_stdlib.config`, `seecr_stdlib.time`, `seecr_stdlib.format`).
28
28
  - `format_date` dispatches through the `styles` dict in `format/date.py`; add new styles (and their short aliases like `nl-t`) there. Unknown styles fall back to ISO date. Dutch styles convert aware datetimes to `Europe/Amsterdam` when showing time.
29
29
  - `Config(path)` is deprecated in favour of `Config.read(path, ...)`; `Config.get` resolves dotted keys including list indices (`"a.values.0"`), returning `default` for missing/`None` values.
@@ -1,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seecr-stdlib
3
- Version: 0.6.5
4
- Summary: Standard tools for seecr
3
+ Version: 0.7.0
4
+ Summary: Small Python utilities: attribute-access dicts, JSON configuration, timezone-aware time helpers and date formatting
5
5
  Author-email: Thijs Janssen <thijs@seecr.nl>, Johan Jonkers <johan@seecr.nl>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/seecr/seecr-stdlib
8
8
  Project-URL: Source, https://github.com/seecr/seecr-stdlib
9
9
  Project-URL: Issues, https://github.com/seecr/seecr-stdlib/issues
10
- Keywords: tools
10
+ Keywords: utilities,dict,config,json,datetime,timezone,date formatting
11
+ Classifier: Development Status :: 4 - Beta
11
12
  Classifier: Programming Language :: Python :: 3
12
13
  Classifier: Programming Language :: Python :: 3 :: Only
13
14
  Classifier: Programming Language :: Python :: 3.11
@@ -17,11 +18,12 @@ Classifier: Programming Language :: Python :: 3.14
17
18
  Classifier: Operating System :: OS Independent
18
19
  Classifier: Intended Audience :: Developers
19
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Topic :: Utilities
20
22
  Requires-Python: >=3.11
21
23
  Description-Content-Type: text/markdown
22
24
  License-File: LICENSE
23
- Requires-Dist: pytest<10,>=9.0.1
24
- Requires-Dist: python-dateutil<3,>=2.9.0
25
+ Requires-Dist: pytest<10,>=9.2.0
26
+ Requires-Dist: python-dateutil<5,>=4.0.0
25
27
  Dynamic: license-file
26
28
 
27
29
  # Seecr Standard Library
@@ -129,4 +131,4 @@ Tests live next to the code as `<module>_test.py`.
129
131
 
130
132
  Copyright (C) 2025-2026 Seecr (Seek You Too B.V.)
131
133
 
132
- Licensed under the [MIT License](LICENSE).
134
+ Licensed under the [MIT License](https://github.com/seecr/seecr-stdlib/blob/master/LICENSE).
@@ -103,4 +103,4 @@ Tests live next to the code as `<module>_test.py`.
103
103
 
104
104
  Copyright (C) 2025-2026 Seecr (Seek You Too B.V.)
105
105
 
106
- Licensed under the [MIT License](LICENSE).
106
+ Licensed under the [MIT License](https://github.com/seecr/seecr-stdlib/blob/master/LICENSE).
@@ -8,13 +8,14 @@ authors = [
8
8
  {name = "Thijs Janssen", email = "thijs@seecr.nl"},
9
9
  {name = "Johan Jonkers", email = "johan@seecr.nl"},
10
10
  ]
11
- description = "Standard tools for seecr"
11
+ description = "Small Python utilities: attribute-access dicts, JSON configuration, timezone-aware time helpers and date formatting"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.11"
14
- keywords = ["tools" ]
14
+ keywords = ["utilities", "dict", "config", "json", "datetime", "timezone", "date formatting"]
15
15
  license = "MIT"
16
16
  license-files = ["LICENSE"]
17
17
  classifiers = [
18
+ "Development Status :: 4 - Beta",
18
19
  "Programming Language :: Python :: 3",
19
20
  "Programming Language :: Python :: 3 :: Only",
20
21
  "Programming Language :: Python :: 3.11",
@@ -24,10 +25,11 @@ classifiers = [
24
25
  "Operating System :: OS Independent",
25
26
  "Intended Audience :: Developers",
26
27
  "Topic :: Software Development :: Libraries :: Python Modules",
28
+ "Topic :: Utilities",
27
29
  ]
28
30
  dependencies = [
29
- "pytest >= 9.0.1, < 10",
30
- "python-dateutil >= 2.9.0, < 3"
31
+ "pytest >= 9.2.0, < 10",
32
+ "python-dateutil >= 4.0.0, < 5",
31
33
  ]
32
34
  dynamic = ["version"]
33
35
 
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.6.5'
22
- __version_tuple__ = version_tuple = (0, 6, 5)
21
+ __version__ = version = '0.7.0'
22
+ __version_tuple__ = version_tuple = (0, 7, 0)
23
23
 
24
- __commit_id__ = commit_id = 'gd88678b0f'
24
+ __commit_id__ = commit_id = 'g9c7cf9acc'
@@ -1,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seecr-stdlib
3
- Version: 0.6.5
4
- Summary: Standard tools for seecr
3
+ Version: 0.7.0
4
+ Summary: Small Python utilities: attribute-access dicts, JSON configuration, timezone-aware time helpers and date formatting
5
5
  Author-email: Thijs Janssen <thijs@seecr.nl>, Johan Jonkers <johan@seecr.nl>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/seecr/seecr-stdlib
8
8
  Project-URL: Source, https://github.com/seecr/seecr-stdlib
9
9
  Project-URL: Issues, https://github.com/seecr/seecr-stdlib/issues
10
- Keywords: tools
10
+ Keywords: utilities,dict,config,json,datetime,timezone,date formatting
11
+ Classifier: Development Status :: 4 - Beta
11
12
  Classifier: Programming Language :: Python :: 3
12
13
  Classifier: Programming Language :: Python :: 3 :: Only
13
14
  Classifier: Programming Language :: Python :: 3.11
@@ -17,11 +18,12 @@ Classifier: Programming Language :: Python :: 3.14
17
18
  Classifier: Operating System :: OS Independent
18
19
  Classifier: Intended Audience :: Developers
19
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Topic :: Utilities
20
22
  Requires-Python: >=3.11
21
23
  Description-Content-Type: text/markdown
22
24
  License-File: LICENSE
23
- Requires-Dist: pytest<10,>=9.0.1
24
- Requires-Dist: python-dateutil<3,>=2.9.0
25
+ Requires-Dist: pytest<10,>=9.2.0
26
+ Requires-Dist: python-dateutil<5,>=4.0.0
25
27
  Dynamic: license-file
26
28
 
27
29
  # Seecr Standard Library
@@ -129,4 +131,4 @@ Tests live next to the code as `<module>_test.py`.
129
131
 
130
132
  Copyright (C) 2025-2026 Seecr (Seek You Too B.V.)
131
133
 
132
- Licensed under the [MIT License](LICENSE).
134
+ Licensed under the [MIT License](https://github.com/seecr/seecr-stdlib/blob/master/LICENSE).
@@ -3,6 +3,7 @@ CLAUDE.md
3
3
  LICENSE
4
4
  README.md
5
5
  pyproject.toml
6
+ .github/dependabot.yml
6
7
  .github/workflows/publish.yml
7
8
  .github/workflows/test.yml
8
9
  doc/license.conf
@@ -0,0 +1,2 @@
1
+ pytest<10,>=9.2.0
2
+ python-dateutil<5,>=4.0.0
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "files": [
3
+ ".github/dependabot.yml",
3
4
  ".github/workflows/publish.yml",
4
5
  ".github/workflows/test.yml",
5
6
  ".gitignore",
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.7.0",
3
+ "distance": 0,
4
+ "node": "g9c7cf9accd1d7be9c3e05f24ffbad54be3b574e2",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-11-19"
8
+ }
@@ -1,39 +0,0 @@
1
- name: Publish to PyPI
2
-
3
- # Publishes when a MAJOR.MINOR.PATCH tag (e.g. 0.6.4) is pushed. The tag
4
- # becomes the package version via setuptools_scm.
5
- on:
6
- push:
7
- tags: ["[0-9]+.[0-9]+.[0-9]+"]
8
-
9
- jobs:
10
- build:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: actions/checkout@v5
14
- with:
15
- fetch-depth: 0
16
- - uses: actions/setup-python@v6
17
- with:
18
- python-version: "3.13"
19
- - run: pip install build
20
- - run: python -m build
21
- - uses: actions/upload-artifact@v4
22
- with:
23
- name: dist
24
- path: dist/
25
-
26
- publish:
27
- needs: build
28
- runs-on: ubuntu-latest
29
- environment:
30
- name: pypi
31
- url: https://pypi.org/project/seecr-stdlib/
32
- permissions:
33
- id-token: write # PyPI trusted publishing, no API token needed
34
- steps:
35
- - uses: actions/download-artifact@v4
36
- with:
37
- name: dist
38
- path: dist/
39
- - uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,2 +0,0 @@
1
- pytest<10,>=9.0.1
2
- python-dateutil<3,>=2.9.0
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.6.5",
3
- "distance": 0,
4
- "node": "gd88678b0f19777d4da06b0113ecbd54f5bdb6fa4",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-10-29"
8
- }
File without changes
File without changes
File without changes