作者 | Mybridge
译者 | 天宇
编辑 | suiling
出品 | Python大本营(ID:pythonnews)
近几年内,我们比较了近5000个开源 Python 项目,并从中挑选了36个最佳项目。
这些项目在 Github 上的平均star数为1667。
过去一年内优秀的机器学习项目:http://t.cn/Et3RTx1
过去一年内34个优秀的 Python 开源库:http://t.cn/Ef1iYgx
当你创建一个 app 时,开源项目会帮得上忙。现在拿出一些时间,来看看这些惊艳的 Python 开源项目吧。
推荐学习
A) 初学者:Python 完全课程 | 动手实践学 Python —— 通过项目实战从 Python 新手到专家 [10,067 次推荐, 评分 4.6/5]:http://t.cn/AiKoqHcQ
B) 机器学习:数据科学、深度学习 & 用 Python 进行机器学习[90,509 次推荐, 评分 4.5/5]:http://t.cn/RIa1Woj
以下是精选开源项目推荐
【No.1】Manim: 用于生成演示数学原理视频的动画引擎
Manim 是一个可以生成数学原理视频的动画引擎。基于 Manim,我们可以通过编程来创建精致的动画,在 3Blue1Brown (https://www.3blue1brown.com/) 可以观看有关视频。
[GitHub Stars:6639]
项目地址:
https://github.com/3b1b/manim
【No.2】XSStrike: 基于Python的XSS测试工具
XSStrike 是一款跨站点脚本检测套件,包含四个手写的解析器,一个智能 payload 生成器,一个强大的模糊搜索引擎和速度极快的爬虫。
[GitHub Stars:6046]
项目地址:
https://github.com/s0md3v/XSStrike
【No.3】抖音机器人: Python 机器人帮你找到抖音上喜欢的小姐姐
这是一款用 Python + ADB 实现的,可以直接在抖音上找到漂亮小姐姐的 Python bot,可以实现:自动翻页、颜值检测、人脸识别、自动点赞、自动关注、随机防 Ban、自动评论等功能。
[GitHub Stars:5173]
项目地址:
https://github.com/wangshub/Douyin-Bot
【No.4】PythonRobotics:用 Python 实现的机器人算法示例集合
PythonRobotics 是用 Python 实现的机器人算法案例集合,特别适用于自动导航。该库包括了机器人设计中常用的定位算法、测绘算法、路径规划算法、SLAM、路径跟踪算法等。
[GitHub Stars:4614]
项目地址:
https://github.com/AtsushiSakai/PythonRobotics
【No.5】Photon:为 OSINT 设计的快速爬虫
这款爬虫抓取工具速度极快,可爬取网址、电子邮件、文件、密钥等。
[GitHub Stars:4438]
项目地址:
https://github.com/s0md3v/Photon
【No.6】 谷歌图片下载:可直接从 Google Images 下载上百个图像的 Python 脚本
这是个命令行小程序,可以通过直接输入关键词,直接从 Google Images 下载上百个图像到本地。
[GitHub Stars:3951]
项目地址:
https://github.com/hardikvasa/google-images-download
【No.7】Trape:基于互联网的人类跟踪器
这是一款 OSINT 分析和研究工具,人们可以利用它实时跟踪和执行智能社交工程攻击,其开发目的是帮助政府、公司及研究者去跟踪网络犯罪分子。
[GitHub Stars:3504]
项目地址:
https://github.com/jofpin/trape
【No.8】Xonsh:一个基于 Python 的跨平台 Unix shell
Xnosh 是一个基于 Python 的跨平台 Unix shell。该语言是 Python 3.5+ 的超集,还带有额外的 shell 原语。Xonsh 适合专家和新手日常使用。
[GitHub Stars:3045]
项目地址:
https://github.com/xonsh/xonsh
【No.9】rebound:一款可以持续抓取 Stack Overflow 结果的命令行工具
Rebound 是一款可以在你遇到编译错误时自动抓取 Stack Overflow 结果的命令行工具。
[GitHub Stars:2498]
项目地址:
https://github.com/shobrook/rebound
【No.10】gif-for-cli:一款接收 GIF、短视频和查询 Tenor GIF API 的工具
[GitHub Stars:2424]
项目地址:
https://github.com/google/gif-for-cli
【No.11】snips-nlu:从文本提取含义的 Snips Python 库
Snips NLU (Natural Language Understanding,自然语言理解) 可以对自然语言进行解析,并从中提取结构化信息。
[GitHub Stars:2384]
项目地址:
https://github.com/snipsco/snips-nlu
【No.12】Social_mapper:一款社交媒体展示和关联工具
[GitHub Stars:1943]
项目地址:
https://github.com/Greenwolf/social_mapper
【No.13】Camelot:PDF 表格提取工具
Camelot 是一款可用来从 PDF 文件中提取表格的工具。
[GitHub Stars:1831]
项目地址:
https://github.com/socialcopsdev/camelot
【No.14】最好的 Slack 命令行客户端
[GitHub Stars:1785]
项目地址:
https://github.com/haskellcamargo/sclack
【No.15】cartoonify:把照片转化成动画的 python app
[GitHub Stars:1611]
项目地址:
https://github.com/danmacnish/cartoonify
【No.16】twitter-scraper:无需身份验证即可抓取 Twitter 前端的 API
我们可以使用该库轻松获取任何用户的推文,对制作马尔科夫链非常有用。
[GitHub Stars:1266]
项目地址:
https://github.com/kennethreitz/twitter-scraper
【No.17】SimpleCoin:一款简单的比特币克隆工具
这是一款简单的、不安全且不完整的区块链实现工具,可用作教育材料。
[GitHub Stars:1162]
项目地址:
https://github.com/cosme12/SimpleCoin
【No.18】Lector:基于 qt 的电子书阅读器
[GitHub Stars:616]
项目地址:
https://github.com/BasioMeusPuga/Lector
【No.19】makesite:适用于 Python 程序员的简单、轻量级的静态站点/博客生成器
[GitHub Stars:593]
项目地址:
https://github.com/sunainapai/makesite
【No.20】dbxfs:Dropbox 的用户空间文件系统
[GitHub Stars:523]
项目地址:
https://github.com/rianhunter/dbxfs
【No.21】BabySploit:一个针对初学者的渗透测试框架
BabySploit 是一款渗透测试框架,旨在让人们易于学习如何使用更大更复杂的框架,如 Metasploit。基于这样一个简单的 UI 工具库,任何水平的人都可以使用 BabySploit。
[GitHub Stars:518]
项目地址:
https://github.com/M4cs/BabySploit
【No.22】ASCIIFY:可以将任意图像转化为 ASCII Art
ASCIIFY 是一个 python 脚本,输入任意图像,会输出嵌有输入图像的文本。换句话说,该脚本可以通过特定的字符对图像进行复制。
[GitHub Stars:441]
项目地址:
https://github.com/RameshAditya/asciify
【No.23】AutoCrawler:谷歌、Naver 多进程图片 Web 爬虫
[GitHub Stars:405]
项目地址:
https://github.com/YoongiKim/AutoCrawler
【No.24】datasheets:对 Google Sheets 进行读取、写入、修改的库
[GitHub Stars:344]
项目地址:
https://github.com/Squarespace/datasheets
【No.25】pyray:python 编写的 3D 渲染库
[GitHub Stars:326]
项目地址:
https://github.com/ryu577/pyray
【No.26】nonoCAPTCHA:通过音频自动解决 ReCAPTCHA v2 的异步 Python 库
nonoCAPTCHA 是一个异步 Python 库,使用 Mozilla 的 DeepSpeech、PocketSphinx、Microsoft Azure 和 Amazon 的 Transcribe Speech-to-Text API,通过音频自动解决ReCAPTCHA v2。
[GitHub Stars:297]
项目地址:
https://github.com/mikeyy/nonoCAPTCHA
【No.27】ubelt:一个包含各种简单小工具的 Python 工具库
[GitHub Stars:263]
项目地址:
https://github.com/Erotemic/ubelt
【No.28】pyCAIR:通过内容感知对图片大小进行调整的库
[GitHub Stars:220]
项目地址:
https://github.com/avidLearnerInProgress/pyCAIR
【No.29】soundcloud-dl:以 128kbps 的速度下载带有专辑封面和标签的 SoundCloud 音乐
[GitHub Stars:181]
项目地址:
https://github.com/sdushantha/soundcloud-dl
【No.30】pixelhouse:一个极简主义绘图库,可用于在 Python 中制作精美动画
使用该工具进行动画制作,画的任何东西都可以再移除,带有漂亮的渐变效果、instagram 上的滤镜和弹性变换。
[GitHub Stars:171]
项目地址:
https://github.com/thoppe/pixelhouse
【No.31】twitter-cleanup:清理 Twitter 上的非活动帐户和机器人
[GitHub Stars:170]
项目地址:
https://github.com/cuducos/twitter-cleanup
【No.32】spotify-playlist-generator:通过 Spotify API 抓取新的歌曲标题并创建歌单的 Python 脚本
[GitHub Stars:150]
项目地址:
https://github.com/mileshenrichs/spotify-playlist-generator
【No.33】Face-tracking-with-Anime-characters:一个能够通过访问摄像头与游戏人物面对面的 Python 项目
[GitHub Stars:147]
项目地址:
https://github.com/Aditya-Khadilkar/Face-tracking-with-Anime-characters
【No.34】videodownloader:一款可以用来下载 Youtube 视频的脚本
[GitHub Stars:124]
项目地址:
https://github.com/mraza007/videodownloader
【No.35】render-py:一款用 Python 编写的 3D 渲染软件
[GitHub stars:117]
项目地址:
https://github.com/tvytlx/render-py
【No.36】m00dbot:可测试自己是否焦虑抑郁的 Telegram 机器人
[GitHub Stars:81]
使用
1git clone git@github.com:dizballanze/m00dbot.git
2cd m00dbot
3python3 -m venv venv
4source venv/bin/activate
5pip install -r requirements.txt
6# Create database
7python create_db.py <database file name>
8# Start bot
9TG_TOKEN="<telegram bot token>" DB_NAME="<database file name>" python bot.py
项目地址:
https://github.com/dizballanze/m00dbot
原文地址:
https://medium.mybridge.co/36-amazing-python-open-source-projects-v-2019-2fe058d79450
(*本文由Python大本营编译,转载请联系微信1092722531)
◆
精彩推荐
◆
6月29-30日,「2019第二届以太坊技术及应用大会」将在北京重磅开启,届时V神将携以太坊核心团队与国内外区块链大咖共同出席,深入探讨以太坊生态,赶紧扫码报名吧,名额有限,先到先得哟~