跳转到主要内容

将数据转换为它们的自然(可读)格式

项目描述

这是对 官方natural <https://github.com/tehmaze/natural> 仓库的临时fork,以添加Python 3支持,并允许pip在 –process-dependency-links 弃用的情况下继续工作。

一旦 python 3 pull request <https://github.com/tehmaze/natural/pull/13> 被合并并发布新版本,此包将被删除。

示例用法

基本用法

>>> from natural.file import accessed
>>> print accessed(__file__)
just now

我们说你的语言(有你的支持

>>> import locale
>>> locale.setlocale(locale.LC_MESSAGES, 'nl_NL')
>>> print accessed(__file__)
zojuist

错误/特性

你可以在GitHub上提交一个工单: https://github.com/tehmaze/natural/issues

文档

项目文档可以在 http://natural.rtfd.org/ 找到

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定要选择哪一个,请了解有关 安装包 的更多信息。

源代码分发

will-natural-0.2.1.1.tar.gz (18.1 kB 查看哈希)

上传时间: 源代码

由以下支持