Python
http://fr.wikipedia.org/wiki/Python_%28langage%29
Interfaces graphiques (toolkits) pour Python
Tk
http://wiki.python.org/moin/TkInter (TkInter )wxWidgets
http://www.wxpython.org (wxPython)Qt
http://www.riverbankcomputing.co.uk/pyqt PyQt - licence GPLhttp://www.pyside.org/ PySide - licence LGPL
Autres
https://awesome-python.com/#gui-developmenthttp://pmw.sourceforge.net/ Pmw Megawidget
http://kivy.org/ Kivy - crossplatform framework for NUI (smartphone - tactile multipoint...)
http://code.enthought.com/projects/traits_gui/ TraitsGUI (deprecated)
http://code.enthought.com/projects/traits_ui/ TraitsUI
https://github.com/enthought/pyface pyface
Enaml
atlastk - Atlas toolkit https://atlastk.org/
PySimpleGUI https://github.com/PySimpleGUI/PySimpleGUI
EasyGUI https://easygui.readthedocs.io/
RemI - Python REMote Interface library
JustPy
IDE
http://boa-constructor.sourceforge.net (wxPython)http://www.die-offenbachs.de/detlev/eric3.html (PyQT)
http://wingware.com/wingide
http://www.python.org/idle
http://spe.pycs.net
http://pythoncard.sourceforge.net
http://webpages.charter.net/edreamleo/front.html
https://github.com/spyder-ide/spyder
http://pydev.org/
http://www.iep-project.org/ Interactive Editor for Python
http://www.jetbrains.com/pycharm/
http://dreampie.sourceforge.net/
https://github.com/yhat/rodeo/
http://www.pyzo.org/
GUI Designer for TkInter
http://starship.python.net/crew/mike/src/Spectix/Spectix.htmlhttp://page.sourceforge.net
http://www.activestate.com/Products/Komodo
Vérification / Lint
permet de vérifier la syntaxe de l'ensemble d'un programme, son respect des standards de développement (PEP8...)pylint http://www.pylint.org/
pychecker http://pychecker.sourceforge.net/
pyflaskes https://launchpad.net/pyflakes/
flake8 https://flake8.readthedocs.org/
pep8 http://pep8.readthedocs.org/
mccabe http://www.mccabe.com/
pylama https://github.com/klen/pylama
coala https://coala.io/
Code formatter
black https://github.com/ambv/black (inspiré de gofmt en Go)autopep8 https://github.com/hhatto/autopep8
yapf
Syntax upgrader
pyupgrade https://github.com/asottile/pyupgradeDivers
http://www.afpy.org AFPY - Association Francophone PYthonConférences
http://fr.pycon.orghttp://www.europython.eu/
News, Planet...
http://sametmax.com/planet-python-fr/http://www.afpy.org/planet/
Doc / tutoriel
http://www.ulg.ac.be/cifen/inforef/swi/python.htm Apprendre à programmer avec Python Gérard Swinnenhttp://frpython.sourceforge.net Projet de traduction française de la documentation de Python
http://ludovic.pinelli.free.fr/Python/PythonAmiHTML Python est mon ami Ludovic Pinelli
http://pydoc.org pydoc.org: Python Documentation Online
http://wikipython.flibuste.net Wiki Python Fr
http://docs.python.org Python Documentation
http://www.swaroopch.com/notes/Python_fr A byte of Python - traduction FR
http://docs.python.org/3/howto/ Python HOWTOs
http://docs.python-guide.org/en/latest/
Codecademy http://www.codecademy.com/
https://pythonprogramming.net/
https://snakify.org/ Snakify - Interactive Python 3 tutorial
https://github.com/satwikkansal/wtfpython - What the f*ck Python! - An interesting collection of surprising snippets and lesser-known Python features.
Tutoriels intéractifs
CodeAcademy https://www.codecademy.com/fr/learn/pythonDataCamp https://www.datacamp.com/
Codingame https://www.codingame.com/
Code combat https://codecombat.com/
Livres
FR
Apprendre Python 3 - Gérard SwinnenApprenez à programmer en Python
EN
Dive into PythonBeginning Python
Python in a nutshell
Writing Idiomatic Python https://www.jeffknupp.com/writing-idiomatic-python-ebook/
Invent With Python http://inventwithpython.com/ - Al Sweigart
Invent Your Own Computer Games with Python
Making Games with Python & Pygame
Learn Python the hard way http://learnpythonthehardway.org/Making Games with Python & Pygame
En vrac
Formatage de chaînes de caractères https://pyformat.info/Python et calcul numérique
numarray (plus maintenu)http://scipy.org SciPy et NumPy http://numpy.scipy.org/
Rem : connaître la version installée
$ python >>> import numpy as np >>> np.__version__ 'x.y.z' >>> np
http://simpy.sourceforge.net SimPy (= Simulation in Python) - an object-oriented, process-based discrete-event simulation language for Python.
http://sympy.org/ SymPy - Python library for symbolic mathematics.
http://pandas.pydata.org/ pandas - Python Data Analysis Library (notion de DataFrame du langage R)
Livre :
Tutorial https://bitbucket.org/hrojas/learn-pandas
https://github.com/yoavfreund/UCSD_BigData/blob/master/AWS_scripts/NotebookCollections.md
Pandas related packages
Python for Data Analysis - Data Wrangling with Pandas, NumPy, and IPython - Wes McKinney - O'Reilly Media
Learning Pandas - Michael Heydt - PacktPub April 2015
Cookbook https://github.com/jvns/pandas-cookbookLearning Pandas - Michael Heydt - PacktPub April 2015
Tutorial https://bitbucket.org/hrojas/learn-pandas
https://github.com/yoavfreund/UCSD_BigData/blob/master/AWS_scripts/NotebookCollections.md
Pandas related packages
pandas_datareader https://github.com/pydata/pandas-datareader
pandas-ply https://github.com/coursera/pandas-ply functional data manipulation for pandas (voir dplyr en R - ou la notion de pipe à partir de Pandas 0.16)
pandas-log
Pandas User Interfacepandas-ply https://github.com/coursera/pandas-ply functional data manipulation for pandas (voir dplyr en R - ou la notion de pipe à partir de Pandas 0.16)
pandas-log
https://github.com/eyaltrabelsi/pandas-log
Ref: https://towardsdatascience.com/introducing-pandas-log-3240a5e57e21
Numpy / Pandas viewer / tabular data viewerRef: https://towardsdatascience.com/introducing-pandas-log-3240a5e57e21
tabview https://github.com/TabViewer/gtabview
gtabview https://github.com/TabViewer/gtabview
pandas-qt https://github.com/datalyze-solutions/pandas-qt (ex pandas/sandbox/qtpandas.py)
visidata https://github.com/saulpw/visidata
gtabview https://github.com/TabViewer/gtabview
pandas-qt https://github.com/datalyze-solutions/pandas-qt (ex pandas/sandbox/qtpandas.py)
visidata https://github.com/saulpw/visidata
"Beyond" Pandas
xarray http://xarray.pydata.org/
Patsy
http://patsy.readthedocs.org/
Describe statistical models (especially linear models, or models that have a linear component) and build design matrices. It is closely inspired by and compatible with the formula mini-language used in R and S.
http://cran.r-project.org/doc/manuals/R-intro.html#Formulae-for-statistical-models
NumbaDescribe statistical models (especially linear models, or models that have a linear component) and build design matrices. It is closely inspired by and compatible with the formula mini-language used in R and S.
http://cran.r-project.org/doc/manuals/R-intro.html#Formulae-for-statistical-models
Cython http://www.cython.org/
Pyston
Pythran https://github.com/serge-sans-paille/pythran
Parakeet http://parakeetpython.com/
Blaze
http://blaze.pydata.org/
http://nbviewer.ipython.org/url/blaze.pydata.org/notebooks/timings-csv.ipynb
http://nbviewer.ipython.org/url/blaze.pydata.org/notebooks/timings-bcolz.ipynb
http://chdoig.github.io/scipy2015-blaze-bokeh/
odohttp://nbviewer.ipython.org/url/blaze.pydata.org/notebooks/timings-csv.ipynb
http://nbviewer.ipython.org/url/blaze.pydata.org/notebooks/timings-bcolz.ipynb
http://chdoig.github.io/scipy2015-blaze-bokeh/
datatable
modin - Speed up your Pandas workflows by changing a single line of code
xarray (formerly xray) N-D labeled arrays and datasets in Python
bcolz / blosc https://github.com/Blosc/bcolz columnar and compressed data containers
Ibis - Python data analysis framework for Hadoop and SQL engines
monary (MongoDB / Python + NumPy)
dataset - databases for lazy people
DynND - C++ library for dynamic, multidimensional arrays - inspired by NumPy
Packages pour Mac OS X
Distribution Python orientée calcul numérique
Enthought (EPDFree / EPD Full / EPD Academic) http://www.enthought.com/
Pyzo http://www.pyzo.org/
http://python-for-researchers.readthedocs.org/en/latest/distros.html
IPython notebook http://ipython.org/$ enpkg <package name>
/Library/Frameworks/Python.framework/Versions/x.y/bin/python
Enthought Canopy https://www.enthought.com/products/canopy/
Anaconda CE / Pro - Continuum Analytics http://continuum.io//Library/Frameworks/Python.framework/Versions/x.y/bin/python
Enthought Canopy https://www.enthought.com/products/canopy/
Conda user cheat sheet
Pythonxy http://code.google.com/p/pythonxy/Pyzo http://www.pyzo.org/
http://python-for-researchers.readthedocs.org/en/latest/distros.html
Python intéractif / notebook
$ ipython notebook
Activer le mode inline de matplotlib
%matplotlib inline
Tutoriel http://ipython.org/ipython-doc/stable/interactive/tutorial.html
In [1]: %paste pour coller du code
Complétion
http://jupyter.org/
https://jupyterhub.readthedocs.io/
voila https://voila-gallery.org/
nbgrader
$ ipython notebook
Activer le mode inline de matplotlib
%matplotlib inline
Tutoriel http://ipython.org/ipython-doc/stable/interactive/tutorial.html
In [1]: %paste pour coller du code
Complétion
debut_nom_obj<TAB>
Explorer objetnom_objet?
Jupyter (ex IPython notebook)http://jupyter.org/
https://jupyterhub.readthedocs.io/
$ ipython notebook --pylab inline (local)
$ ipython notebook --no-browser --port=YYYY --ip='*' --pylab inline --profile nbserver (remote)
mybinder https://mybinder.org/ Turn a Git repo into a collection of interactive notebooks$ ipython notebook --no-browser --port=YYYY --ip='*' --pylab inline --profile nbserver (remote)
voila https://voila-gallery.org/
nbgrader
JupyterLab https://github.com/jupyterlab/jupyterlab
Livres sur IPython : http://ipython-books.github.io/
Examples:
Autres notebooks
Plot
Extensions: (table of contents...)
Visual Studio Code + Jupyter cell codehttps://pbpython.com/notebook-alternative.html
https://code.visualstudio.com/docs/python/jupyter-support
Panel - A high-level app and dashboarding solution for Pythonhttps://code.visualstudio.com/docs/python/jupyter-support
Livres sur IPython : http://ipython-books.github.io/
Learning IPython for Interactive Computing and Data Visualization
IPython Interactive Computing and Visualization Cookbook
IPython Notebook Essentials - L. Felipe Martins
IPython Interactive Computing and Visualization Cookbook
IPython Notebook Essentials - L. Felipe Martins
Examples:
nbviewer http://nbviewer.ipython.org/
https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks
https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks
Autres notebooks
Beaker / BeakerX (2sigma)
Plot
Matplotlib
D3JS
Highcharts
PyQwt
guiqwt
PyQtGraph
Glumpy (Numpy + OpenGL)
plotly
pygal
ggplot (inspired from R - ggplot2 - Grammar of graphics)
D3JS
Highcharts
PyQwt
guiqwt
PyQtGraph
Glumpy (Numpy + OpenGL)
plotly
https://plot.ly/
https://github.com/plotly/
Dash (Python framework for building analytical web applications - build on top of Plotly.js, React, and Flask)
plotly express (intégration Pandas)
https://github.com/plotly/
Dash (Python framework for building analytical web applications - build on top of Plotly.js, React, and Flask)
plotly express (intégration Pandas)
https://plotly.com/python/plotly-express/
https://towardsdatascience.com/visualization-with-plotly-express-comprehensive-guide-eb5ee4b50b57
https://github.com/vaclavdekanovsky/data-analysis-in-examples/blob/master/Vizualizations/Plotly/Comperhansive%20Guide/Plotly%20Express%20-%20Comprehensive%20Guide.ipynb
https://towardsdatascience.com/visualization-with-plotly-express-comprehensive-guide-eb5ee4b50b57
https://github.com/vaclavdekanovsky/data-analysis-in-examples/blob/master/Vizualizations/Plotly/Comperhansive%20Guide/Plotly%20Express%20-%20Comprehensive%20Guide.ipynb
pygal
ggplot (inspired from R - ggplot2 - Grammar of graphics)
Bokeh
d3py
vispy (ex galry)
MPLD3 (Bringing Matplotlib to the Browser)
Holoviews http://holoviews.org/
Vega / grammar of graphics
seaborn
http://bokeh.pydata.org/
Datashader - a graphics pipeline system for creating meaningful representations of large amounts of data
Bokeh + Flask + Heroku
Moksha ProjectDatashader - a graphics pipeline system for creating meaningful representations of large amounts of data
Bokeh + Flask + Heroku
http://blog.thedataincubator.com/2015/09/painlessly-deploying-data-apps-with-bokeh-flask-and-heroku/
https://github.com/thedataincubator/flask-demo
https://github.com/thedataincubator/flask-demo
d3py
vispy (ex galry)
MPLD3 (Bringing Matplotlib to the Browser)
Holoviews http://holoviews.org/
Vega / grammar of graphics
Vincent (Python to Vega) http://vincent.readthedocs.org/
Vega http://trifacta.github.io/vega/
Altair
Vega http://trifacta.github.io/vega/
Altair
seaborn
http://web.stanford.edu/~mwaskom/software/seaborn/
Style / palette prettyplotlib
Style / palette prettyplotlib
import seaborn as sns
sns.set(style='ticks', palette='Set2')
sns.set(style='ticks', palette='Set2')
mpld3 (matplotlib + d3js)
nvd3
glueviz - Python library to explore relationships within and among related datasets
bqplot - Plotting library for IPython/Jupyter Notebooks
gr-framework
lightning-viz
gr-framework
lightning-viz
Livres:
Python High Performance Programming - Gabriele Lanaro (Packt Publishing)
Articles
Utilisation scientifique de Pythonhttp://ftp.traduc.org/doc-vf/gazette-linux/html/2005/114/lg114-A.html Visualisation de données
http://ftp.traduc.org/doc-vf/gazette-linux/html/2005/115/lg115-A.html Analyse de données
Python scientifique - ENS Paris - Supports de cours de la formation à Python scientifique de l’ENS Paris pour les professeurs de classes préparatoires scientifiques.http://ftp.traduc.org/doc-vf/gazette-linux/html/2005/115/lg115-A.html Analyse de données
Python Scientific Lecture Notes
Scipy : le calcul numérique haut-niveau
Initiation au traitement d'image avec NumPy
Matplotlib http://matplotlib.sourceforge.net
Pylab / Pyplot : interface à la MATLAB
from pylab import *
x = arange(0,7,0.01)
y = sin(x)
plot(x,y)
show()
x = arange(0,7,0.01)
y = sin(x)
plot(x,y)
show()
Colormap
import numpy as np
import matplotlib
from matplotlib import pyplot as plt
a = np.outer(np.arange(0, 1, 0.01), np.ones(10))
cmap = matplotlib.cm.get_cmap("gray")
plt.imshow(a,aspect='auto', cmap=cmap)
plt.show()
import matplotlib
from matplotlib import pyplot as plt
a = np.outer(np.arange(0, 1, 0.01), np.ones(10))
cmap = matplotlib.cm.get_cmap("gray")
plt.imshow(a,aspect='auto', cmap=cmap)
plt.show()
Tutoriel :
NumFOCUS fondation
pygooglechart (Python Google Chart)
Chaco http://code.enthought.com/projects/chaco/
MayaVi (3D) https://svn.enthought.com/enthought/wiki/MayaVi
EuroSciPy (conférence des utilisateurs de Python pour appli scientifiques
Lectures on scientific computing with Python - Robert Johansson
Python, RS232, Parallèle, GPIB...
http://pyserial.sourceforge.nethttp://pyvisa.sourceforge.net
Python et le réseau
socket, ...Twisted http://twistedmatrix.com/trac/
Tornado http://www.tornadoweb.org/
voir aussi lib ProgrammationReseau
JSON-RPC
XML-RPC
voir RemoteProcedureCall
Scapy - interactive packet manipulation program
Construction / Distribution de package
Python Eggs .egg http://peak.telecommunity.com/DevCenter/PythonEggsDistutils http://docs.python.org/distutils/
setuptools http://peak.telecommunity.com/DevCenter/setuptools
$ sudo easy_install ...
distribute http://pypi.python.org/pypi/distribute PyPIPip http://www.pip-installer.org/
$ python -m pip install ...
$ sudo pip install ...
$ sudo pip install ...
Pip / conda package privé
Binstar https://binstar.org/
Creation d'un projet - kit de démarrage - project template
python-package-boilerplate https://github.com/mtchavez/python-package-boilerplate
StarterPyth https://github.com/d9pouces/StarterPyth
StarterPyth https://github.com/d9pouces/StarterPyth
$ sudo pip install starterpyth
CookieCutter http://cookiecutter.readthedocs.org/en/latest/$ sudo pip install cookiecutter
buildout
pyproject.toml file
https://www.python.org/dev/peps/pep-0518/
https://github.com/carlosperate/awesome-pyproject
https://stackoverflow.com/questions/62983756/what-is-pyproject-toml
https://github.com/carlosperate/awesome-pyproject
https://stackoverflow.com/questions/62983756/what-is-pyproject-toml
poetry - Python packaging made easy
flit https://flit.readthedocs.io/
hatch https://github.com/ofek/hatch
Bibliothèques diverses / libs
PyPi Python Package Index http://pypi.python.org/pypihttp://fr.wikibooks.org/wiki/Biblioth%C3%A8ques_pour_Python
http://cheeseshop.python.org/pypi?%3Aaction=index
http://www.vex.net/parnassus
https://github.com/vinta/awesome-python
http://sametmax.com/tres-grand-listing-des-libs-standard-partie-les-plus-utiles-en-python/
http://sametmax.com/tres-grand-listing-des-libs-tierce-partie-les-plus-utiles-en-python/
https://github.com/svaksha/pythonidae Curated decibans of scientific programming resources in Python
Arithmétique multiprécision
mpmath http://mpmath.org/
Argument parser (Command Line Interface)
http://docs.python-guide.org/en/latest/scenarios/cli/
optparse http://docs.python.org/2/library/optparse.html
argparse http://docs.python.org/dev/library/argparse.html
docopt http://docopt.org/
clize https://pypi.python.org/pypi/clize/
argh https://pythonhosted.org/argh/
click http://click.pocoo.org/
begins http://begins.readthedocs.org/en/latest/
optparse http://docs.python.org/2/library/optparse.html
argparse http://docs.python.org/dev/library/argparse.html
docopt http://docopt.org/
clize https://pypi.python.org/pypi/clize/
argh https://pythonhosted.org/argh/
click http://click.pocoo.org/
begins http://begins.readthedocs.org/en/latest/
Benchmarking
timeit https://docs.python.org/3/library/timeit.html
nose-timer https://github.com/patjenk/nose-timer
vbench http://pydata.github.io/vbench/
airspeed velocity (asv) https://github.com/spacetelescope/asv
nose-timer https://github.com/patjenk/nose-timer
vbench http://pydata.github.io/vbench/
airspeed velocity (asv) https://github.com/spacetelescope/asv
Binaire
Struct https://docs.python.org/2/library/struct.html
Construct http://construct.readthedocs.org/
Numpy fromfile
bitstring http://scott-griffiths.github.io/bitstring/
Kaitai Struct http://kaitai.io/ A new way to develop parsers for binary structures.
Construct http://construct.readthedocs.org/
Numpy fromfile
bitstring http://scott-griffiths.github.io/bitstring/
Kaitai Struct http://kaitai.io/ A new way to develop parsers for binary structures.
Cartographie
folium (basé sur Leaflet JS)
Console User Interface / TUI / Text User Interface curses / ncurses
pycdk
urwid
npyscreen
picotui
Console / ASCII Plotter
Prompt toolkit https://python-prompt-toolkit.readthedocs.io/
py_cui
asciimatics
pycdk
urwid
npyscreen
picotui
Console / ASCII Plotter
aplotter http://www.algorithm.co.il/blogs/ascii-plotter/
bashplotlib https://github.com/glamp/bashplotlib
Progress bar / progress meterbashplotlib https://github.com/glamp/bashplotlib
tqdm https://github.com/noamraph/tqdm
progress https://github.com/verigak/progress/
python-progressbar https://code.google.com/p/python-progressbar/
alive-progress https://github.com/rsalmei/alive-progress
progress https://github.com/verigak/progress/
python-progressbar https://code.google.com/p/python-progressbar/
alive-progress https://github.com/rsalmei/alive-progress
Prompt toolkit https://python-prompt-toolkit.readthedocs.io/
py_cui
asciimatics
Console Terminal
telnet
SSH
SSH
paramiko http://pypi.python.org/pypi/paramiko/
Fabric http://www.fabfile.org/
Twisted Conch http://twistedmatrix.com/trac/wiki/TwistedConch
AutomatisationFabric http://www.fabfile.org/
Twisted Conch http://twistedmatrix.com/trac/wiki/TwistedConch
pexpect - A Python module for controlling interactive programs in a pseudo-terminal
Data stream
Streamz
https://streamz.readthedocs.io/
https://github.com/mrocklin/streamz
http://matthewrocklin.com/blog/work/2017/10/16/streaming-dataframes-1
tributaryhttps://github.com/mrocklin/streamz
http://matthewrocklin.com/blog/work/2017/10/16/streaming-dataframes-1
Dynamic report
notedown https://pypi.python.org/pypi/notedown (inspiré par R markdown)
knitr http://yihui.name/knitr/
knitpy https://github.com/janschulz/knitpy/
stitch https://github.com/pystitch/stitch
knitr http://yihui.name/knitr/
knitpy https://github.com/janschulz/knitpy/
stitch https://github.com/pystitch/stitch
Interactive HTML for data science
Natural Language Processing (NLP)
NLTK http://nltk.org/
spaCy https://spacy.io/
Livre : Natural Language Processing with Python
voir IA
spaCy https://spacy.io/
Livre : Natural Language Processing with Python
voir IA
ContentManagementSystem
Plone http://plone.org
Couleurs
Matplotlib Color http://matplotlib.org/api/colors_api.html
PIL / Pillow ImageColor http://pillow.readthedocs.org/en/3.0.x/reference/ImageColor.html
colorsys https://docs.python.org/2/library/colorsys.html
Chroma
colormath
colour
colour-science
colorspacious
viscm
colorcet
PIL / Pillow ImageColor http://pillow.readthedocs.org/en/3.0.x/reference/ImageColor.html
colorsys https://docs.python.org/2/library/colorsys.html
Chroma
colormath
colour
colour-science
colorspacious
viscm
colorcet
Crypto / secret
Decorator
functools.wraps https://docs.python.org/2/library/functools.html
wrapt http://wrapt.readthedocs.org/
wrapt http://wrapt.readthedocs.org/
Documentation de code / documentation generator
http://wiki.python.org/moin/DocumentationTools
pydoc
sphinx
epydoc
Utilisation des docstrings
pyreverse Génération de diagrammes UML à partir du code
slate
pydoc
sphinx
epydoc
Utilisation des docstrings
pyreverse Génération de diagrammes UML à partir du code
slate
API documentation using Markdown syntax
https://github.com/lord/slate
https://github.com/lord/slate
Energie
pvlib - A set of documented functions for simulating the performance of photovoltaic energy systems
Excel
LibreOffice
Fichiers / chemins
os.path
path.py https://github.com/jaraco/path.py
path.py https://github.com/jaraco/path.py
Gestion de process / daemon
Regular expressions / regex / regexp
https://docs.python.org/2/library/re.html
https://docs.python.org/2/howto/regex.html
Test regex
Livres
https://docs.python.org/2/howto/regex.html
Test regex
Livres
Mastering Python Regular Expressions - Lopez, Felix, Romero, Victor
Mastering Regular Expressions – August 15, 2006 - Jeffrey E. F. Friedl
Mastering Regular Expressions – August 15, 2006 - Jeffrey E. F. Friedl
Test automation / Behavior-driven development
Tests unitaires
unittest http://docs.python.org/library/unittest.html
unittest2
doctest http://docs.python.org/library/doctest.html
unittest2
doctest http://docs.python.org/library/doctest.html
principe:
def ajouter(a, b):
""" Additionne deux elements.
Exemple :
>>> ajouter(1, 2)
3
"""
return(a+b)
if __name__ == "__main__":
import doctest
doctest.testmod()
""" Additionne deux elements.
Exemple :
>>> ajouter(1, 2)
3
"""
return(a+b)
if __name__ == "__main__":
import doctest
doctest.testmod()
attest http://pythonhosted.org/Attest/
nose http://nose.readthedocs.org/
nose2 http://nose2.readthedocs.org/en/latest/
pytest http://pytest.org/
mock https://pypi.python.org/pypi/mock
Livres:
Test-Driven Web Development with Python - Harry Percival
BDD behavior-driven developmentCode coverage / couverture de code
coverage https://coverage.readthedocs.io/
Iterateurs
Intégration continue
buildbot http://buildbot.net/
Tests packagingEléments finis - Finite elements
Fake data
Machine learning (Classification, regression, clustering, dimensionality reduction, model selection, preprocessing)
scikit-learn http://scikit-learn.org/
StatsModels http://statsmodels.sourceforge.net/ Statistics in Python
neurolab https://code.google.com/p/neurolab/
pybrain http://pybrain.org/ Python-Based Reinforcement Learning, Artificial Intelligence and Neural Network Library
mlpy http://mlpy.sourceforge.net/
bpnn.py http://arctrix.com/nas/python/bpnn.py Back-Propagation Neural
LINQStatsModels http://statsmodels.sourceforge.net/ Statistics in Python
neurolab https://code.google.com/p/neurolab/
pybrain http://pybrain.org/ Python-Based Reinforcement Learning, Artificial Intelligence and Neural Network Library
mlpy http://mlpy.sourceforge.net/
bpnn.py http://arctrix.com/nas/python/bpnn.py Back-Propagation Neural
asq Python package for specifying and performing efficient queries over collections of Python objects using a fluent interface (inspired by LINQ)
py-enumerable / py-linq https://github.com/viralogic/py-enumerable
pythonql https://github.com/pythonql/pythonql
Networkspy-enumerable / py-linq https://github.com/viralogic/py-enumerable
pythonql https://github.com/pythonql/pythonql
pystruct https://github.com/pystruct/pystruct
PyMC http://pymc-devs.github.io/pymc/ Bayesian Stochastic Modelling / MCMC Markov Chain Monte Carlo
HDDM https://github.com/hddm-devs/hddm Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC)
https://github.com/rerpy/rerpy ERP/ERF analysis of brainwave data (EEG, MEG)
SKLL SciKit-Learn Laboratory http://scikit-learn-laboratory.readthedocs.org/
TensorFlow (Google) http://www.tensorflow.org/
Keras http://keras.io/ Deep Learning library for Theano and TensorFlow
xgboost Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, C++ and more
pandas-ml https://github.com/pandas-ml/pandas-ml
Chainer A flexible framework of neural networks for deep learning
Theano http://deeplearning.net/software/theano/
Caffe http://caffe.berkeleyvision.org/
pytorch http://pytorch.org/
streamlit
PyMC http://pymc-devs.github.io/pymc/ Bayesian Stochastic Modelling / MCMC Markov Chain Monte Carlo
HDDM https://github.com/hddm-devs/hddm Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC)
https://github.com/rerpy/rerpy ERP/ERF analysis of brainwave data (EEG, MEG)
SKLL SciKit-Learn Laboratory http://scikit-learn-laboratory.readthedocs.org/
TensorFlow (Google) http://www.tensorflow.org/
Keras http://keras.io/ Deep Learning library for Theano and TensorFlow
xgboost Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, C++ and more
pandas-ml https://github.com/pandas-ml/pandas-ml
Chainer A flexible framework of neural networks for deep learning
Theano http://deeplearning.net/software/theano/
https://github.com/LowinData/pyautodiff
Lasagne https://lasagne.readthedocs.io/ lightweight library to build and train neural networks in Theano
Deepy https://github.com/zomux/deepyLasagne https://lasagne.readthedocs.io/ lightweight library to build and train neural networks in Theano
Caffe http://caffe.berkeleyvision.org/
pytorch http://pytorch.org/
streamlit
Messaging AMQP (Advanced Message Queuing Protocol) - voir ProgrammationReseau
pika https://pypi.python.org/pypi/pika
py-amqplib http://barryp.org/software/py-amqplib/
kombu - messaging library supportant divers broker (RabbitMQ, Redis, ...)
ZeroMQ / ZMQ / 0MQ http://www.zeromq.org/
ActiveMQ
RabbitMQ
snakeMQ http://www.snakemq.net/
py-amqplib http://barryp.org/software/py-amqplib/
kombu - messaging library supportant divers broker (RabbitMQ, Redis, ...)
ZeroMQ / ZMQ / 0MQ http://www.zeromq.org/
ActiveMQ
RabbitMQ
snakeMQ http://www.snakemq.net/
MQTT
paho https://www.eclipse.org/paho/clients/python/ (anciennement mosquitto)
hbmqtt https://github.com/beerfactory/hbmqtt
hbmqtt https://github.com/beerfactory/hbmqtt
Meteorological / oceanographic /
https://github.com/SciTools/iris analysing and visualising meteorological and oceanographic data sets
http://scitools.org.uk/cartopy/ cartographic tools for python
http://scitools.org.uk/cartopy/ cartographic tools for python
Programmation parallèle et concurrente
Jobs / Tasks / Queues / gestion de tâches / cloud / cluster
Celery http://celeryproject.org/
RQ http://python-rq.org/
pyres https://github.com/binarydud/pyres a Resque clone
taskmaster https://github.com/dcramer/taskmaster
StarCluster http://star.mit.edu/cluster/ cluster-computing toolkit for Amazon’s Elastic Compute Cloud (EC2)
jug https://jug.readthedocs.org/ A Task-Based Parallelization Framework
joblib https://pythonhosted.org/joblib/
Prefect https://www.prefect.io/
RQ http://python-rq.org/
pyres https://github.com/binarydud/pyres a Resque clone
taskmaster https://github.com/dcramer/taskmaster
StarCluster http://star.mit.edu/cluster/ cluster-computing toolkit for Amazon’s Elastic Compute Cloud (EC2)
jug https://jug.readthedocs.org/ A Task-Based Parallelization Framework
joblib https://pythonhosted.org/joblib/
Prefect https://www.prefect.io/
MapReduce (calcul parallèle)
https://fr.wikipedia.org/wiki/MapReduce
MrJob http://pythonhosted.org/mrjob/
Disco http://discoproject.org/
dumbo http://klbostee.github.io/dumbo/
hadoopy http://www.hadoopy.com/
luigi https://github.com/spotify/luigi
voir aussi: Apache Storm
MrJob http://pythonhosted.org/mrjob/
Disco http://discoproject.org/
dumbo http://klbostee.github.io/dumbo/
hadoopy http://www.hadoopy.com/
luigi https://github.com/spotify/luigi
voir aussi: Apache Storm
streamparse https://github.com/Parsely/streamparse
Manipulation d'images (voir aussi LibImages ) / Image processing / ComputerVision / Computer vision / VisionIndustrielle
Python Imaging Library (PIL) http://www.pythonware.com/products/pil/index.htm
ImageMagick Python wrappers
Pillow (PIL friendly fork) https://pillow.readthedocs.org/
Willow http://willow.readthedocs.io/en/latest/
Wand http://docs.wand-py.org/
Metadata / Métadonnées (Exif : Exchangeable image file format)
scikit-image http://scikit-image.org/
mahotas http://mahotas.readthedocs.org/
ImageMagick Python wrappers
Pillow (PIL friendly fork) https://pillow.readthedocs.org/
Willow http://willow.readthedocs.io/en/latest/
Wand http://docs.wand-py.org/
PIL
pyexiv2 http://tilloy.net/dev/pyexiv2/
exif-py http://sourceforge.net/projects/exif-py/
pyexif http://pyexif.sourceforge.net/ (voir exif-py)
pyexiv2 http://tilloy.net/dev/pyexiv2/
exif-py http://sourceforge.net/projects/exif-py/
pyexif http://pyexif.sourceforge.net/ (voir exif-py)
scikit-image http://scikit-image.org/
mahotas http://mahotas.readthedocs.org/
Optimisation / hyper parameter tuning
CVXOPT (Convex optimization) http://cvxopt.org/
Scipy optimize
PuLP https://pythonhosted.org/PuLP/
Gurobi http://www.gurobi.com/
pypet - python parameter exploration toolkit / explore parameter space / save data to HDF5
ray - A fast and simple framework for building and running distributed applications
Scipy optimize
scipy.optimize.brute
Gurobi http://www.gurobi.com/
pypet - python parameter exploration toolkit / explore parameter space / save data to HDF5
ray - A fast and simple framework for building and running distributed applications
Projection géographique
pyproj https://github.com/jswhit/pyproj
utm https://github.com/Turbo87/utm
mpl_toolkits http://matplotlib.org/1.3.0/mpl_toolkits/index.html
utm https://github.com/Turbo87/utm
mpl_toolkits http://matplotlib.org/1.3.0/mpl_toolkits/index.html
Programmation logique (à la Prolog)
PyKE (Python Knowledge Engine) http://pyke.sourceforge.net/
Génération de fichiers PDF / Reporting
ReportLab http://www.reportlab.org
pyfpdf https://github.com/reingart/pyfpdf
PyPDF2 https://github.com/mstamy2/PyPDF2
PyMuPDF (pitz) https://pymupdf.readthedocs.io/en/latest/
Geraldo Reports http://www.geraldoreports.org/
PollyReports https://pythonhosted.org/PollyReports/tutorial.html
pyfpdf https://github.com/reingart/pyfpdf
PyPDF2 https://github.com/mstamy2/PyPDF2
PyMuPDF (pitz) https://pymupdf.readthedocs.io/en/latest/
Geraldo Reports http://www.geraldoreports.org/
PollyReports https://pythonhosted.org/PollyReports/tutorial.html
Jeux video
Pygame http://www.pygame.org/
Pygame Zero https://pygame-zero.readthedocs.io/
Cocos2d http://cocos2d.org/
pyglet http://www.pyglet.org/
Pygame Zero https://pygame-zero.readthedocs.io/
Cocos2d http://cocos2d.org/
pyglet http://www.pyglet.org/
Logging
stdlib logging
Twiggy
Eliot
devpy
http://docs.python.org/lib/module-logging.html
http://www.mechanicalcat.net/richard/log/Python/Simple_usage_of_Python_s_logging_module
Logbookhttp://www.mechanicalcat.net/richard/log/Python/Simple_usage_of_Python_s_logging_module
Twiggy
Eliot
devpy
Envoi de mails
Plugins
Requêtes HTTP
urllib / urllib2
requests http://requests.readthedocs.org/
Cache
Gestion d'évènements / signal / slot / event pattern / publish-subscribe / dispatch module / observer pattern / message / messaging / dispatchingrequests http://requests.readthedocs.org/
doc en français http://fr.python-requests.org/en/latest/
httplib http://docs.python.org/2/library/httplib.htmlCache
requests_cache https://requests-cache.readthedocs.org/ (mise en cache SQLite, MongoDB...)
httpcache https://github.com/Lukasa/httpcache
cachecontrol
Asynchronous requestshttpcache https://github.com/Lukasa/httpcache
cachecontrol
http://stackoverflow.com/questions/1092531/event-system-in-python
pydispatcher http://pydispatcher.sourceforge.net/
zope.event https://pypi.python.org/pypi/zope.event
django dispatch / signals
axel https://pypi.python.org/pypi/axel
PyPubSub http://pubsub.sourceforge.net/
Trellis http://peak.telecommunity.com/DevCenter/Trellis
Qt signal / slot
smokesignal https://github.com/shaunduncan/smokesignal
circuits https://github.com/circuits/circuits
blinker https://pythonhosted.org/blinker/
signalslot https://github.com/Numergy/signalslot
...
Ref: http://stackoverflow.com/questions/115844/recommended-python-publish-subscribe-dispatch-module
pydispatcher http://pydispatcher.sourceforge.net/
zope.event https://pypi.python.org/pypi/zope.event
django dispatch / signals
https://github.com/django/django/tree/master/django/dispatch/
https://docs.djangoproject.com/en/dev/topics/signals/
https://github.com/olivierverdier/dispatch
py-notify http://home.gna.org/py-notify/https://docs.djangoproject.com/en/dev/topics/signals/
https://github.com/olivierverdier/dispatch
axel https://pypi.python.org/pypi/axel
PyPubSub http://pubsub.sourceforge.net/
Trellis http://peak.telecommunity.com/DevCenter/Trellis
Qt signal / slot
smokesignal https://github.com/shaunduncan/smokesignal
circuits https://github.com/circuits/circuits
blinker https://pythonhosted.org/blinker/
signalslot https://github.com/Numergy/signalslot
...
Ref: http://stackoverflow.com/questions/115844/recommended-python-publish-subscribe-dispatch-module
Linear programming / Mixed Integer Linear Programming (MILP) solver
PyMathProg http://pymprog.sourceforge.net/
PyGLPK http://tfinley.net/software/pyglpk/
lpsolve http://lpsolve.sourceforge.net/5.5/Python.htm
MP3 - tag ID3PyGLPK http://tfinley.net/software/pyglpk/
lpsolve http://lpsolve.sourceforge.net/5.5/Python.htm
EyeD3 http://eyed3.nicfit.net/
songdetails https://github.com/Ciantic/songdetails
pyid3lib http://pyid3lib.sourceforge.net/
mutagen https://code.google.com/p/mutagen/
songdetails https://github.com/Ciantic/songdetails
pyid3lib http://pyid3lib.sourceforge.net/
mutagen https://code.google.com/p/mutagen/
Parser (voir Compilation)
http://wiki.python.org/moin/LanguageParsing
PLY
Yapps
pyparsing http://pyparsing.wikispaces.com/
pyclibrary http://pyclibrary.readthedocs.io/ C parser and ctypes automation for python
PLY
Yapps
pyparsing http://pyparsing.wikispaces.com/
pyclibrary http://pyclibrary.readthedocs.io/ C parser and ctypes automation for python
Programmation asynchrone / parallélisme / programmation concurrente
SCOOP https://code.google.com/p/scoop/ (Scalable COncurrent Operations in Python)
Twisted http://twistedmatrix.com/
asyncore http://docs.python.org/2/library/asyncore.html
stackless http://www.stackless.com/ (stackless.tasklet)
eventlet http://eventlet.net/
gevent http://gevent.org/
greenlet http://greenlet.readthedocs.org/
asyncio / Tulip
trio
trolius - Port of the Tulip project (asyncio module, PEP 3156) on Python 2
curio
multiprocessing https://docs.python.org/2/library/multiprocessing.html
billiard https://github.com/celery/billiard Multiprocessing Pool Extensions
Programmation asynchrone vs prog parallèle vs prog concurrente / En attendant asyncio
pykka - a Python implementation of the actor model
Twisted http://twistedmatrix.com/
asyncore http://docs.python.org/2/library/asyncore.html
stackless http://www.stackless.com/ (stackless.tasklet)
eventlet http://eventlet.net/
gevent http://gevent.org/
greenlet http://greenlet.readthedocs.org/
asyncio / Tulip
trio
trolius - Port of the Tulip project (asyncio module, PEP 3156) on Python 2
curio
multiprocessing https://docs.python.org/2/library/multiprocessing.html
billiard https://github.com/celery/billiard Multiprocessing Pool Extensions
Programmation asynchrone vs prog parallèle vs prog concurrente / En attendant asyncio
http://sametmax.com/la-difference-entre-la-programmation-asynchrone-parallele-et-concurrente/
http://sametmax.com/en-attendant-asyncio/
Dask http://dask.pydata.org/http://sametmax.com/en-attendant-asyncio/
Dask enables parallel computing through task scheduling and blocked algorithms.
pykka - a Python implementation of the actor model
Solveurs
Programmation par contraintes / CSP solver
python-constraint http://labix.org/python-constraint
Numberjack http://numberjack.ucc.ie/
logilab-constraint http://www.logilab.org/project/logilab-constraint
Numberjack http://numberjack.ucc.ie/
logilab-constraint http://www.logilab.org/project/logilab-constraint
SAT solver / SATISFIABILITY
pycosat https://pypi.python.org/pypi/pycosat
python-constraint https://github.com/python-constraint/python-constraint
SMT (Satisfiability modulo theories)python-constraint https://github.com/python-constraint/python-constraint
Requêtes HTTP
urllib / urllib2
requests http://requests.readthedocs.org/
requests http://requests.readthedocs.org/
Scheduler / crontab like / tâches récurrentes
APScheduler http://pythonhosted.org/APScheduler/
Celery (+ Redis) http://sametmax.com/files-de-taches-et-taches-recurrentes-avec-celery/
RQ (Redis Queue) Easy job queue http://python-rq.org/
Celery (+ Redis) http://sametmax.com/files-de-taches-et-taches-recurrentes-avec-celery/
RQ (Redis Queue) Easy job queue http://python-rq.org/
Structures de données
collections (deque, dict, ordered dict...) https://docs.python.org/2/library/collections.html
Lazy dictionary http://thatmattbone.com/delaying-computation-lazy-dictionaries-in-python.html
Bunch https://github.com/dsc/bunch (dictionnaire à la Javascript... mi dict mi objet)
Lazy dictionary http://thatmattbone.com/delaying-computation-lazy-dictionaries-in-python.html
Bunch https://github.com/dsc/bunch (dictionnaire à la Javascript... mi dict mi objet)
HTML Parser / XML Parser
HTMLParser http://docs.python.org/library/htmlparser.html
BeautifulSoup http://www.crummy.com/software/BeautifulSoup/
lxml http://lxml.de/
xml.etree
BeautifulSoup http://www.crummy.com/software/BeautifulSoup/
$ easy_install beautifulsoup
API DOM / SAX / ElementTreelxml http://lxml.de/
xml.etree
Temps / date / heure
datetime / timedelta http://docs.python.org/2/library/datetime.html
dateutils http://labix.org/python-dateutil
delorean http://delorean.readthedocs.org/
arrow http://arrow.readthedocs.io/
dateutils http://labix.org/python-dateutil
delorean http://delorean.readthedocs.org/
arrow http://arrow.readthedocs.io/
Time series
pandas http://pandas.pydata.org/pandas-docs/stable/timeseries.html
pyflux https://github.com/RJT1990/pyflux GARCH, ARIMA, ...
prophet https://github.com/facebookincubator/prophet
https://github.com/MaxBenChrist/awesome_time_series_in_python
pyflux https://github.com/RJT1990/pyflux GARCH, ARIMA, ...
prophet https://github.com/facebookincubator/prophet
https://github.com/MaxBenChrist/awesome_time_series_in_python
Web server / Web Server Gateway Interface WSGI
gunicorn http://gunicorn.org/ Gunicorn 'Green Unicorn' - a Python WSGI HTTP Server for UNIX.
Werkzeug http://werkzeug.pocoo.org/ WSGI utility library for Python
Werkzeug http://werkzeug.pocoo.org/ WSGI utility library for Python
Web framework
http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
Django
Turbogears http://www.turbogears.org
CherryPy http://www.cherrypy.org/
Flask http://flask.pocoo.org/
Pylons / Pyramid
web.py http://webpy.org
web2py http://www.web2py.com/
Django
http://www.djangoproject.com
http://www.django-fr.org
http://www.djangobook.com
http://www.djangosnippets.org
http://code.google.com/p/deseb/ Migrer d'un schéma vers un autre
Google App Engine http://code.google.com/appenginehttp://www.django-fr.org
http://www.djangobook.com
http://www.djangosnippets.org
http://code.google.com/p/deseb/ Migrer d'un schéma vers un autre
Turbogears http://www.turbogears.org
CherryPy http://www.cherrypy.org/
Flask http://flask.pocoo.org/
livre: Flask Web Development - Miguel Grinberg http://flaskbook.com/
Zope http://www.zope.orgPylons / Pyramid
web.py http://webpy.org
web2py http://www.web2py.com/
http://bottlepy.org/ Bottle: Python Web Framework (avec micro serveur HTTP compatible WSGI Web Server Gateway Interface)
http://pythonpaste.org/ Python Paste
http://pythonpaste.org/ Python Paste
Websocket / WAMP / web application messaging protocol
http://autobahn.ws/
http://wamp.ws/implementations/
voir aussi JavaScript
crossbar http://crossbar.io/
WebSocket emulation - Javascript client https://github.com/sockjs/sockjs-client
Webalchemy https://github.com/skariel/webalchemy
aiohttp https://github.com/KeepSafe/aiohttp
http://wamp.ws/implementations/
voir aussi JavaScript
crossbar http://crossbar.io/
WebSocket emulation - Javascript client https://github.com/sockjs/sockjs-client
Webalchemy https://github.com/skariel/webalchemy
aiohttp https://github.com/KeepSafe/aiohttp
Tabular data / CSV comma separated values
csv https://docs.python.org/3/library/csv.html
messytables http://messytables.readthedocs.org/
goodtables http://goodtables.readthedocs.org/
tabulator-py https://github.com/okfn/tabulator-py
messytables http://messytables.readthedocs.org/
goodtables http://goodtables.readthedocs.org/
tabulator-py https://github.com/okfn/tabulator-py
Templates / Python templating engines http://wiki.python.org/moin/Templating
webware http://www.webwareforpython.org/
tempita http://pythonpaste.org/tempita/
cheetah http://www.cheetahtemplate.org/
jinja http://jinja.pocoo.org/
mako http://www.makotemplates.org/
templite http://www.joonis.de/en/code/templite
tempita http://pythonpaste.org/tempita/
cheetah http://www.cheetahtemplate.org/
jinja http://jinja.pocoo.org/
mako http://www.makotemplates.org/
templite http://www.joonis.de/en/code/templite
ORM (Object-relational mapping)
Pretty print - tables / Dataframe
tabulate https://bitbucket.org/astanin/python-tabulate/
terminaltables https://robpol86.github.io/terminaltables/
PTable https://github.com/kxxoling/PTable (forked from PrettyTable)
PrettyPandas https://github.com/HHammond/PrettyPandas/
terminaltables https://robpol86.github.io/terminaltables/
PTable https://github.com/kxxoling/PTable (forked from PrettyTable)
PrettyPandas https://github.com/HHammond/PrettyPandas/
Profiling
profile, cProfile, and pstats
python -m cProfile -o output.profile <file-to-run> <args>
runsnake http://www.vrplumber.com/programming/runsnakerun/
snakeviz https://jiffyclub.github.io/snakeviz/
python -m cProfile -o output.profile <file-to-run> <args>
runsnake http://www.vrplumber.com/programming/runsnakerun/
snakeviz https://jiffyclub.github.io/snakeviz/
Programmation fonctionnelle
https://docs.python.org/dev/howto/functional.html
functools https://docs.python.org/3/library/functools.html
Livres:
functools https://docs.python.org/3/library/functools.html
Livres:
Functional Python Programming Learning by Steven Lott - PacktPub
Recherche / indexation
REST
Serialisation
Shelve https://docs.python.org/3/library/shelve.html
Pickle http://docs.python.org/2/library/pickle.html
cPickle http://docs.python.org/release/2.5/lib/module-cPickle.html
pickleshare https://github.com/pickleshare/pickleshare (support concurrency)
marshal http://docs.python.org/2/library/marshal.html
JSON
MessagePack / MsgPack http://msgpack.org/ (binary JSON)
YAML http://yaml.org/
XML
y_serial http://yserial.sourceforge.net/ Warehouse compressed Python objects with SQLite
anydbm
pickledb (inspiré de redis (cf NoSQL))
Feather https://arrow.apache.org/docs/python/feather.html
Parquet https://arrow.apache.org/docs/python/parquet.html
voir aussi python data persistence
Pickle http://docs.python.org/2/library/pickle.html
cPickle http://docs.python.org/release/2.5/lib/module-cPickle.html
pickleshare https://github.com/pickleshare/pickleshare (support concurrency)
marshal http://docs.python.org/2/library/marshal.html
JSON
json http://docs.python.org/2/library/json.html
simplejson http://simplejson.readthedocs.org/en/latest/
demjson http://deron.meranda.us/python/demjson/
jsonpicke http://jsonpickle.github.io/ (supporte la sérialisation de datetime, timedelta et objets persos)
anyjson https://pypi.python.org/pypi/anyjson
BSONsimplejson http://simplejson.readthedocs.org/en/latest/
demjson http://deron.meranda.us/python/demjson/
jsonpicke http://jsonpickle.github.io/ (supporte la sérialisation de datetime, timedelta et objets persos)
anyjson https://pypi.python.org/pypi/anyjson
MessagePack / MsgPack http://msgpack.org/ (binary JSON)
YAML http://yaml.org/
XML
y_serial http://yserial.sourceforge.net/ Warehouse compressed Python objects with SQLite
anydbm
pickledb (inspiré de redis (cf NoSQL))
Feather https://arrow.apache.org/docs/python/feather.html
Parquet https://arrow.apache.org/docs/python/parquet.html
voir aussi python data persistence
Serverless
http://c.colabug.com/thread-1926929-1-1.html What is Serverless all about?
https://github.com/Miserlou/Zappa
https://github.com/mcrowson/zappa_dash Zappa + Dash
https://github.com/Miserlou/Zappa
https://github.com/mcrowson/zappa_dash Zappa + Dash
Son
PySoundFile https://github.com/bastibe/PySoundFile
python-sounddevice https://github.com/spatialaudio/python-sounddevice
python-sounddevice https://github.com/spatialaudio/python-sounddevice
System and control toolbox / Block-Model Simulator / alternatives to Matlab / Simulink ; Scilab / Xcos
python-control
harold
Ref:
http://python-control.sourceforge.net/manual/
https://github.com/python-control/python-control
http://python-control.readthedocs.io/
http://www.cds.caltech.edu/~murray/wiki/index.php/Python-control/Example:_Vertical_takeoff_and_landing_aircraft
BMSpyhttps://github.com/python-control/python-control
http://python-control.readthedocs.io/
http://www.cds.caltech.edu/~murray/wiki/index.php/Python-control/Example:_Vertical_takeoff_and_landing_aircraft
harold
Ref:
Test d'interface graphique / automatisation d'interface
pyautogui
cliclick
cliclick
Type
traits http://docs.enthought.com/traits/
traitlets https://github.com/ipython/traitlets
typing https://docs.python.org/3/library/typing.html#module-typing
mypy http://mypy-lang.org/
traitlets https://github.com/ipython/traitlets
typing https://docs.python.org/3/library/typing.html#module-typing
mypy http://mypy-lang.org/
Unités physiques / préfixes
pint
quantiphy
unyt
quantities
astropy.unit
quantiphy
unyt
quantities
astropy.unit
World timezone definitions
XML
http://www.yattag.org/ Génération de HTML/XML avec notion de context manager (with)
XMPP
Graphes / réseaux / arbres (tree)
Gato http://gato.sourceforge.net/
NetworkX http://networkx.github.io/
igraph http://igraph.org/
graph-tool http://projects.skewed.de/graph-tool/
Gephi https://gephi.org/2012/python-scripting-console-for-gephi/
Nodebox http://nodebox.net/ (artistique)
pydot https://github.com/erocarrera/pydot Python interface to Graphviz's Dot language
ete2 http://etetoolkit.org/
DiversNetworkX http://networkx.github.io/
igraph http://igraph.org/
graph-tool http://projects.skewed.de/graph-tool/
Gephi https://gephi.org/2012/python-scripting-console-for-gephi/
Nodebox http://nodebox.net/ (artistique)
pydot https://github.com/erocarrera/pydot Python interface to Graphviz's Dot language
ete2 http://etetoolkit.org/
os (Interaction Python & OS) http://docs.python.org/library/os.html
glob (Recherche de fichiers en utilisant un motif) http://docs.python.org/library/glob.html
path.py https://pypi.python.org/pypi/path.py
glob (Recherche de fichiers en utilisant un motif) http://docs.python.org/library/glob.html
import glob
for infile in glob.glob("*.jpg"):
...
for infile in glob.glob("*.jpg"):
...
path.py https://pypi.python.org/pypi/path.py
Programmation par contraintes
workflow
Binding / Wrapper / autres implémentations
Pyrex http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex pour petite bibliothèque CCython http://www.cython.org/
Swig http://www.swig.org pour grande bibliothèque C
Boost.Python http://www.boost.org/libs/python/doc/ pour bibliothèque C++
Scxx - a Simple Python/C++ API http://davidf.sjsoft.com/mirrors/mcmillan-inc/scxx.html
Jython (Java) http://www.jython.org http://wikipython.flibuste.net/moin.py/InterfaceAvecLangageJava
PyPy http://pypy.org/ fast, compliant alternative implementation of the Python language
Brython http://www.brython.info/ A Python 3 implementation for client-side web programming
Empythoned https://github.com/replit/empythoned CPython compiled to JS using emscripten
Shiboken http://shiboken.readthedocs.org/ (utilisé par PySide)
Skulpt http://www.skulpt.org/
Repl.it Python http://repl.it/languages/Python
IronPython [http://www.ironpython.com Python pour .Net
mypy http://www.mypy-lang.org/ experimental Python variant that aims to combine the benefits of dynamic (or "duck") typing and static typing
Extending Vs. Embedding http://twistedmatrix.com/users/glyph/rant/extendit.html
cffi https://cffi.readthedocs.org/
Compilateur / interpréteur
PLY http://www.dabeaz.com/ply/ Python Lex Yaccvoir Grammaire
Exemples de code
Obtenir le code source
Accès web
https://openphysic.googlecode.com/svn/trunk/pythonAccès anonyme
svn checkout https://openphysic.googlecode.com/svn/trunk/pythonAccès développeur
svn checkout --username mon_email@gmail.com https://openphysic.googlecode.com/svn/trunk/pythonCookbook Python http://aspn.activestate.com/ASPN/Python/Cookbook/
AstucesPython
Exemples de logiciels en Python
HachoirBittorrent
Laurent Pointal - Python Works
SebSauvage.net
Automate cellulaire en Python (vectorisation de code avec NumPy, affichage avec PyGame, profilage avec cProfile)
Python 2 vers Python 3
http://docs.python.org/library/2to3.htmlsix http://pythonhosted.org/six/ Python 2 and 3 Compatibility Library
modernize http://python-modernize.readthedocs.org/
future http://python-future.org/compatible_idioms.html
Déploiement
Py2exe http://www.py2exe.org/PyInstaller http://pyinstaller.python-hosting.com/
Python Portable (Portable Apps pour clé USB) http://www.portablepython.com
Movable Python
http://www.voidspace.org.uk/python/movpy/
http://code.google.com/p/movable-python/
nuitka http://nuitka.net/
Cloud
PythonAnywhere https://www.pythonanywhere.com/Multyvac http://www.multyvac.com/ ex PiCloud http://www.picloud.com/
Wakari https://www.wakari.io/
Micro-contrôleur
Micro-Python et PyboardAndroid
SL4A - Scripting Layer For Android https://github.com/damonkohler/sl4aLangagesDeProgrammationPourLesEnfants
http://inventwithpython.com/Python pour uC
MicroPythonCircuitPython
https://github.com/adafruit/circuitpython
https://learn.adafruit.com/welcome-to-circuitpython/what-is-circuitpython
https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor
Mu Editorhttps://learn.adafruit.com/welcome-to-circuitpython/what-is-circuitpython
https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor
Tendances
awesome-python https://github.com/vinta/awesome-python#environment-managementdata-science-ipython-notebooks https://github.com/donnemartin/data-science-ipython-notebooks
http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx3/data2a.html
https://github.com/trending?l=python
https://github.com/trending?l=python&since=monthly
voir aussi :
- Julia
- R
- Ruby
- LangagesDeProgrammationPourLesEnfants
There are no comments on this page. [Add comment]