timevec 0.3.1__tar.gz → 0.4.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 (56) hide show
  1. timevec-0.4.0/.coveragerc +2 -0
  2. {timevec-0.3.1 → timevec-0.4.0}/.github/workflows/gitignore-in.yml +1 -6
  3. timevec-0.4.0/.github/workflows/happy.yml +10 -0
  4. timevec-0.4.0/.github/workflows/octocov.yml +57 -0
  5. timevec-0.4.0/.github/workflows/pypi-publish.yml +59 -0
  6. {timevec-0.3.1 → timevec-0.4.0}/.github/workflows/python-test.yml +17 -16
  7. timevec-0.4.0/.github/workflows/spellcheck.yml +8 -0
  8. {timevec-0.3.1 → timevec-0.4.0}/.gitignore +121 -27
  9. timevec-0.4.0/.octocov.yml +21 -0
  10. timevec-0.4.0/CHANGELOG.md +94 -0
  11. {timevec-0.3.1/timevec.egg-info → timevec-0.4.0}/PKG-INFO +60 -7
  12. {timevec-0.3.1 → timevec-0.4.0}/README.md +55 -3
  13. timevec-0.4.0/examples/plot.py +58 -0
  14. timevec-0.4.0/lefthook.yml +13 -0
  15. {timevec-0.3.1 → timevec-0.4.0}/pyproject.toml +73 -4
  16. {timevec-0.3.1 → timevec-0.4.0}/tests/test_builtin_math.py +35 -5
  17. {timevec-0.3.1 → timevec-0.4.0}/tests/test_many_dates.py +18 -7
  18. {timevec-0.3.1 → timevec-0.4.0}/tests/test_numpy.py +18 -1
  19. timevec-0.4.0/tests/test_numpy_datetime64.py +147 -0
  20. {timevec-0.3.1 → timevec-0.4.0}/tests/test_same_result.py +56 -19
  21. timevec-0.4.0/tests/test_util.py +187 -0
  22. timevec-0.4.0/timevec/__init__.py +52 -0
  23. timevec-0.4.0/timevec/_version.py +24 -0
  24. timevec-0.4.0/timevec/builtin_math.py +172 -0
  25. timevec-0.4.0/timevec/numpy.py +215 -0
  26. {timevec-0.3.1 → timevec-0.4.0}/timevec/numpy_datetime64.py +67 -24
  27. {timevec-0.3.1 → timevec-0.4.0}/timevec/util.py +49 -54
  28. {timevec-0.3.1 → timevec-0.4.0/timevec.egg-info}/PKG-INFO +60 -7
  29. {timevec-0.3.1 → timevec-0.4.0}/timevec.egg-info/SOURCES.txt +7 -1
  30. timevec-0.4.0/timevec.egg-info/scm_file_list.json +38 -0
  31. timevec-0.4.0/timevec.egg-info/scm_version.json +8 -0
  32. timevec-0.4.0/uv.lock +1279 -0
  33. timevec-0.3.1/.github/workflows/happy.yml +0 -18
  34. timevec-0.3.1/.github/workflows/pypi-publish.yml +0 -44
  35. timevec-0.3.1/.github/workflows/spellcheck.yml +0 -16
  36. timevec-0.3.1/examples/plot.py +0 -37
  37. timevec-0.3.1/mypy.ini +0 -20
  38. timevec-0.3.1/tests/test_numpy_datetime64.py +0 -60
  39. timevec-0.3.1/tests/test_util.py +0 -101
  40. timevec-0.3.1/timevec/__init__.py +0 -33
  41. timevec-0.3.1/timevec/_version.py +0 -16
  42. timevec-0.3.1/timevec/builtin_math.py +0 -159
  43. timevec-0.3.1/timevec/numpy.py +0 -179
  44. timevec-0.3.1/uv.lock +0 -1183
  45. {timevec-0.3.1 → timevec-0.4.0}/.github/renovate.json5 +0 -0
  46. {timevec-0.3.1 → timevec-0.4.0}/.gitignore.in +0 -0
  47. {timevec-0.3.1 → timevec-0.4.0}/LICENSE +0 -0
  48. {timevec-0.3.1 → timevec-0.4.0}/examples/day_vec.svg +0 -0
  49. {timevec-0.3.1 → timevec-0.4.0}/examples/month_vec.svg +0 -0
  50. {timevec-0.3.1 → timevec-0.4.0}/examples/week_vec.svg +0 -0
  51. {timevec-0.3.1 → timevec-0.4.0}/examples/year_vec.svg +0 -0
  52. {timevec-0.3.1 → timevec-0.4.0}/setup.cfg +0 -0
  53. {timevec-0.3.1 → timevec-0.4.0}/timevec/py.typed +0 -0
  54. {timevec-0.3.1 → timevec-0.4.0}/timevec.egg-info/dependency_links.txt +0 -0
  55. {timevec-0.3.1 → timevec-0.4.0}/timevec.egg-info/requires.txt +0 -0
  56. {timevec-0.3.1 → timevec-0.4.0}/timevec.egg-info/top_level.txt +0 -0
@@ -0,0 +1,2 @@
1
+ [run]
2
+ branch = True
@@ -1,16 +1,11 @@
1
1
  name: Update gitignore file
2
-
3
2
  on:
4
3
  schedule:
5
4
  # daily at 00:00
6
5
  - cron: '0 0 * * *'
7
-
8
6
  permissions:
9
7
  contents: write
10
8
  pull-requests: write
11
-
12
9
  jobs:
13
10
  update-gitignore:
14
- runs-on: ubuntu-latest
15
- steps:
16
- - uses: gitignore-in/gh-action@v0.2.2
11
+ uses: kitsuyui/gh-actions-workflows/.github/workflows/gitignore-in.yml@3717c78af3a5e594b7a81b063276e15fac7e08fc
@@ -0,0 +1,10 @@
1
+ name: happy-commit
2
+ on:
3
+ - pull_request
4
+ permissions:
5
+ contents: read
6
+ pull-requests: write
7
+ issues: write
8
+ jobs:
9
+ happy:
10
+ uses: kitsuyui/gh-actions-workflows/.github/workflows/happy-commit.yml@3717c78af3a5e594b7a81b063276e15fac7e08fc
@@ -0,0 +1,57 @@
1
+ name: octocov
2
+ on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
10
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
11
+
12
+ permissions:
13
+ contents: read
14
+ pull-requests: write
15
+ checks: write
16
+
17
+ jobs:
18
+ octocov:
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ python: ["3.14"]
24
+
25
+ steps:
26
+ - name: Checkout
27
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
28
+
29
+ - name: Set up Python
30
+ id: setup-python
31
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
32
+ with:
33
+ python-version: "${{ matrix.python }}"
34
+
35
+ - name: Set up uv
36
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
37
+ with:
38
+ enable-cache: true
39
+ cache-dependency-glob: uv.lock
40
+
41
+ - name: Install dependencies
42
+ run: |
43
+ uv python pin ${{ matrix.python }}
44
+ uv sync
45
+
46
+ - name: Test
47
+ run: uv run poe test
48
+
49
+ - name: Coverage
50
+ run: uv run poe coverage-xml
51
+
52
+ # See also: https://github.com/k1LoW/octocov-action
53
+ - name: Report coverage with octocov
54
+ uses: k1LoW/octocov-action@b3b6ee60482a667950f87553abf1df63217235d9 # v1
55
+ with:
56
+ github-token: ${{ secrets.GITHUB_TOKEN }}
57
+ config: .octocov.yml
@@ -0,0 +1,59 @@
1
+ name: Packaging
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened]
6
+ release:
7
+ # "released" events are emitted either when directly be released or be edited from pre-released.
8
+ types: [prereleased, released]
9
+
10
+ concurrency:
11
+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.event.release.id || github.ref }}
12
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
13
+
14
+ permissions:
15
+ contents: read
16
+
17
+ jobs:
18
+ deploy:
19
+ runs-on: ubuntu-latest
20
+ permissions:
21
+ contents: read
22
+ id-token: write
23
+ attestations: write
24
+ steps:
25
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26
+
27
+ - name: Set up Python
28
+ id: setup-python
29
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
30
+ with:
31
+ python-version: "3.14"
32
+
33
+ - name: Set up uv
34
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
35
+ with:
36
+ enable-cache: true
37
+ cache-dependency-glob: uv.lock
38
+
39
+ - name: Install dependencies
40
+ run: uv sync
41
+
42
+ - name: Build
43
+ run: uv build
44
+
45
+ - name: Attest build provenance
46
+ if: github.event_name == 'release' && !github.event.release.prerelease
47
+ uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
48
+ with:
49
+ subject-path: dist/*
50
+
51
+ - name: Publish distribution to Test PyPI
52
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
53
+ if: github.event_name == 'release' && github.event.release.prerelease
54
+ with:
55
+ repository-url: https://test.pypi.org/legacy/
56
+
57
+ - name: Publish distribution to PyPI
58
+ if: github.event_name == 'release' && !github.event.release.prerelease
59
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
@@ -8,25 +8,37 @@ on:
8
8
  branches:
9
9
  - main
10
10
 
11
+ concurrency:
12
+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
13
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
14
+
15
+ permissions:
16
+ contents: read
17
+
11
18
  jobs:
19
+ actionlint:
20
+ uses: kitsuyui/gh-actions-workflows/.github/workflows/actionlint.yml@3717c78af3a5e594b7a81b063276e15fac7e08fc # main
12
21
  test:
13
22
  runs-on: ubuntu-latest
14
23
  strategy:
15
24
  fail-fast: false
16
25
  matrix:
17
- python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
26
+ python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
18
27
  steps:
19
28
  - name: Checkout
20
- uses: actions/checkout@v4
29
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
21
30
 
22
31
  - name: Set up Python
23
32
  id: setup-python
24
- uses: actions/setup-python@v5
33
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
25
34
  with:
26
35
  python-version: "${{ matrix.python }}"
27
36
 
28
37
  - name: Set up uv
29
- uses: astral-sh/setup-uv@v5
38
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
39
+ with:
40
+ enable-cache: true
41
+ cache-dependency-glob: uv.lock
30
42
 
31
43
  - name: Install dependencies
32
44
  run: |
@@ -40,7 +52,7 @@ jobs:
40
52
  run: |
41
53
  actual_version=$(uv run python --version)
42
54
  expected_version="Python ${{ matrix.python }}"
43
- if [ "$actual_version" == *"$expected_version"* ]; then
55
+ if [[ "$actual_version" != *"$expected_version"* ]]; then
44
56
  echo "Expected $expected_version, but got $actual_version"
45
57
  exit 1
46
58
  fi
@@ -50,14 +62,3 @@ jobs:
50
62
 
51
63
  - name: Coverage
52
64
  run: uv run poe coverage-xml
53
-
54
- - name: Upload coverage report to Codecov
55
- if: matrix.python == '3.13'
56
- uses: codecov/codecov-action@v5
57
- with:
58
- token: ${{ secrets.CODECOV_TOKEN }}
59
- files: ./coverage.xml
60
- flags: unittests
61
- name: codecov-umbrella
62
- fail_ci_if_error: true
63
- verbose: true
@@ -0,0 +1,8 @@
1
+ name: Spellcheck
2
+ on:
3
+ - pull_request
4
+ permissions:
5
+ contents: read
6
+ jobs:
7
+ check:
8
+ uses: kitsuyui/gh-actions-workflows/.github/workflows/spellcheck.yml@3717c78af3a5e594b7a81b063276e15fac7e08fc # main
@@ -5,14 +5,14 @@
5
5
  # -----------------------------------------------------------------------------
6
6
  # gibo dump Linux
7
7
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
8
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/Linux.gitignore
8
+ ### https://raw.github.com/github/gitignore/576334520435382d6522f349b9d270eda1e79a25/Global/Linux.gitignore
9
9
 
10
10
  *~
11
11
 
12
12
  # temporary files which can be created if a process still has a handle open of a deleted file
13
13
  .fuse_hidden*
14
14
 
15
- # KDE directory preferences
15
+ # Metadata left by Dolphin file manager, which comes with KDE Plasma
16
16
  .directory
17
17
 
18
18
  # Linux trash folder which might appear on any partition or disk
@@ -20,10 +20,13 @@
20
20
 
21
21
  # .nfs files are created when an open file is removed but is still being accessed
22
22
  .nfs*
23
+
24
+ # Log files created by default by the nohup command
25
+ nohup.out
23
26
  # -----------------------------------------------------------------------------
24
27
  # gibo dump Windows
25
28
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
26
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/Windows.gitignore
29
+ ### https://raw.github.com/github/gitignore/576334520435382d6522f349b9d270eda1e79a25/Global/Windows.gitignore
27
30
 
28
31
  # Windows thumbnail cache files
29
32
  Thumbs.db
@@ -52,20 +55,20 @@ $RECYCLE.BIN/
52
55
  # -----------------------------------------------------------------------------
53
56
  # gibo dump macOS
54
57
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
55
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/macOS.gitignore
58
+ ### https://raw.github.com/github/gitignore/576334520435382d6522f349b9d270eda1e79a25/Global/macOS.gitignore
56
59
 
57
60
  # General
58
61
  .DS_Store
62
+ .localized
63
+ __MACOSX/
59
64
  .AppleDouble
60
65
  .LSOverride
66
+ Icon[
61
67
 
62
- # Icon must end with two \r
63
- Icon
64
-
65
- # Thumbnails
68
+ # Resource forks
66
69
  ._*
67
70
 
68
- # Files that might appear in the root of a volume
71
+ # Files and directories that might appear in the root of a volume
69
72
  .DocumentRevisions-V100
70
73
  .fseventsd
71
74
  .Spotlight-V100
@@ -73,6 +76,15 @@ Icon
73
76
  .Trashes
74
77
  .VolumeIcon.icns
75
78
  .com.apple.timemachine.donotpresent
79
+ .com.apple.timemachine.supported
80
+ .PKInstallSandboxManager
81
+ .PKInstallSandboxManager-SystemSoftware
82
+ .hotfiles.btree
83
+ .vol
84
+ .file
85
+ .disk_label*
86
+ lost+found
87
+ .HFS+ Private Directory Data[
76
88
 
77
89
  # Directories potentially created on remote AFP share
78
90
  .AppleDB
@@ -80,14 +92,36 @@ Icon
80
92
  Network Trash Folder
81
93
  Temporary Items
82
94
  .apdisk
95
+
96
+ # Mac OS 6 to 9
97
+ Desktop DB
98
+ Desktop DF
99
+ TheFindByContentFolder
100
+ TheVolumeSettingsFolder
101
+ .FBCIndex
102
+ .FBCSemaphoreFile
103
+ .FBCLockFolder
104
+
105
+ # Quota system
106
+ .quota.group
107
+ .quota.user
108
+ .quota.ops.group
109
+ .quota.ops.user
110
+
111
+ # TimeMachine
112
+ Backups.backupdb
113
+ .MobileBackups
114
+ .MobileBackups.trash
115
+ MobileBackups.trash
116
+ tmbootpicker.efi
83
117
  # -----------------------------------------------------------------------------
84
118
  # gibo dump Python
85
119
  ### Generated by gibo (https://github.com/simonwhitaker/gibo)
86
- ### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Python.gitignore
120
+ ### https://raw.github.com/github/gitignore/576334520435382d6522f349b9d270eda1e79a25/Python.gitignore
87
121
 
88
122
  # Byte-compiled / optimized / DLL files
89
123
  __pycache__/
90
- *.py[cod]
124
+ *.py[codz]
91
125
  *$py.class
92
126
 
93
127
  # C extensions
@@ -114,8 +148,8 @@ share/python-wheels/
114
148
  MANIFEST
115
149
 
116
150
  # PyInstaller
117
- # Usually these files are written by a python script from a template
118
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
151
+ # Usually these files are written by a python script from a template
152
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
119
153
  *.manifest
120
154
  *.spec
121
155
 
@@ -133,7 +167,8 @@ htmlcov/
133
167
  nosetests.xml
134
168
  coverage.xml
135
169
  *.cover
136
- *.py,cover
170
+ *.py.cover
171
+ *.lcov
137
172
  .hypothesis/
138
173
  .pytest_cache/
139
174
  cover/
@@ -179,35 +214,65 @@ ipython_config.py
179
214
  # However, in case of collaboration, if having platform-specific dependencies or dependencies
180
215
  # having no cross-platform support, pipenv may install dependencies that don't work, or not
181
216
  # install all needed dependencies.
182
- #Pipfile.lock
217
+ # Pipfile.lock
218
+
219
+ # UV
220
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
221
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
222
+ # commonly ignored for libraries.
223
+ # uv.lock
183
224
 
184
225
  # poetry
185
226
  # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
186
227
  # This is especially recommended for binary packages to ensure reproducibility, and is more
187
228
  # commonly ignored for libraries.
188
229
  # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
189
- #poetry.lock
230
+ # poetry.lock
231
+ # poetry.toml
190
232
 
191
233
  # pdm
192
234
  # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
193
- #pdm.lock
194
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
195
- # in version control.
196
- # https://pdm.fming.dev/#use-with-ide
197
- .pdm.toml
235
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
236
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
237
+ # pdm.lock
238
+ # pdm.toml
239
+ .pdm-python
240
+ .pdm-build/
241
+
242
+ # pixi
243
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
244
+ # pixi.lock
245
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
246
+ # in the .venv directory. It is recommended not to include this directory in version control.
247
+ .pixi/*
248
+ !.pixi/config.toml
198
249
 
199
250
  # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
200
251
  __pypackages__/
201
252
 
202
253
  # Celery stuff
203
- celerybeat-schedule
254
+ celerybeat-schedule*
204
255
  celerybeat.pid
205
256
 
257
+ # Redis
258
+ *.rdb
259
+ *.aof
260
+ *.pid
261
+
262
+ # RabbitMQ
263
+ mnesia/
264
+ rabbitmq/
265
+ rabbitmq-data/
266
+
267
+ # ActiveMQ
268
+ activemq-data/
269
+
206
270
  # SageMath parsed files
207
271
  *.sage.py
208
272
 
209
273
  # Environments
210
274
  .env
275
+ .envrc
211
276
  .venv
212
277
  env/
213
278
  venv/
@@ -240,10 +305,39 @@ dmypy.json
240
305
  cython_debug/
241
306
 
242
307
  # PyCharm
243
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
244
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
245
- # and can be added to the global gitignore or merged into this file. For a more nuclear
246
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
247
- #.idea/
308
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
309
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
310
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
311
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
312
+ # .idea/
313
+
314
+ # Abstra
315
+ # Abstra is an AI-powered process automation framework.
316
+ # Ignore directories containing user credentials, local state, and settings.
317
+ # Learn more at https://abstra.io/docs
318
+ .abstra/
319
+
320
+ # Visual Studio Code
321
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
322
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
323
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
324
+ # you could uncomment the following to ignore the entire vscode folder
325
+ # .vscode/
326
+ # Temporary file for partial code execution
327
+ tempCodeRunnerFile.py
328
+
329
+ # Ruff stuff:
330
+ .ruff_cache/
331
+
332
+ # PyPI configuration file
333
+ .pypirc
334
+
335
+ # Marimo
336
+ marimo/_static/
337
+ marimo/_lsp/
338
+ __marimo__/
339
+
340
+ # Streamlit
341
+ .streamlit/secrets.toml
248
342
  # -----------------------------------------------------------------------------
249
343
  _version.py
@@ -0,0 +1,21 @@
1
+ # https://github.com/k1LoW/octocov?tab=readme-ov-file#configuration
2
+ coverage:
3
+ paths:
4
+ - coverage.xml
5
+ codeToTestRatio:
6
+ code:
7
+ - "**/*.py"
8
+ test:
9
+ - "tests/**/*.py"
10
+ testExecutionTime:
11
+ if: true
12
+ diff:
13
+ datastores:
14
+ - artifact://${GITHUB_REPOSITORY}
15
+ comment:
16
+ if: is_pull_request
17
+ updatePrevious: true
18
+ report:
19
+ if: is_default_branch
20
+ datastores:
21
+ - artifact://${GITHUB_REPOSITORY}
@@ -0,0 +1,94 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.3.2] - 2026-05-03
11
+
12
+ ### Changed
13
+ - Add workflow concurrency groups to CI
14
+
15
+ ## [0.3.1] - 2025-02-01
16
+
17
+ ### Changed
18
+ - Migrate package manager from Poetry to uv
19
+ - Set minimal permissions in CI publish workflow
20
+ - Add actionlint check to CI
21
+
22
+ ### Fixed
23
+ - Fix decade range near datetime minimum
24
+
25
+ ## [0.3.0] - 2024-10-16
26
+
27
+ ### Added
28
+ - Add Python 3.13 support
29
+
30
+ ## [0.2.0] - 2023-10-06
31
+
32
+ ### Added
33
+ - Add Python 3.12 support
34
+
35
+ ## [0.1.7] - 2023-07-17
36
+
37
+ ### Changed
38
+ - Minor refactor: convert comments to docstrings
39
+
40
+ ## [0.1.6] - 2023-02-18
41
+
42
+ ### Added
43
+ - Add `py.typed` marker for PEP 561 compliance
44
+
45
+ ## [0.1.5] - 2023-02-08
46
+
47
+ ### Changed
48
+ - Rewrite vector ↔ time conversion logic
49
+ - Add additional tests for time/vector round-trips
50
+
51
+ ## [0.1.4] - 2023-01-26
52
+
53
+ ### Added
54
+ - Reverse conversion: create datetime from time vector
55
+ - Add tests for many dates
56
+
57
+ ## [0.1.3] - 2023-01-24
58
+
59
+ ### Added
60
+ - Add `numpy.datetime64` vector support
61
+ - Unify date conversion between `builtin_math` and `numpy` submodules
62
+
63
+ ## [0.1.2] - 2023-01-23
64
+
65
+ ### Fixed
66
+ - Fix boundary value bug in edge cases
67
+
68
+ ## [0.1.1] - 2023-01-23
69
+
70
+ ### Changed
71
+ - Abstract common logic across `year_vec`, `month_vec`, `day_vec`, `week_vec`
72
+ - Add figure to README illustrating vector representation
73
+
74
+ ## [0.1.0] - 2023-01-21
75
+
76
+ ### Added
77
+ - Initial release
78
+ - Time vector representation using cos/sin for periodicity
79
+ - `builtin_math` submodule (no NumPy dependency)
80
+ - `numpy` submodule (optional NumPy support)
81
+
82
+ [Unreleased]: https://github.com/kitsuyui/python-timevec/compare/v0.3.2...HEAD
83
+ [0.3.2]: https://github.com/kitsuyui/python-timevec/compare/v0.3.1...v0.3.2
84
+ [0.3.1]: https://github.com/kitsuyui/python-timevec/compare/v0.3.0...v0.3.1
85
+ [0.3.0]: https://github.com/kitsuyui/python-timevec/compare/v0.2.0...v0.3.0
86
+ [0.2.0]: https://github.com/kitsuyui/python-timevec/compare/v0.1.7...v0.2.0
87
+ [0.1.7]: https://github.com/kitsuyui/python-timevec/compare/v0.1.6...v0.1.7
88
+ [0.1.6]: https://github.com/kitsuyui/python-timevec/compare/v0.1.5...v0.1.6
89
+ [0.1.5]: https://github.com/kitsuyui/python-timevec/compare/v0.1.4...v0.1.5
90
+ [0.1.4]: https://github.com/kitsuyui/python-timevec/compare/v0.1.3...v0.1.4
91
+ [0.1.3]: https://github.com/kitsuyui/python-timevec/compare/v0.1.2...v0.1.3
92
+ [0.1.2]: https://github.com/kitsuyui/python-timevec/compare/v0.1.1...v0.1.2
93
+ [0.1.1]: https://github.com/kitsuyui/python-timevec/compare/v0.1.0...v0.1.1
94
+ [0.1.0]: https://github.com/kitsuyui/python-timevec/releases/tag/v0.1.0