Skip to main content

sktimeutils

This package provides Universal Time conversion functions used by the usask-arg group. The code tries to be friendly for arrays, sequences and scalars. This package currently supports UT time expressed as strings, modified julian dates expressed as floats, Python DateTime and numpy Datetime64. We typically use the package to process
arrays of measurement times read in from data records stored in netcdf files or similar. The code is focussed on Universal Time and has no provision for handling time zone conversions etc. Nor do we attempt to rigorously manage leap-seconds and other earth-rotation issues.

Installation

pip install sktimeutils

We recommend running the unit tests, see below, after installation to download Earth rotation data files.

Building a wheel

The python wheel can also be built from source code,

conda install setuptools build
python -m build --wheel

Usage

Documentation can be found at ReadTheDocs sktimeutils

Unit Tests

It is useful to run the unit tests as the tests will automatically download leap-second files and earth rotation information. Needless to say you must have an internet connection to successfully run the unit tests

python -m unittest discover -s sktimeutils.tests

License

This project is licensed under the MIT license.

Release files for sktimeutils 2.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sktimeutils 2.0.9
File Size Uploaded
sktimeutils-2.0.9.tar.gz 518.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sktimeutils 2.0.9
File Interpreter ABI Platform
sktimeutils-2.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 538.4 kB

Release files / sktimeutils-2.0.9.tar.gz

Download URL sktimeutils-2.0.9.tar.gz
Size 518.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3396a5ab8880d50ac185a83b26868903dd00891f090056a9052e0ebf5d342d98
BLAKE2b-256 checksum
How to use checksums
c350e4c2da3726fa1a129ecbdec715b81be0f735e11f8af8b73a07d35bfae3a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 25, 2025.

Transparency log

Release files / sktimeutils-2.0.9-py3-none-any.whl

Download URL sktimeutils-2.0.9-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40068d3f2e505667a121adef46ca66bd694b55ec7f1541e6742df154887539d3
BLAKE2b-256 checksum
How to use checksums
9abcfddd55a5b437c00a7b3edbb441928c1cc23334b325cbc7911ff06fc8b622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 25, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.9 This release

2 release files

2.0.8

2 release files

2.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page