seanmars / notes

use issue for some helpful information.
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Python collection #56

Closed seanmars closed 4 years ago

seanmars commented 8 years ago

Collect some useful tools for Python.

 常用 package

seanmars commented 8 years ago

django https://www.djangoproject.com/

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

seanmars commented 8 years ago

flask http://flask.pocoo.org/

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed!

seanmars commented 8 years ago

Pyramid http://www.pylonsproject.org/

Pyramid is a very general open source Python web framework. As a framework, its primary job is to make it easier for a developer to create an arbitrary web application. The type of application being created isn’t really important; it could be a spreadsheet, a corporate intranet, or a social networking platform. Pyramid is general enough that it can be used in a wide variety of circumstances.

seanmars commented 8 years ago

flask-restful https://github.com/flask-restful/flask-restful http://flask-restful.readthedocs.io/en/latest/index.html

Simple framework for creating REST APIs

seanmars commented 8 years ago

webapp2 https://github.com/GoogleCloudPlatform/webapp2

webapp2 is a framework for Google App Engine https://webapp2.readthedocs.org

seanmars commented 8 years ago

falcon https://github.com/falconry/falcon

Falcon is a low-level, high-performance Python framework for building HTTP APIs, app backends, and higher-level frameworks. https://falcon.readthedocs.io/en/stable/

seanmars commented 8 years ago

cherrypy http://www.cherrypy.org/

A Minimalist Python Web Framework

seanmars commented 8 years ago

web2py http://www.web2py.com/

Free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. Written and programmable in Python.

seanmars commented 8 years ago

eve http://python-eve.org/

Eve is an open source Python REST API framework designed for human beings. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services.

Eve is powered by Flask, Cerberus, Events and MongoDB. Support for SQL-Alchemy, Elasticsearch and Neo4js as alternate backends is provided by community extensions.

The codebase is thoroughly tested under Python 2.6, 2.7, 3.3, 3.4 and PyPy.

seanmars commented 8 years ago

wheezy.web https://bitbucket.org/akorn/wheezy.web

wheezy.web is a lightweight, high performance, high concurrency WSGI web framework with the key features to build modern, efficient web:

seanmars commented 8 years ago

tornado https://github.com/tornadoweb/tornado

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. http://www.tornadoweb.org/

seanmars commented 7 years ago

pystitch https://pystitch.github.io/

stitch is a library for making reproducible reports. It takes a markdown source file, executes the code chunks, captures the output, and stitches the output into the destination file.

seanmars commented 7 years ago

pandas http://pandas.pydata.org/

pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.

pandas is a NUMFocus sponsored project. This will help ensure the success of development of pandas as a world-class open-source project.

seanmars commented 7 years ago

bokeh https://github.com/bokeh/bokeh

Bokeh, a Python interactive visualization library, enables beautiful and meaningful visual presentation of data in modern web browsers. With Bokeh, you can quickly and easily create interactive plots, dashboards, and data applications.

Bokeh helps provide elegant, concise construction of novel graphics in the style of D3.js, while also delivering high-performance interactivity over very large or streaming datasets.

seanmars commented 7 years ago

click https://github.com/pallets/click

Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It's the "Command Line Interface Creation Kit". It's highly configurable but comes with sensible defaults out of the box.

It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.

seanmars commented 7 years ago

plotly https://github.com/plotly/plotly.py

an interactive, browser-based charting library for python

seanmars commented 7 years ago

matplotlib https://github.com/matplotlib/matplotlib

matplotlib is a Python 2D plotting library which produces publication-quality figures in a variety of hardcopy formats and interactive environments across platforms. matplotlib can be used in Python scripts, the Python and IPython shell (ala MATLAB or Mathematica), web application servers, and various graphical user interface toolkits.

seanmars commented 7 years ago

requests https://github.com/kennethreitz/requests

Requests is the only Non-GMO HTTP library for Python, safe for human consumption.

seanmars commented 7 years ago

alembic https://bitbucket.org/zzzeek/alembic

Alembic is a database migrations tool written by the author of SQLAlchemy. A migrations tool offers the following functionality:

  • Can emit ALTER statements to a database in order to change the structure of tables and other constructs
  • Provides a system whereby "migration scripts" may be constructed; each script indicates a particular series of steps that can "upgrade" a target database to a new version, and optionally a series of steps that can "downgrade" similarly, doing the same steps in reverse.
  • Allows the scripts to execute in some sequential manner.
seanmars commented 7 years ago

SQLAlchemy http://www.sqlalchemy.org/

The Python SQL Toolkit and Object Relational Mapper

seanmars commented 7 years ago

Mako https://pypi.python.org/pypi/Mako

A super-fast templating language that borrows the best ideas from the existing templating languages.

Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako’s syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.

seanmars commented 7 years ago

maya https://github.com/kennethreitz/maya

Datetimes for Humans

seanmars commented 7 years ago

BeautifulSoup https://www.crummy.com/software/BeautifulSoup/

Beautiful Soup is a Python library designed for quick turnaround projects like screen-scraping. Three features make it powerful:

  1. Beautiful Soup provides a few simple methods and Pythonic idioms for navigating, searching, and modifying a parse tree: a toolkit for dissecting a document and extracting what you need. It doesn't take much code to write an application
  2. Beautiful Soup automatically converts incoming documents to Unicode and outgoing documents to UTF-8. You don't have to think about encodings, unless the document doesn't specify an encoding and Beautiful Soup can't detect one. Then you just have to specify the original encoding.
  3. Beautiful Soup sits on top of popular Python parsers like lxml and html5lib, allowing you to try out different parsing strategies or trade speed for flexibility.

Beautiful Soup parses anything you give it, and does the tree traversal stuff for you. You can tell it "Find all the links", or "Find all the links of class externalLink", or "Find all the links whose urls match "foo.com", or "Find the table heading that's got bold text, then give me that text."

seanmars commented 7 years ago

dateutil https://github.com/dateutil/dateutil/

Useful extensions to the standard Python datetime features

seanmars commented 7 years ago

Pony ORM https://docs.ponyorm.com/index.html

Pony is an advanced object-relational mapper.

seanmars commented 7 years ago

TurboGears http://turbogears.org/

TurboGears 2 is built on top of the experience of several next generation web frameworks including TurboGears 1 (of course), Django, and Rails. All of these frameworks had limitations that frustrated us, and TG2 was built as an answer to that frustration:

seanmars commented 7 years ago

nose http://nose.readthedocs.io/

nose extends unittest to make testing easier.

seanmars commented 7 years ago

lxml http://lxml.de/

lxml is the most feature-rich and easy-to-use library for processing XML and HTML in the Python language.

seanmars commented 7 years ago

pymemcache https://github.com/pinterest/pymemcache

A comprehensive, fast, pure-Python memcached client.

pymemcache supports the following features:

  • Complete implementation of the memcached text protocol.
  • Configurable timeouts for socket connect and send/recv calls.
  • Access to the "noreply" flag, which can significantly increase the speed of writes.
  • Flexible, simple approach to serialization and deserialization.
  • The (optional) ability to treat network and memcached errors as cache misses.
seanmars commented 7 years ago

tox http://tox.readthedocs.io/en/latest/index.html#

Tox is a generic virtualenv management and test command line tool you can use for:

  • checking your package installs correctly with different Python versions and interpreters
  • running your tests in each of the environments, configuring your test tool of choice
  • acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.
seanmars commented 7 years ago

xlrd https://github.com/python-excel/xlrd

Library for developers to extract data from Microsoft Excel (tm) spreadsheet files http://www.python-excel.org/

seanmars commented 7 years ago

openpyxl https://bitbucket.org/openpyxl/openpyxl

openpyxl openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files. It was born from lack of existing library to read/write natively from Python the Office Open XML format. All kudos to the PHPExcel team as openpyxl was initially based on PHPExcel

seanmars commented 7 years ago

numpy http://www.numpy.org/

NumPy is the fundamental package for scientific computing with Python. It contains among other things:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities
seanmars commented 7 years ago

multipledispatch https://github.com/mrocklin/multipledispatch/

A relatively sane approach to multiple dispatch in Python.

This implementation of multiple dispatch is efficient, mostly complete, performs static analysis to avoid conflicts, and provides optional namespace support. It looks good too.

seanmars commented 7 years ago

mako http://www.makotemplates.org/

Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django and Jinja2 templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.

seanmars commented 7 years ago

better_exceptions https://github.com/qix-/better-exceptions

Pretty and useful exceptions in Python, automatically.

seanmars commented 7 years ago

keras https://keras.io/

Keras: Deep Learning library for Theano and TensorFlow