parsedatetime:解析人类可读的日期时间字符串

时间:2021-04-28 21:35:27
【文件属性】:
文件名称:parsedatetime:解析人类可读的日期时间字符串
文件大小:95KB
文件格式:ZIP
更新时间:2021-04-28 21:35:27
Python 解析时间 解析人类可读的日期/时间字符串。 parsedatetime版本1.0或更高版本需要Python 2.6或更高版本。 虽然我们仍然使用Python 2.6进行测试,但我们不能保证将来的更改不会在2.6以下 正在安装 您可以使用以下命令安装parsedatetime: pip install parsedatetime 运行测试 从源目录: make test 要在多个python版本上运行测试,请输入make tox : $ make tox [... tox creates a virtualenv for every python version and runs tests inside of each] py27: commands succeeded py35: commands succeeded 假设您已经在PyEnv环境中安装了要测试的版本: pyen
【文件预览】:
parsedatetime-master
----MANIFEST.in(155B)
----README.rst(4KB)
----.coveragerc(43B)
----CHANGES.txt(19KB)
----pytest.ini(251B)
----epydoc.conf(109B)
----Pipfile(342B)
----tests()
--------TestDelta.py(3KB)
--------TestRussianLocale.py(5KB)
--------TestConvertUnitAsWords.py(1KB)
--------TestAlternativeAbbreviations.py(6KB)
--------TestFrenchLocale.py(4KB)
--------TestStartTimeFromSourceTime.py(2KB)
--------TestInc.py(4KB)
--------TestSimpleOffsetsHours.py(4KB)
--------utils.py(2KB)
--------TestComplexDateTimes.py(7KB)
--------TestErrors.py(3KB)
--------TestSimpleDateTimes.py(23KB)
--------TestLocaleBase.py(5KB)
--------TestGermanLocale.py(3KB)
--------TestPhrases.py(5KB)
--------TestUnits.py(6KB)
--------TestNlp.py(5KB)
--------__init__.py(679B)
--------TestMultiple.py(3KB)
--------TestSimpleOffsets.py(10KB)
--------TestContext.py(2KB)
--------TestSimpleOffsetsNoon.py(3KB)
--------TestAustralianLocale.py(4KB)
--------TestRanges.py(4KB)
----tox.ini(173B)
----Pipfile.lock(17KB)
----setup.cfg(251B)
----requirements.txt(0B)
----parsedatetime()
--------pdt_locales()
--------parsedatetime.py(61B)
--------warns.py(485B)
--------__init__.py(103KB)
--------context.py(5KB)
----requirements.testing.txt(111B)
----examples()
--------README.txt(206B)
--------with_locale.py(2KB)
--------basic.py(2KB)
----setup.py(2KB)
----.gitignore(383B)
----AUTHORS.txt(1KB)
----.circleci()
--------config.yml(328B)
----Makefile(1KB)
----.autocode()
--------config.yml(135B)
----.editorconfig(108B)
----notes()
--------implementation_notes.txt(7KB)
--------locale_date_grouping_notes.txt(3KB)
--------THANKS.txt(985B)
----LICENSE.txt(9KB)

网友评论