文件名称:python-tweet-splitter:将长文本拆分为 140 个字符的推文的 Python 库和 CLI 工具
文件大小:5KB
文件格式:ZIP
更新时间:2024-07-19 11:07:30
Python
` 安装 还没准备好迎接黄金时段 pip install tweet-splitter 用法 from tweetsplitter import split_tweet split_tweet("This tweet's going to end up over 140 characters, I just know " "it! Why not come and say hello to @paul_furley if you've found " "this library useful?") 测试 pip install -r requirements_for_tests.txt make test
【文件预览】:
python-tweet-splitter-master
----.travis.yml(147B)
----tweetsplitter()
--------split_tweet.py(782B)
--------__init__.py(60B)
--------test_split_tweet.py(1KB)
----requirements_for_tests.txt(12B)
----setup.py(1KB)
----LICENSE.md(1KB)
----.gitignore(33B)
----Makefile(80B)
----README.md(554B)