Skip to main content

Array based, Universal Time conversion functions and classes used by usask-arg software

Project description

sktimeutils

Documentation Status pre-commit.ci status

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 date as floats, Python DateTime and numpy Datetime64. The code is focussed on Universal Time and has no provision for time zone handling or conversion conversions etc. No attempt is made to manage leap-seconds and other earth rotation issues in a fully consistent manner.

Installation

pip install sktimeutils

also

conda install setuptools build
python -m build --wheel

Usage

Documentation can be found at https://nick.argpages.usask.ca/skoptics/index.html

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sktimeutils-2.0.7.tar.gz (520.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sktimeutils-2.0.7-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file sktimeutils-2.0.7.tar.gz.

File metadata

  • Download URL: sktimeutils-2.0.7.tar.gz
  • Upload date:
  • Size: 520.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sktimeutils-2.0.7.tar.gz
Algorithm Hash digest
SHA256 be889ec0ae04b11a173985bca883afe85ce66e5d096715c29e9bf1e88e9fd848
MD5 6c6d37ed07a4ac4e8f3390d7a08f31cc
BLAKE2b-256 e444e95d7182939a482b8ba8127e22cdb7bbee8d32346388c9eec43f0b2e0f43

See more details on using hashes here.

Provenance

The following attestation bundles were made for sktimeutils-2.0.7.tar.gz:

Publisher: release.yml on usask-arg/sktimeutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sktimeutils-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: sktimeutils-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sktimeutils-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c2617901d984081f2d0b0efa0253837333052bb899f6b1e7a172dfb71f05361f
MD5 c138468e93b1be6b2b102d6e91a87ad4
BLAKE2b-256 533cd5a109c8a473a62307ef4b2510833f2710887fdcc21c5e964da8790668ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for sktimeutils-2.0.7-py3-none-any.whl:

Publisher: release.yml on usask-arg/sktimeutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page