Timescale

Latest version: v0.0.6

Safety actively analyzes 710644 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.6

**Summary:**
Added some minor improvements to functionality and to the documentation.

**Itemized Changes:**
* `feat`: make `Timescale` and `Calendar` objects subscriptable (93)
* `feat`: split `is_leap` from `calendar_days` function (99)
* `docs`: update `README.rst` (101)
* `docs`: add `CITATION.cff` (101)
* `docs`: use `sphinxcontrib-bibtex` to build bibliography (112)
* `ci`: add windows builds (112)

**Full Changelog**: https://github.com/tsutterley/timescale/compare/0.0.5...0.0.6

0.0.5

**Summary:**
Modernizes the project build with `pyproject.toml` and fixes some deprecating features. Adds some shortcuts to the `Timescale` class to improve ease of use.

**Itemized Changes:**
* `feat`: add shortcut wrapper functions for `Timescale` inputs (72)
* `test`: add astronomical time tests (76)
* `feat`: added conversions between common epochs and MJD (77)
* `docs`: use `docutils` instead of `pkg_resources` (81)
* `feat`: add function for creating from a range (87)
* `refactor`: modernize build with `pyproject.toml`
* `feat`: generalize hash function to use any available algorithm (91)

**Full Changelog**: https://github.com/tsutterley/timescale/compare/0.0.4...0.0.5

0.0.4

**Summary:**
Fixes a deprecation issue with numpy 2.0, and adds the `Calendar` class.

**Itemized Changes:**
* `feat`: add `Calendar` class to mimick `datetime` functions 62
* `fix`: assert that dates are `float64` for numpy 2.0 71

**Full Changelog**: https://github.com/tsutterley/timescale/compare/0.0.3...0.0.4

0.0.3

**Summary:**
Fixes a number of deprecation issues, and adds some useful functionality to the `Timescale` class.

**Itemized Changes:**
* `docs`: add zenodo links and badges 7
* `ci`: set micromamba version to latest 10
* `docs`: use micromamba for RTD builds 10
* `docs`: add logo and adjust style 10
* `docs`: adjust colors 11
* `feat`: add function to convert from calendar dates 21
* `feat`: add min, max and mean functions to `Timescale` class 21
* `fix`: update version to replace deprecated `pkg_resources` 24
* `fix`: updated ssl context to fix deprecation error 26
* `refactor`: move the immutable parameters in `Timescale` class 51
* `feat`: added quarter year approximate conversions 55
* `feat`: added `_from_sec` dictionary for named time units 56
* `fix`: replaced deprecated `datetime.datetime.utcnow` 57
* `fix`: updated urls and ftp links for updating the leap seconds list 57

**Full Changelog**: https://github.com/tsutterley/timescale/compare/0.0.2...0.0.3

0.0.2

**Summary:**
Updates the documentation to note the availability on `pypi` and `conda-forge`.

**Itemized Changes:**
* `docs`: add badges for `pypi` and `conda` 4
* `docs`: add updated install instructions for `pypi` and `conda` 4
* `feat`: add attribute for decimal year in `Timescale` 6

**Full Changelog**: https://github.com/tsutterley/timescale/compare/0.0.1...0.0.2

0.0.1

**Summary:**
Initial release of `timescale`, a project for time and astronomical calculations. Calculates leap seconds, universal time (UT), dynamic time (TT), delta time from epochs, and Earth orientation parameters (EOPs).

**Itemized Changes:**
* `feat`: initial repo commit :tada: (1)

**Full Changelog**: https://github.com/tsutterley/timescale/commits/0.0.1

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.