timelined_array 0.1.2__tar.gz → 1.0.1__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.
@@ -1,13 +1,14 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: timelined_array
3
- Version: 0.1.2
3
+ Version: 1.0.1
4
4
  Summary: Manage easily 1 or multidimensionnal samples numpy arrays that are time related. Extends numpy without removing any of it's abilities on such arrays.
5
- Author-Email: Timothe Jost <44769559+JostTim@users.noreply.github.com>
5
+ Author: Timothe Jost
6
+ Author-email: Timothe Jost <44769559+JostTim@users.noreply.github.com>
6
7
  License: MIT
8
+ Requires-Dist: numpy>=2
9
+ Requires-Python: >=3.12
7
10
  Project-URL: Homepage, https://pypi.org/project/timelined_array/
8
11
  Project-URL: Source, https://github.com/JostTim/timelined_array
9
- Requires-Python: >=3.11
10
- Requires-Dist: numpy>=2
11
12
  Description-Content-Type: text/markdown
12
13
 
13
14
  # timelined_array
@@ -17,6 +18,8 @@ Description-Content-Type: text/markdown
17
18
  ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/JostTim/timelined_array/publish.yml?label=Publishing)
18
19
  ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/JostTim/timelined_array/test.yml?label=Testing)
19
20
  [![Codecov](https://img.shields.io/codecov/c/github/JostTim/timelined_array)](https://codecov.io/gh/JostTim/timelined_array)
21
+ ![PyPI - Downloads](https://img.shields.io/pypi/dm/timelined_array)
22
+
20
23
 
21
24
 
22
25
  <!-- eventually, add ?cache-bust=1 to badges url above, and update the value of cache-bust randomly at git commits (or based on the commit name) so that we always see the latest badge produced, and not the cached badge in the browser.-->
@@ -5,6 +5,8 @@
5
5
  ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/JostTim/timelined_array/publish.yml?label=Publishing)
6
6
  ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/JostTim/timelined_array/test.yml?label=Testing)
7
7
  [![Codecov](https://img.shields.io/codecov/c/github/JostTim/timelined_array)](https://codecov.io/gh/JostTim/timelined_array)
8
+ ![PyPI - Downloads](https://img.shields.io/pypi/dm/timelined_array)
9
+
8
10
 
9
11
 
10
12
  <!-- eventually, add ?cache-bust=1 to badges url above, and update the value of cache-bust randomly at git commits (or based on the commit name) so that we always see the latest badge produced, and not the cached badge in the browser.-->
@@ -0,0 +1,76 @@
1
+ [project]
2
+ name = "timelined_array"
3
+ description = "Manage easily 1 or multidimensionnal samples numpy arrays that are time related. Extends numpy without removing any of it's abilities on such arrays."
4
+ version = "1.0.1"
5
+ dependencies = ["numpy>=2"]
6
+ requires-python = ">=3.12"
7
+ readme = "README.md"
8
+
9
+ [[project.authors]]
10
+ name = "Timothe Jost"
11
+ email = "44769559+JostTim@users.noreply.github.com"
12
+
13
+ [project.license]
14
+ text = "MIT"
15
+
16
+ [project.urls]
17
+ Homepage = "https://pypi.org/project/timelined_array/"
18
+ Source = "https://github.com/JostTim/timelined_array"
19
+
20
+ [dependency-groups]
21
+ dev = [
22
+ "pytest>=9.1.1",
23
+ "pytest-cov>=7.1.0",
24
+ ]
25
+
26
+ [build-system]
27
+ requires = ["uv_build>=0.12.5,<0.13.0"]
28
+ build-backend = "uv_build"
29
+
30
+ [tool.uv]
31
+ package = true
32
+
33
+ [tool.ty.rules]
34
+ invalid-method-override = "ignore"
35
+
36
+ [tool.ruff]
37
+ ignore = [
38
+ "B010",
39
+ "PIE796",
40
+ ]
41
+
42
+ [tool.ruff.lint.per-file-ignores]
43
+ "tests/*" = ["B018"]
44
+
45
+ [tool.pytest.ini_options]
46
+ addopts = "-ra -q --pdbcls=IPython.terminal.debugger:TerminalPdb --cov-report xml --cov=timelined_array --junitxml=pytest_results.xml --cov-config=pyproject.toml"
47
+ testpaths = ["tests"]
48
+
49
+ [tool.coverage.run]
50
+ omit = [
51
+ ".vscode/*",
52
+ ".tests/*",
53
+ ]
54
+
55
+ [tool.bumpversion]
56
+ current_version = "1.0.1"
57
+ parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
58
+ serialize = ["{major}.{minor}.{patch}"]
59
+ search = "{current_version}"
60
+ replace = "{new_version}"
61
+ regex = false
62
+ ignore_missing_version = false
63
+ tag = false
64
+ sign_tags = false
65
+ tag_name = "v{new_version}"
66
+ tag_message = "Bump version: {current_version} → {new_version}"
67
+ allow_dirty = true
68
+ commit = false
69
+ message = "Bump version: {current_version} → {new_version}"
70
+ commit_args = ""
71
+
72
+ [[tool.bumpversion.files]]
73
+ filename = "pyproject.toml"
74
+
75
+ [[tool.bumpversion.files]]
76
+ filename = "src/timelined_array/__init__.py"
@@ -0,0 +1,67 @@
1
+ [project]
2
+ name = "timelined_array"
3
+ description = "Manage easily 1 or multidimensionnal samples numpy arrays that are time related. Extends numpy without removing any of it's abilities on such arrays."
4
+ authors = [
5
+ { name = "Timothe Jost", email = "44769559+JostTim@users.noreply.github.com" },
6
+ ]
7
+ version = "1.0.1"
8
+ dependencies = ["numpy>=2"]
9
+ requires-python = ">=3.12"
10
+ readme = "README.md"
11
+ license = { text = "MIT" }
12
+
13
+ [project.urls]
14
+ "Homepage" = "https://pypi.org/project/timelined_array/"
15
+ "Source" = "https://github.com/JostTim/timelined_array"
16
+
17
+ [dependency-groups]
18
+ dev = [
19
+ "pytest>=9.1.1",
20
+ "pytest-cov>=7.1.0"
21
+ ]
22
+
23
+ [build-system]
24
+ requires = ["uv_build>=0.12.5,<0.13.0"]
25
+ build-backend = "uv_build"
26
+
27
+ [tool.uv]
28
+ package = true
29
+
30
+ [tool.ty.rules]
31
+ invalid-method-override = "ignore"
32
+
33
+ [tool.ruff]
34
+ ignore = ["B010", "PIE796"]
35
+
36
+ [tool.ruff.lint.per-file-ignores]
37
+ "tests/*" = ["B018"]
38
+
39
+ [tool.pytest.ini_options]
40
+ addopts = "-ra -q --pdbcls=IPython.terminal.debugger:TerminalPdb --cov-report xml --cov=timelined_array --junitxml=pytest_results.xml --cov-config=pyproject.toml"
41
+ testpaths = ["tests"]
42
+
43
+ [tool.coverage.run]
44
+ omit = [".vscode/*", ".tests/*"]
45
+
46
+ [tool.bumpversion]
47
+ current_version = "1.0.1"
48
+ parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
49
+ serialize = ["{major}.{minor}.{patch}"]
50
+ search = "{current_version}"
51
+ replace = "{new_version}"
52
+ regex = false
53
+ ignore_missing_version = false
54
+ tag = false
55
+ sign_tags = false
56
+ tag_name = "v{new_version}"
57
+ tag_message = "Bump version: {current_version} → {new_version}"
58
+ allow_dirty = true
59
+ commit = false
60
+ message = "Bump version: {current_version} → {new_version}"
61
+ commit_args = ""
62
+
63
+ [[tool.bumpversion.files]]
64
+ filename = "pyproject.toml"
65
+
66
+ [[tool.bumpversion.files]]
67
+ filename = "src/timelined_array/__init__.py"
@@ -0,0 +1,5 @@
1
+ __version__ = "1.0.1"
2
+ __all__ = ["BaseTimeArray", "MaskedTimelinedArray", "Timeline", "TimelinedArray"]
3
+
4
+
5
+ from .time import BaseTimeArray, MaskedTimelinedArray, Timeline, TimelinedArray