扯淡

首先说明下,这篇文章篇幅过长并且大部分是链接,因此非常适合在电脑端打开访问。

本文内容摘自 Github 上有名的 Awesome Python。这是由 vinta 在 14 年发起并持续维护的一个项目。

Awesome Python 涵盖了 Python 的方方面面,主要有 Web框架、网络爬虫、网络内容提取、模板引擎、数据库、图片处理、数据可视化、文本处理、自然语言处理、机器学习、日志、代码分析等。学会这些库,保证你在 Python 方面会有质的飞跃

以下内容是我基于 Awesome Python 和部分中文文档做出的翻译和归纳,由于内容过多,这篇只是归纳的第一部分,后续会持续更新。每个条目由 库名 + 装逼名言 + 链接 组成。

管理面板 ( Admin Panels)

Admin 面板的开源库

  • Ajenti - 你的服务器应该拥有的管理面板

https://github.com/ajenti/ajenti

  • django-suit - Django管理面板的替代品(非营利组织可免费使用)

http://djangosuit.com/

  • django-xadmin - 拥有很多不错功能的 Django Admin 替代品

https://github.com/sshwsfc/xadmin

  • flask-admin - 一个简单可扩展的 Flask 管理界面框架

https://github.com/flask-admin/flask-admin

  • flower - 一个 Celery 集群的实时监控和网页管理工具

https://github.com/mher/flower

  • Grappelli - Django 管理面板的一个非常骚气的皮肤

http://grappelliproject.com/

  • Wooey - Django的一个应用,可为 Python 脚本自动创建网页 UI

https://github.com/wooey/wooey

算法和设计模式 (Algorithms and Design Patterns)

Python 实现的一些算法和设计模式

  • algorithms - 一个 Python 的算法模块

https://github.com/nryoung/algorithms

  • PyPattyrn - 一个实现了常见设计模式的简单且有效的 Python 库

https://github.com/tylerlaberge/PyPattyrn

  • python-patterns - Python 设计模式的汇总

https://github.com/faif/python-patterns

  • sortedcontainers - 高效的,纯 Python 实现的 SortedList、SortedDict 和 SortedSet 类型。

http://www.grantjenks.com/docs/sortedcontainers/

反垃圾技术 ( Anti-spam )

一些与垃圾邮件对抗的库

  • django-simple-captcha - 一个简单、高效、可定制的 Django App,可以给任意 Django 表单添加验证码

https://github.com/mbi/django-simple-captcha

  • django-simple-span-blocker - 简单的垃圾邮件屏蔽组件

https://github.com/moqada/django-simple-spam-blocker

资源管理器 ( Asset Management ) 

管理、压缩、减小网站资源的工具

  • django-compressor - 压缩链接和内联的 JavaScript 或者 CSS 到单独的缓存文件中

https://github.com/django-compressor/django-compressor

  • django-pipeline - Django 的资源打包库

https://github.com/jazzband/django-pipeline

  • django-storages - Django 的自定义存储后端的工具集合

https://github.com/jschneier/django-storages

  • fanstatic - 打包、优化并且将静态文件依赖作为 Python 的包来提供

http://www.fanstatic.org/en/latest/

  • fileconveyor - 用于检测和同步文件到 CDN、S3 和 FTP 的守护程序

http://wimleers.com/fileconveyor

  • flask-assets - 可以帮助你将网页资源集成到 Flask App 中

https://github.com/miracle2k/flask-assets

  • jinja-assets-compressor - 一个 Jinja 的扩展程序,用来编译和压缩你的资源

https://github.com/jaysonsantos/jinja-assets-compressor

  • webassets - 对你的静态资源进行打包、压缩、管理,并生成独一无二的缓存 URL

https://github.com/miracle2k/webassets

音频 ( Audio )

一些用来控制音频的库

  • audiolazy - Python 的 DSP (数字信号处理) 包

https://github.com/danilobellini/audiolazy

  • audioread - 交叉库(GStreamer + Core Audio + MAD + FFmpeg)音频解码

https://github.com/beetbox/audioread

  • beets - 一个音乐库管理工具以及 MusciBrainz 标签添加工具

http://beets.io/

  • ncmbot - 网易云音乐的 Python Api 库

http://xiyoumc.0x2048.com/ncmbot

  • dejavu - 音频指纹提取和识别

https://github.com/worldveil/dejavu

  • eyeD3- 一个用来操作音频文件的工具,包含 ID3 元文件的 MP3 文件

http://eyed3.nicfit.net/

  • id3reader - 一个用来读取 MP3 原始数据的 Python 库

https://nedbatchelder.com/code/modules/id3reader.py

  • m3u8 - 一个用来解析 m3u8 文件的模块

https://github.com/globocom/m3u8

  • mingus - 一个高级的音乐理论和曲谱包,支持 MIDI 文件和回访功能

http://bspaans.github.io/python-mingus/

  • mutagen - 一个用来处理音频原始数据的 Python 组件

https://github.com/quodlibet/mutagen

  • pyAudioAnalysis-  Python 的音频分析库,包含:特征提取、分类、分段和应用

https://github.com/tyiannak/pyAudioAnalysis

  • pydub - 通过简单、高 Level 的接口来操作音频文件

https://github.com/jiaaro/pydub

  • pyechonest - Echo Nest API 的 Python 客户端

https://github.com/echonest/pyechonest

  • talkbox-  一个用来处理语音和信号的 Python 库

http://scikits.appspot.com/talkbox

  • TimeSide - 开源的 Web 音频处理框架

https://github.com/Parisson/TimeSide

  • tinytag - 一个用来读取 mp3 、ogg、flac 以及 Wave 文件原始数据的库。

https://github.com/devsnd/tinytag

授权

一些实现授权方案的库

OAuth

  • Authomatic - 简单但强大的框架,可以用来做身份验证和授权

http://peterhudec.github.io/authomatic/

  • django-allauth - Django 的 授权程序

https://github.com/pennersr/django-allauth

  • django-oauth-toolkit - Django 开发者的礼物, OAuth 2

https://github.com/evonove/django-oauth-toolkit

  • Flask-OAuthlib - 供 Flask 使用的 OAuth 1.0/a 和 2.0 的客户端实现

https://github.com/lepture/flask-oauthlib

  • OAuthLib - 通用且完整的 OAuth 请求和签名逻辑

https://github.com/idan/oauthlib

  • python-oauth2- 一个完全测试的抽象接口,用来创建 OAuth 客户端和服务端

https://github.com/joestump/python-oauth2

  • python-social-auth - 一个简单设置的通用化验证方式

https://github.com/omab/python-social-auth

  • rauth - OAuth 1.0/a 、2.0 和 Ofly 的 Python 库

https://github.com/omab/python-social-auth

  • sanction - 一个炒鸡简单的 OAuth2 客户端的实现

https://github.com/demianbrecht/sanction

Others

  • jose - 针对 JavaScript 对象签名和加密的草稿

https://github.com/demonware/jose

  • PyJWT - JSON Web 令牌草稿的实现01

https://github.com/jpadilla/pyjwt

  • python-jws - JSON Web 签名草稿的实现02

https://github.com/brianloveswords/python-jws

  • python-jwt - 一个用来生成和验证 JSON Web Token 的模块

https://github.com/davedoesdev/python-jwt

 

构建工具

将源代码编译为软件

  • BitBake - 类似于 Linux 的 make-file 的构建工具

http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html

  • buildout - 从多个组件来创建、组装和部署应用的构建系统

http://www.buildout.org/en/latest/

  • PlatformIO - 多平台构建工具

https://github.com/platformio/platformio-core

  • PyBuilder - 纯 Python 的可持续化构建工具

https://github.com/pybuilder/pybuilder

  • SCons - 软件构建工具

http://www.scons.org/

CMS 

内存管理系统

  • django-cms - 一个基于 Django 的开源、企业级的 CMS 系统

https://www.django-cms.org/en/

  • djedi-cms - 一个轻量级且非常强大的 Django CMS,考虑到了插件、内联编辑以及性能

http://djedi-cms.org/

  • FeinCMS - 基于 Django 构建的最高级的内容管理系统之一。

http://www.feincms.org/

  • Kotti - 基于Pyramid 的高 Level 、Pythonic 的 Web 应用框架

http://kotti.pylonsproject.org/

  • Mezzanine - 一个强大的、可持续的、灵活的内容管理平台

http://mezzanine.jupo.org/

  • Opps - 一个基于 Django 为杂志、报纸网站以及大流量门户网站所设计的 CMS 平台

http://opps.github.io/opps/

  • Plone - 一个构建于开源应用服务器 Zope 之上的 CMS 平台

https://plone.org/

  • Quokka - 基于 Flask 和 MongoDB 的灵活、可扩展的小型 CMS

http://quokkaproject.org/

  • Wagtail - 一个 Django 内容管理系统

https://wagtail.io/

  • Widgy - 基于 Django 的最新 CMS 框架

http://mezzanine.jupo.org/

Caching

缓存数据的库

  • Beaker - 一个应用在 Web 程序、独立的Python 脚本和应用程序的缓存和会话库

https://github.com/bbangert/beaker

  • DiskCache - SQLite 和文件支持的缓存后端,具有比 memcached 和 redis 更快的查找

http://www.grantjenks.com/docs/diskcache/

  • django-cache-machine - Django 模块的自动化缓存和时效

https://github.com/django-cache-machine/django-cache-machine

  • django-cacheops - 具有自动粒度时间驱动失效的 ORM 缓存

https://github.com/Suor/django-cacheops

  • django-viewlet - 具有缓存控制功能的渲染模板组件

https://github.com/5monkeys/django-viewlet

  • dogpile.cache - 这是 Beaker 的下一代替代品,由同一作者开发

http://dogpilecache.readthedocs.io/en/latest/

  • HermesCache - Python 缓存库,具有基于标签的失效和 dogpile effect 保护功能

https://pypi.python.org/pypi/HermesCache

  • johnny-cache - Django 应用的一个缓存框架

https://github.com/jmoiron/johnny-cache

  • pylibmc - libmemcached 接口的 Python 封装

https://github.com/lericson/pylibmc

ChatOps Tools

用于开发聊天机器人的库

  • Errbot - 用来实现自动聊天工具的,最简单、最流行的聊天机器人

http://errbot.io/en/latest/

Code Analysis and Linter

进行代码分析、解析和操作代码库的组件和工具

代码分析

  • coala - 语言独立并且易扩展的代码分析应用

http://coala.io/

  • code2flow - 将你的 Python 和 JavaScript 代码转换为 DOT(流程图)的工具

https://github.com/scottrogowski/code2flow

  • pycallgraph - 这个库可以将你的 Python 应用的调用图进行可视化

https://github.com/gak/pycallgraph

  • pysonar2 - Python 的类型推断和检索工具

https://github.com/yinwang0/pysonar2

Linter 工具

  • Flake8 - 模块化源代码检索工具:pep8、pyflakes 以及 co

https://pypi.python.org/pypi/flake8

  • pylama - Pyhton 和 JavaScript 的代码审查工具

https://github.com/scottrogowski/code2flow

  • Pylint - 一个完整的可定制的源代码分析工具

https://www.pylint.org/

