AI悦创·编程一对一教学代码库,长期招收编程一对一学员,微信:Jiabcdefh
Project description
📦 Bornforthis Library Python 1v1
What?
带编程一对一学员学习 Python 所开发的库,便于零基础小白学习。和部分实用功能:简单的 NLP、类游戏、SimpleSearch 等功能。
Install
如果你换源了,请用下面的命令获取最新版本:
pip install aiyc1v1 -i https://pypi.org/simple
国内镜像源同步,比较缓慢,一般需要一天左右才会同步。
pip install aiy1v1
Upgrade
版本在快速的迭代中,所以如果需要最新版本的话,请用下面的命令。
pip3 install --upgrade aiyc1v1 -i https://pypi.org/simple
pip3 install --upgrade aiyc1v1
Github
本项目的 GitHub 地址:https://github.com/AndersonHJB/aiyc1v1
已有功能代码
- SimpleNLP:简单的自然语言处理代码「仅仅支持英文」——词频分析、词云生成。文档:SimpleNLP.md
- GameBase:基础文字对话游戏
- NoteSearch:文档
- DelayWait: 智能爬虫插件「2023年01月07日」
使用示例
- DelayWait
from aiyc1v1 import DelayWait
import requests
if __name__ == '__main__':
urls = ["https://bornforthis.cn"] * 10
d = DelayWait()
for url in urls:
html = requests.get(url)
d.wait(url)
print(html.status_code)
Error
2022年08月20日
numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('float64'), dtype('<U1')) -> None
预测是 dataframe to str 的错误,直接把读取到的结果,强制转换成 str
self.content = str(pd.read_csv(self.path))
self.content = str(pd.read_excel(self.path))
Update
2023年01月06日
- 正式发布可用的 NoteSearch
- 初步解决编写代码,文档中搜索问题
2022年08月20日
- 修改用户输入提示
template = "您选择使用默认路径:%s, \n如果确认请输入回车或者 yes(否则:no):"
to
template = "您选择使用路径:%s, \n如果确认请输入回车或者 yes(否则:no):"
公众号:AI悦创【二维码】
欢迎关注我公众号:AI悦创,有更多更好玩的等你发现!
info AI悦创·编程一对一
AI悦创·推出辅导班啦,包括「Python 语言辅导班、C++ 辅导班、java 辅导班、算法/数据结构辅导班、少儿编程、pygame 游戏开发」,全部都是一对一教学:一对一辅导 + 一对一答疑 + 布置作业 + 项目实践等。当然,还有线下线上摄影课程、Photoshop、Premiere 一对一教学、QQ、微信在线,随时响应!微信:Jiabcdefh
C++ 信息奥赛题解,长期更新!长期招收一对一中小学信息奥赛集训,莆田、厦门地区有机会线下上门,其他地区线上。微信:Jiabcdefh
方法一:QQ
方法二:微信:Jiabcdefh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiyc1v1-0.0.36.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for aiyc1v1-0.0.36-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c4e8304b347db980e08ba49044d231d7499788555c81daf3c133a12b4cd40f2 |
|
MD5 | 805c0c024af634561d196191e1eea2f8 |
|
BLAKE2b-256 | d6411286d9855b524c14e40558767310daeb3d3c1a6471c3eb375ae4b23b70bc |