dev-python / pytimeparse

A small Python module to parse various kinds of time expressions.

Official package sites : https://github.com/wroberts/pytimeparse · https://pypi.org/project/pytimeparse/ ·

v1.1.8 :: 0 :: gentoo

Modified
License
MIT
Keywords
~amd64

python_targets

python3_10
Build with Python 3.10
python3_8
Build with Python 3.8
python3_9
Build with Python 3.9

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-lang / python-exec : Python script wrapper

dev-python / agate : A Python data analysis library that is optimized for humans instead of machines

Repository mirror & CI · gentoo
Merge updates from master
Zac Medico · gentoo
dev-python/pytimeparse: Enable unit tests (bug 797304)
test_doctest (pytimeparse.tests.testtimeparse.TestTimeparse) Run timeparse doctests. ... ok test_hrs (pytimeparse.tests.testtimeparse.TestTimeparse) Test parsing hours. ... ok test_mins (pytimeparse.tests.testtimeparse.TestTimeparse) Test parsing minutes. ... ok test_time (pytimeparse.tests.testtimeparse.TestTimeparse) Test parsing time expression. ... ok test_timeparse_1 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 1. ... ok test_timeparse_10 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 10. ... ok test_timeparse_11 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 11. ... ok test_timeparse_12 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 12. ... ok test_timeparse_13 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 13. ... ok test_timeparse_14 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 14. ... ok test_timeparse_15 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 15. ... ok test_timeparse_16 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 16. ... ok test_timeparse_16b (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 16b. ... ok test_timeparse_16c (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 16c. ... ok test_timeparse_16d (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 16d. ... ok test_timeparse_16e (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 16e. ... ok test_timeparse_16f (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 16f. ... ok test_timeparse_17 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 17. ... ok test_timeparse_18 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 18. ... ok test_timeparse_19 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 19. ... ok test_timeparse_2 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 2. ... ok test_timeparse_20 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 20. ... ok test_timeparse_21 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 21. ... ok test_timeparse_22 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 22. ... ok test_timeparse_23 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 23. ... ok test_timeparse_24 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 24. ... ok test_timeparse_25 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 25. ... ok test_timeparse_26 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 26. ... ok test_timeparse_27 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 27. ... ok test_timeparse_28 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 28. ... ok test_timeparse_29 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 29. ... ok test_timeparse_3 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 3. ... ok test_timeparse_30 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 30. ... ok test_timeparse_31 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 31. ... ok test_timeparse_32 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 32. ... ok test_timeparse_33 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 33. ... ok test_timeparse_4 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 4. ... ok test_timeparse_5 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 5. ... ok test_timeparse_6 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 6. ... ok test_timeparse_7 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 7. ... ok test_timeparse_8 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 8. ... ok test_timeparse_9 (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test case 9. ... ok test_timeparse_bare_seconds (pytimeparse.tests.testtimeparse.TestTimeparse) timeparse test bare seconds, without minutes. ... ok test_timeparse_granularity_1 (pytimeparse.tests.testtimeparse.TestTimeparse) Check that minute-level granularity applies correctly. ... ok test_timeparse_granularity_2 (pytimeparse.tests.testtimeparse.TestTimeparse) Check that minute-level granularity does not apply inappropriately. ... ok test_timeparse_granularity_3 (pytimeparse.tests.testtimeparse.TestTimeparse) Check that minute-level granularity does not apply inappropriately. ... ok test_timeparse_granularity_4 (pytimeparse.tests.testtimeparse.TestTimeparse) Check that minute-level granularity does not apply inappropriately. ... ok test_timeparse_multipliers (pytimeparse.tests.testtimeparse.TestTimeparse) Test parsing time unit multipliers. ... ok test_timeparse_signs (pytimeparse.tests.testtimeparse.TestTimeparse) Test parsing time signs. ... ok ---------------------------------------------------------------------- Ran 49 tests in 0.017s Reported-py: Michał Górny <mgorny@gentoo.org> Closes: https://bugs.gentoo.org/797304 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Zac Medico · gentoo
dev-python/pytimeparse: Initial import
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>