timevec 0.2.0__tar.gz → 0.3.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.
- timevec-0.3.0/.github/workflows/gitignore-in.yml +16 -0
- {timevec-0.2.0 → timevec-0.3.0}/.github/workflows/happy.yml +1 -1
- {timevec-0.2.0 → timevec-0.3.0}/.github/workflows/pypi-publish.yml +4 -4
- {timevec-0.2.0 → timevec-0.3.0}/.github/workflows/python-test.yml +13 -7
- {timevec-0.2.0 → timevec-0.3.0}/.gitignore +22 -13
- {timevec-0.2.0 → timevec-0.3.0}/PKG-INFO +3 -3
- timevec-0.3.0/poetry.lock +1135 -0
- {timevec-0.2.0 → timevec-0.3.0}/pyproject.toml +13 -33
- {timevec-0.2.0 → timevec-0.3.0}/setup.cfg +2 -2
- {timevec-0.2.0 → timevec-0.3.0}/tests/test_builtin_math.py +1 -1
- {timevec-0.2.0 → timevec-0.3.0}/tests/test_many_dates.py +20 -5
- {timevec-0.2.0 → timevec-0.3.0}/tests/test_numpy_datetime64.py +0 -1
- {timevec-0.2.0 → timevec-0.3.0}/timevec/_version.py +2 -2
- {timevec-0.2.0 → timevec-0.3.0}/timevec/numpy_datetime64.py +2 -2
- {timevec-0.2.0 → timevec-0.3.0}/timevec.egg-info/PKG-INFO +3 -3
- {timevec-0.2.0 → timevec-0.3.0}/timevec.egg-info/SOURCES.txt +1 -1
- timevec-0.2.0/.flake8 +0 -2
- timevec-0.2.0/poetry.lock +0 -1166
- {timevec-0.2.0 → timevec-0.3.0}/.github/renovate.json5 +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/.github/workflows/spellcheck.yml +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/.gitignore.in +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/LICENSE +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/README.md +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/examples/day_vec.svg +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/examples/month_vec.svg +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/examples/plot.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/examples/week_vec.svg +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/examples/year_vec.svg +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/mypy.ini +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/tests/test_numpy.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/tests/test_same_result.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/tests/test_util.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec/__init__.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec/builtin_math.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec/numpy.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec/py.typed +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec/util.py +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec.egg-info/dependency_links.txt +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec.egg-info/requires.txt +0 -0
- {timevec-0.2.0 → timevec-0.3.0}/timevec.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Update gitignore file
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
# daily at 00:00
|
|
6
|
+
- cron: '0 0 * * *'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
pull-requests: write
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
update-gitignore:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: gitignore-in/gh-action@v0.2.2
|
|
@@ -15,15 +15,15 @@ jobs:
|
|
|
15
15
|
|
|
16
16
|
- name: Set up Python
|
|
17
17
|
id: setup-python
|
|
18
|
-
uses: actions/setup-python@
|
|
18
|
+
uses: actions/setup-python@v5
|
|
19
19
|
with:
|
|
20
|
-
python-version: "3.
|
|
20
|
+
python-version: "3.13"
|
|
21
21
|
|
|
22
22
|
- name: Set up poetry
|
|
23
|
-
uses: abatilo/actions-poetry@
|
|
23
|
+
uses: abatilo/actions-poetry@v3
|
|
24
24
|
|
|
25
25
|
- name: Cache
|
|
26
|
-
uses: actions/cache@
|
|
26
|
+
uses: actions/cache@v4
|
|
27
27
|
with:
|
|
28
28
|
path: ~/.cache/pypoetry/virtualenvs
|
|
29
29
|
key: ${{ runner.os }}-build-${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
name: Test
|
|
2
2
|
on:
|
|
3
|
-
-
|
|
3
|
+
# pull-request events are not triggered when a PR is merged
|
|
4
|
+
# push events are not triggered when a PR created from a fork repository
|
|
5
|
+
# So we need both to run tests on every PR and after merging
|
|
6
|
+
pull_request:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
4
10
|
|
|
5
11
|
jobs:
|
|
6
12
|
test:
|
|
@@ -8,22 +14,22 @@ jobs:
|
|
|
8
14
|
strategy:
|
|
9
15
|
fail-fast: false
|
|
10
16
|
matrix:
|
|
11
|
-
python: ["3.
|
|
17
|
+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
12
18
|
steps:
|
|
13
19
|
- name: Checkout
|
|
14
20
|
uses: actions/checkout@v4
|
|
15
21
|
|
|
16
22
|
- name: Set up Python
|
|
17
23
|
id: setup-python
|
|
18
|
-
uses: actions/setup-python@
|
|
24
|
+
uses: actions/setup-python@v5
|
|
19
25
|
with:
|
|
20
26
|
python-version: "${{ matrix.python }}"
|
|
21
27
|
|
|
22
28
|
- name: Set up poetry
|
|
23
|
-
uses: abatilo/actions-poetry@
|
|
29
|
+
uses: abatilo/actions-poetry@v3
|
|
24
30
|
|
|
25
31
|
- name: Cache
|
|
26
|
-
uses: actions/cache@
|
|
32
|
+
uses: actions/cache@v4
|
|
27
33
|
with:
|
|
28
34
|
path: ~/.cache/pypoetry/virtualenvs
|
|
29
35
|
key: ${{ runner.os }}-build-${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}
|
|
@@ -52,8 +58,8 @@ jobs:
|
|
|
52
58
|
run: poetry run poe coverage-xml
|
|
53
59
|
|
|
54
60
|
- name: Upload coverage report to Codecov
|
|
55
|
-
if: matrix.python == '3.
|
|
56
|
-
uses: codecov/codecov-action@
|
|
61
|
+
if: matrix.python == '3.13'
|
|
62
|
+
uses: codecov/codecov-action@v4
|
|
57
63
|
with:
|
|
58
64
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
59
65
|
files: ./coverage.xml
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
# DO NOT EDIT THIS FILE
|
|
2
|
+
# Generated by gitignore.in
|
|
3
|
+
# Edit .gitignore.in instead of this file
|
|
4
|
+
# Run `gitignore.in` to build .gitignore
|
|
5
|
+
# #!/usr/bin/env bash
|
|
6
|
+
# # `gibo list' and `gi list'
|
|
7
|
+
# -----------------------------------------------------------------------------
|
|
8
|
+
# gibo dump Linux
|
|
1
9
|
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
2
|
-
### https://raw.github.com/github/gitignore/
|
|
10
|
+
### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Global/Linux.gitignore
|
|
3
11
|
|
|
4
12
|
*~
|
|
5
13
|
|
|
@@ -14,10 +22,10 @@
|
|
|
14
22
|
|
|
15
23
|
# .nfs files are created when an open file is removed but is still being accessed
|
|
16
24
|
.nfs*
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
# -----------------------------------------------------------------------------
|
|
26
|
+
# gibo dump Windows
|
|
19
27
|
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
20
|
-
### https://raw.github.com/github/gitignore/
|
|
28
|
+
### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Global/Windows.gitignore
|
|
21
29
|
|
|
22
30
|
# Windows thumbnail cache files
|
|
23
31
|
Thumbs.db
|
|
@@ -43,10 +51,10 @@ $RECYCLE.BIN/
|
|
|
43
51
|
|
|
44
52
|
# Windows shortcuts
|
|
45
53
|
*.lnk
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
# -----------------------------------------------------------------------------
|
|
55
|
+
# gibo dump macOS
|
|
48
56
|
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
49
|
-
### https://raw.github.com/github/gitignore/
|
|
57
|
+
### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Global/macOS.gitignore
|
|
50
58
|
|
|
51
59
|
# General
|
|
52
60
|
.DS_Store
|
|
@@ -74,10 +82,10 @@ Icon
|
|
|
74
82
|
Network Trash Folder
|
|
75
83
|
Temporary Items
|
|
76
84
|
.apdisk
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
# -----------------------------------------------------------------------------
|
|
86
|
+
# gibo dump Python
|
|
79
87
|
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
80
|
-
### https://raw.github.com/github/gitignore/
|
|
88
|
+
### https://raw.github.com/github/gitignore/33243d9491911332228307c915ff95707791a91f/Python.gitignore
|
|
81
89
|
|
|
82
90
|
# Byte-compiled / optimized / DLL files
|
|
83
91
|
__pycache__/
|
|
@@ -187,8 +195,10 @@ ipython_config.py
|
|
|
187
195
|
#pdm.lock
|
|
188
196
|
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
189
197
|
# in version control.
|
|
190
|
-
# https://pdm.fming.dev/#
|
|
198
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
191
199
|
.pdm.toml
|
|
200
|
+
.pdm-python
|
|
201
|
+
.pdm-build/
|
|
192
202
|
|
|
193
203
|
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
194
204
|
__pypackages__/
|
|
@@ -239,6 +249,5 @@ cython_debug/
|
|
|
239
249
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
240
250
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
241
251
|
#.idea/
|
|
242
|
-
|
|
243
|
-
|
|
252
|
+
# -----------------------------------------------------------------------------
|
|
244
253
|
timevec/_version.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: timevec
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Get some usable vector representations of datetime
|
|
5
5
|
Home-page: https://github.com/kitsuyui/python-timevec
|
|
6
6
|
Author: Yui Kitsu
|
|
@@ -8,16 +8,16 @@ Author-email: kitsuyui+github@kitsuyui.com
|
|
|
8
8
|
License: BSD-3-Clause
|
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
|
10
10
|
Classifier: License :: OSI Approved :: BSD License
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
16
|
Classifier: Intended Audience :: Developers
|
|
17
17
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries
|
|
19
19
|
Classifier: Typing :: Typed
|
|
20
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.9
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Provides-Extra: numpy
|