售前咨询
技术支持
渠道合作

python开源库推荐

环境管理

  • virtualenv – A tool to create isolated Python environments.
  • virtualenvwrapper – A set of extensions to virtualenv.

包管理

  • pip – The Python package and dependency manager.
  •  Python Package Index

交互解释器

  • Jupyter Notebook (IPython) – A rich toolkit to help you make the most out of using Python interactively.

日期时间

  • arrow – Better dates & times for Python.

下载器

  • you-get – A YouTube/Youku/Niconico video downloader written in Python 3.
  • youtube-dl – A small command-line program to download videos from YouTube.

HTTP

  • requests – HTTP Requests for Humans™.
  • grequests – requests + gevent for asynchronous HTTP requests.

数据库驱动

  • PyMongo – The official Python client for MongoDB.
  • redis-py – The Redis Python Client.
  • Peewee – A small, expressive ORM.
  • python-sql – Write SQL queries pythonically.
  • SQLAlchemy – The Python SQL Toolkit and Object Relational Mapper.
    • awesome-sqlalchemy

Web 框架

  • Django – The most popular web framework in Python.
    • awesome-django
  • Flask – A microframework for Python.
    • awesome-flask
  • Tornado – A Web framework and asynchronous networking library.

模板语言

  • Jinja2 – A modern and designer friendly templating language.

队列

  • celery – An asynchronous task queue/job queue based on distributed message passing.

搜索

  • elasticsearch-py – The official low-level Python client for Elasticsearch.
  • elasticsearch-dsl-py – The official high-level Python client for Elasticsearch.

表单

  • WTForms – A flexible forms validation and rendering library.
  • WTForms-JSON – A WTForms extension for JSON data handling.

数据校验

  • Schematics – Data Structure Validation.
  • voluptuous – A Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc.

管理面板

  • django-xadmin – Drop-in replacement of Django admin comes with lots of goodies.
  • flask-admin – Simple and extensible administrative interface framework for Flask.

并发和并行

  • multiprocessing – (Python standard library) Process-based threading interface.
  • threading – (Python standard library) Higher-level threading interface.
  • eventlet – Asynchronous framework with WSGI support.
  • gevent – A coroutine-based Python networking library that uses greenlet.

WSGI服务器

  • gunicorn – Pre-forked, partly written in C.

加密

  • PyCrypto – The Python Cryptography Toolkit.

日志

  • Raven – The Python client for Sentry.
  • Sentry – A realtime logging and aggregation server.

单元测试

  • nose – nose extends unittest.
  • faker – A Python package that generates fake data.

代码检查

  • Flake8 – The modular source code checker: pep8, pyflakes and co.
  • Pylint – A Fully customizable source code analyzer.

数据可视化

  • matplotlib – A Python 2D plotting library.

算法和设计模式

  • algorithms – A module of algorithms for Python.
  • python-patterns – A collection of design patterns in Python.

文章转载来自:ttlsa.com

上一篇:

下一篇:

相关文章