Skip to content

BobDotCom/time_str

Repository files navigation

Time_Str

Checked with mypy linting: pylint Code style: black

Codecov Checks Type Check and Lint Unit Tests pre-commit.ci status

PyPI version info PyPI supported Python versions Documentation Status Download Counter Latest release

A package to convert user input into datetime.timedelta objects.

PyPI: https://pypi.org/project/time-str/

Docs: https://time-str.rtfd.io/

Installation

You can install released versions of time_str from the Python Package Index via pip or a similar tool:

Stable Release: pip install time_str

Working Version: pip install git+https://github.com/BobDotCom/time_str.git

Usage

import time_str
converter = IntervalConverter('11 months 9days 1m 3 sec')
print(converter.timedelta_precise())
print(converter.datetime_precise())

About

Time_Str is a package to convert user input into datetime.timedelta objects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages