跳转到主要内容

带SmartyPants的Python

项目描述

https://badge.fury.io/py/smartypants.svg https://secure.travis-ci.org/leohemsted/smartypants.py.png

smartypants

smartypantsSmartyPants 的 Python 分支。

安装

要安装它

pip install smartypants

快速使用

将其作为模块使用

import smartypants

text = '"SmartyPants" is smart, so is <code>smartypants</code> -- a Python port'
print(smartypants.smartypants(text))

使用命令行脚本 smartypants

echo '"SmartyPants" is smart, so is <code>smartypants</code> -- a Python port' | smartypants

两者都产生

&#8220;SmartyPants&#8221; is smart, so is <code>smartypants</code> &#8212; a Python port

更多信息

项目详情


下载文件

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

源代码分发

此版本没有可用的源代码分发文件。请参阅生成分发存档教程

构建分发

smartypants-2.0.1-py2.py3-none-any.whl (9.9 kB 查看哈希值)

上传时间 Python 2 Python 3

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面