推荐一些相见恨晚的 Python 库 「一」的更多相关文章

  1. GNU C库「glibc」getaddrinfo 发现重大漏洞

    本文翻译至:http://www.itmedia.co.jp/enterprise/articles/1602/17/news065.html 大部分Linux应用程序使用的GNU C库「glibc」 ...

  2. 推荐11个实用Python库

    1.delorea 非常酷的日期/时间库 from delorean import Delorean EST = "US/Eastern"d = Delorean(timezone ...

  3. 年薪20万Python工程师进阶(7):Python资源大全,让你相见恨晚的Python库

    我是 环境管理 管理 Python 版本和环境的工具 pyenv – 简单的 Python 版本管理工具. Vex – 可以在虚拟环境中执行命令. virtualenv – 创建独立 Python 环 ...

  4. 推荐5个机器学习Python 库,国内外评价超高

    机器学习令人无比神往,但从事这个工作的人可能并不这么想. 机器学习的工作内容往往复杂枯燥又困难——通过大量重复工作进行提升必不可少: 汇总工作流及传输渠道.设置数据源以及在内部部署和云部署的资源之间来 ...

  5. 有哪些让人相见恨晚的Python库(一)

    对于我这个经常用python倒腾数据的人来说,下面这个库是真·相见恨晚 记得有一次我在服务器上处理数据时,为了解决Pandas读取超过2000W条数据就内存爆炸的问题,整整用了两天时间来优化.最后通过 ...

  6. 2019 年在 Raspberry Pi 「树莓派」上运行的 10 个操作系统推荐

    原文:2019 年在 Raspberry Pi 「树莓派」上运行的 10 个操作系统推荐 image Raspberry Pi** 是一款基于 ARM 的单板计算机,默认运行一款称为 Raspbian ...

  7. 哪些 Python 库让你相见恨晚?

    知乎用户,A European Swallow. 苇叶.Aran He.jerry等人赞同 补充三个有助于自动化日常工作的: sh:sh 1.08 — sh v1.08 documentation可以 ...

  8. 哪些 Python 库让你相见恨晚?【转】

    原文链接:https://www.zhihu.com/question/24590883/answer/92420471 原文链接:Python 资源大全 ---------------- 这又是一个 ...

  9. Python库,让你相见恨晚的第三方库

    环境管理 管理 Python 版本和环境的工具 p – 非常简单的交互式 python 版本管理工具.pyenv – 简单的 Python 版本管理工具.Vex – 可以在虚拟环境中执行命令.virt ...

随机推荐

  1. IOS程序崩溃报告管理解决方案(Crashlytics 在2014-09-24)

    预研Crashlytics  在2014-09-241:实现原理在原理上,Crashlytics通过以下2步完成崩溃日志的上传和分析:(1)提供应用SDK,你需要在应用启动时调用其SDK来设置你的应用 ...

  2. [React] Make Compound React Components Flexible

    Our current compound component implementation is great, but it's limited in that users cannot render ...

  3. AutoCAD如何打印

    现在有一个CAD图纸,左侧为房型图,右侧为规划好之后的图纸,我只要打印右侧的东西.点击文件-打印   在打印设备中选择Default Windows System Printer,名称的下拉菜单下面有 ...

  4. powerShell赋权限

    1.给网站赋权限 Set-SPUser –Identity “用户名” –AddPermissionLevel “参与讨论” –web “http://url” 2.给列表赋权限 $web = Get ...

  5. ie 代理设置中地址和端口置灰的解决办法

    @echo offecho 代理设置reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&quo ...

  6. Mysql-SQL优化-统计某种类型的个数

    有时我们想统计某种类型有多少个,会用这个SQL. 全表扫描之余,还要filesort.耗时1.34秒. mysql> select country,count(*) from t1 group ...

  7. Javascript基本概念梳理

    javascript里的数据类型: 原始类型:数字,字符串.布尔值.(原始值:null,undefined) 对象类型:键值对,数组,function,全局对象(MATH,JSON) 保留字: abs ...

  8. 解决Hibernate4执行update操作,不更新数据的问题

    后台封装java对象,使用hibernate4再带的update,执行不更新数据,不报错. 下面贴出解决方法: 失败的方法 hibernate自带update代码:(失效) Session sessi ...

  9. Delphi7目录结构

    Delphi7目录结构 打开Delphi的安装目录,如C:\Program Files\Borland\Delphi7,你将会看到目录下包含了一些文件和文件夹:Source:存放的是Delpi提供的所 ...

  10. HDU 5832A water problem

    大数 判断整除 /* *********************************************** Author :guanjun Created Time :2016/8/14 1 ...