tsbootstrap 0.0.2__tar.gz → 0.0.3__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 (22) hide show
  1. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/PKG-INFO +16 -14
  2. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/README.md +15 -13
  3. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/pyproject.toml +2 -1
  4. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/block_bootstrap_configs.py +1 -1
  5. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/LICENSE +0 -0
  6. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/__init__.py +0 -0
  7. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/base_bootstrap.py +0 -0
  8. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/base_bootstrap_configs.py +0 -0
  9. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/block_bootstrap.py +0 -0
  10. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/block_generator.py +0 -0
  11. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/block_length_sampler.py +0 -0
  12. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/block_resampler.py +0 -0
  13. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/bootstrap.py +0 -0
  14. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/markov_sampler.py +0 -0
  15. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/py.typed +0 -0
  16. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/ranklags.py +0 -0
  17. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/time_series_model.py +0 -0
  18. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/time_series_simulator.py +0 -0
  19. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/tsfit.py +0 -0
  20. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/utils/odds_and_ends.py +0 -0
  21. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/utils/types.py +0 -0
  22. {tsbootstrap-0.0.2 → tsbootstrap-0.0.3}/src/tsbootstrap/utils/validate.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tsbootstrap
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: A Python package to generate bootstrapped time series
5
5
  Home-page: https://tsbootstrap.readthedocs.io/en/latest/
6
6
  License: MIT
@@ -51,14 +51,14 @@ Description-Content-Type: text/markdown
51
51
  <img src="https://img.shields.io/pypi/pyversions/tsbootstrap?color=5D6D7E&logo=python" alt="pypi-python-version" />
52
52
  </a>
53
53
  <a href="https://pypi.org/project/tsbootstrap/">
54
- <img src="https://img.shields.io/pypi/dm/tsbootstrap?color=5D6D7E" alt="pypi-downloads" />
54
+ <img src="https://img.shields.io/pypi/dd/tsbootstrap?color=5D6D7E" alt="pypi-downloads" />
55
55
  </a>
56
56
  <img src="https://img.shields.io/github/license/eli64s/readme-ai?color=5D6D7E" alt="github-license" />
57
57
  </a>
58
58
  <img src="https://github.com/astrogilda/tsbootstrap/workflows/CI/badge.svg" alt="Build Status"/>
59
59
  <a href="https://codecov.io/gh/astrogilda/tsbootstrap"><img src="https://codecov.io/gh/astrogilda/tsbootstrap/branch/main/graph/badge.svg" alt="codecov"/></a>
60
60
  <a href="https://doi.org/10.5281/zenodo.8226496"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.8226496.svg" alt="DOI"/></a>
61
- <img src="https://img.shields.io/codeclimate/maintainability/astrogilda/tsbootstrap" alt="Code Quality"/>
61
+ <a href="https://codeclimate.com/github/astrogilda/tsbootstrap/maintainability"><img src="https://api.codeclimate.com/v1/badges/d80a0615a8c00f31565c/maintainability" alt="Code Quality"/></a>
62
62
  <img src="https://img.shields.io/github/last-commit/astrogilda/tsbootstrap" alt="Last Commit"/>
63
63
  <img src="https://img.shields.io/github/issues/astrogilda/tsbootstrap" alt="Issues"/>
64
64
  <img src="https://img.shields.io/github/issues-pr/astrogilda/tsbootstrap" alt="Pull Requests"/>
@@ -165,17 +165,19 @@ The `tsbootstrap` package contains various modules that handle tasks such as boo
165
165
 
166
166
  | File | Summary |
167
167
  | --- | --- |
168
- | [setup.sh](https://github.com/astrogilda/tsbootstrap/blob/main/setup.sh) | HTTPStatus Exception: 429 |
169
- | [commitlint.config.js](https://github.com/astrogilda/tsbootstrap/blob/main/commitlint.config.js) | HTTPStatus Exception: 429 |
170
- | [CITATION.cff](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.cff) | HTTPStatus Exception: 429 |
171
- | [CODE_OF_CONDUCT.md](https://github.com/astrogilda/tsbootstrap/blob/main/CODE_OF_CONDUCT.md) | HTTPStatus Exception: 429 |
172
- | [CONTRIBUTING.md](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.md) | HTTPStatus Exception: 429 |
173
- | [.codeclimate.yml](https://github.com/astrogilda/tsbootstrap/blob/main/.codeclimate.yml) | HTTPStatus Exception: 429 |
174
- | [.gitignore](https://github.com/astrogilda/tsbootstrap/blob/main/.gitignore) | HTTPStatus Exception: 429 |
175
- | [.pre-commit-config.yaml](https://github.com/astrogilda/tsbootstrap/blob/main/.pre-commit-config.yaml) | HTTPStatus Exception: 429 |
176
- | [poetry.lock](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.lock) | HTTPStatus Exception: 429 |
177
- | [poetry.toml](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.toml) | HTTPStatus Exception: 429 |
178
- | [tsbootstrap_logo.png](https://github.com/astrogilda/tsbootstrap/blob/main/tsbootstrap_logo.png) | HTTPStatus Exception: 429 |
168
+ | [setup.sh](https://github.com/astrogilda/tsbootstrap/blob/main/setup.sh) | Shell script for initial setup and environment configuration. |
169
+ | [commitlint.config.js](https://github.com/astrogilda/tsbootstrap/blob/main/commitlint.config.js) | Configuration for enforcing conventional commit messages. |
170
+ | [CITATION.cff](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.cff) | Citation metadata for the project. |
171
+ | [CODE_OF_CONDUCT.md](https://github.com/astrogilda/tsbootstrap/blob/main/CODE_OF_CONDUCT.md) | Guidelines for community conduct and interactions. |
172
+ | [CONTRIBUTING.md](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.md) | Instructions for contributing to the project. |
173
+ | [.codeclimate.yml](https://github.com/astrogilda/tsbootstrap/blob/main/.codeclimate.yml) | Configuration for Code Climate quality checks. |
174
+ | [.gitignore](https://github.com/astrogilda/tsbootstrap/blob/main/.gitignore) | Specifies files and folders to be ignored by Git. |
175
+ | [.pre-commit-config.yaml](https://github.com/astrogilda/tsbootstrap/blob/main/.pre-commit-config.yaml) | Configuration for pre-commit hooks. |
176
+ | [poetry.lock](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.lock) | Lock file generated by Poetry, pinning exact package versions. |
177
+ | [poetry.toml](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.toml) | Configuration file for Poetry package management. |
178
+ | [tsbootstrap_logo.png](https://github.com/astrogilda/tsbootstrap/blob/main/tsbootstrap_logo.png) | Project logo image. |
179
+
180
+ </details>
179
181
 
180
182
 
181
183
 
@@ -22,14 +22,14 @@
22
22
  <img src="https://img.shields.io/pypi/pyversions/tsbootstrap?color=5D6D7E&logo=python" alt="pypi-python-version" />
23
23
  </a>
24
24
  <a href="https://pypi.org/project/tsbootstrap/">
25
- <img src="https://img.shields.io/pypi/dm/tsbootstrap?color=5D6D7E" alt="pypi-downloads" />
25
+ <img src="https://img.shields.io/pypi/dd/tsbootstrap?color=5D6D7E" alt="pypi-downloads" />
26
26
  </a>
27
27
  <img src="https://img.shields.io/github/license/eli64s/readme-ai?color=5D6D7E" alt="github-license" />
28
28
  </a>
29
29
  <img src="https://github.com/astrogilda/tsbootstrap/workflows/CI/badge.svg" alt="Build Status"/>
30
30
  <a href="https://codecov.io/gh/astrogilda/tsbootstrap"><img src="https://codecov.io/gh/astrogilda/tsbootstrap/branch/main/graph/badge.svg" alt="codecov"/></a>
31
31
  <a href="https://doi.org/10.5281/zenodo.8226496"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.8226496.svg" alt="DOI"/></a>
32
- <img src="https://img.shields.io/codeclimate/maintainability/astrogilda/tsbootstrap" alt="Code Quality"/>
32
+ <a href="https://codeclimate.com/github/astrogilda/tsbootstrap/maintainability"><img src="https://api.codeclimate.com/v1/badges/d80a0615a8c00f31565c/maintainability" alt="Code Quality"/></a>
33
33
  <img src="https://img.shields.io/github/last-commit/astrogilda/tsbootstrap" alt="Last Commit"/>
34
34
  <img src="https://img.shields.io/github/issues/astrogilda/tsbootstrap" alt="Issues"/>
35
35
  <img src="https://img.shields.io/github/issues-pr/astrogilda/tsbootstrap" alt="Pull Requests"/>
@@ -136,17 +136,19 @@ The `tsbootstrap` package contains various modules that handle tasks such as boo
136
136
 
137
137
  | File | Summary |
138
138
  | --- | --- |
139
- | [setup.sh](https://github.com/astrogilda/tsbootstrap/blob/main/setup.sh) | HTTPStatus Exception: 429 |
140
- | [commitlint.config.js](https://github.com/astrogilda/tsbootstrap/blob/main/commitlint.config.js) | HTTPStatus Exception: 429 |
141
- | [CITATION.cff](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.cff) | HTTPStatus Exception: 429 |
142
- | [CODE_OF_CONDUCT.md](https://github.com/astrogilda/tsbootstrap/blob/main/CODE_OF_CONDUCT.md) | HTTPStatus Exception: 429 |
143
- | [CONTRIBUTING.md](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.md) | HTTPStatus Exception: 429 |
144
- | [.codeclimate.yml](https://github.com/astrogilda/tsbootstrap/blob/main/.codeclimate.yml) | HTTPStatus Exception: 429 |
145
- | [.gitignore](https://github.com/astrogilda/tsbootstrap/blob/main/.gitignore) | HTTPStatus Exception: 429 |
146
- | [.pre-commit-config.yaml](https://github.com/astrogilda/tsbootstrap/blob/main/.pre-commit-config.yaml) | HTTPStatus Exception: 429 |
147
- | [poetry.lock](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.lock) | HTTPStatus Exception: 429 |
148
- | [poetry.toml](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.toml) | HTTPStatus Exception: 429 |
149
- | [tsbootstrap_logo.png](https://github.com/astrogilda/tsbootstrap/blob/main/tsbootstrap_logo.png) | HTTPStatus Exception: 429 |
139
+ | [setup.sh](https://github.com/astrogilda/tsbootstrap/blob/main/setup.sh) | Shell script for initial setup and environment configuration. |
140
+ | [commitlint.config.js](https://github.com/astrogilda/tsbootstrap/blob/main/commitlint.config.js) | Configuration for enforcing conventional commit messages. |
141
+ | [CITATION.cff](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.cff) | Citation metadata for the project. |
142
+ | [CODE_OF_CONDUCT.md](https://github.com/astrogilda/tsbootstrap/blob/main/CODE_OF_CONDUCT.md) | Guidelines for community conduct and interactions. |
143
+ | [CONTRIBUTING.md](https://github.com/astrogilda/tsbootstrap/blob/main/CITATION.md) | Instructions for contributing to the project. |
144
+ | [.codeclimate.yml](https://github.com/astrogilda/tsbootstrap/blob/main/.codeclimate.yml) | Configuration for Code Climate quality checks. |
145
+ | [.gitignore](https://github.com/astrogilda/tsbootstrap/blob/main/.gitignore) | Specifies files and folders to be ignored by Git. |
146
+ | [.pre-commit-config.yaml](https://github.com/astrogilda/tsbootstrap/blob/main/.pre-commit-config.yaml) | Configuration for pre-commit hooks. |
147
+ | [poetry.lock](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.lock) | Lock file generated by Poetry, pinning exact package versions. |
148
+ | [poetry.toml](https://github.com/astrogilda/tsbootstrap/blob/main/poetry.toml) | Configuration file for Poetry package management. |
149
+ | [tsbootstrap_logo.png](https://github.com/astrogilda/tsbootstrap/blob/main/tsbootstrap_logo.png) | Project logo image. |
150
+
151
+ </details>
150
152
 
151
153
 
152
154
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "tsbootstrap"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  description = "A Python package to generate bootstrapped time series"
5
5
  authors = ["Sankalp Gilda <sankalp.gilda@gmail.com>"]
6
6
  license = "MIT"
@@ -53,6 +53,7 @@ pycobertura = "~3.2"
53
53
  [tool.poetry.group.dev.dependencies]
54
54
  sphinx = "^7.1.2"
55
55
  sphinx-rtd-theme = "^1.2.2"
56
+ bumpversion = "^0.6.0"
56
57
 
57
58
  [build-system]
58
59
  requires = ["poetry-core>=1.0.0"]
@@ -888,7 +888,7 @@ class TukeyBootstrapConfig(BaseBlockBootstrapConfig):
888
888
  # Set the properties directly
889
889
  alpha = kwargs.get("alpha", 0.5)
890
890
  self._bootstrap_type = "moving"
891
- self._tapered_weights = staticmethod(partial(tukey, alpha=alpha))
891
+ self._tapered_weights = partial(tukey, alpha=alpha)
892
892
 
893
893
  def __repr__(self) -> str:
894
894
  """Return repr(self)."""
File without changes