Revision [19196]

This is an old revision of Python made by SebCls on 2019-03-31 10:22:03.
 
Devel



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 GPL
http://www.pyside.org/ PySide - licence LGPL

Autres

http://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
http://docs.enthought.com/enaml/ Enaml

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.html
http://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 https://yapf.now.sh/

Syntax upgrader

pyupgrade https://github.com/asottile/pyupgrade

Divers

http://www.afpy.org AFPY - Association Francophone PYthon

Conférences

http://fr.pycon.org
http://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 Swinnen
http://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/python
DataCamp https://www.datacamp.com/
Codingame https://www.codingame.com/
Code combat https://codecombat.com/

Livres

FR

Apprendre Python 3 - Gérard Swinnen
Apprenez à programmer en Python

EN

Dive into Python
Beginning 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/

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 :
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-cookbook
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)
Numpy / Pandas viewer / tabular data viewer

"Beyond" Pandas

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
Numba
Cython http://www.cython.org/
Pyston
Pythran https://github.com/serge-sans-paille/pythran
Parakeet http://parakeetpython.com/

Blaze
odo
modin
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/
$ 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/
Pythonxy http://code.google.com/p/pythonxy/
Pyzo http://www.pyzo.org/

http://python-for-researchers.readthedocs.org/en/latest/distros.html
IPython notebook http://ipython.org/
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
debut_nom_obj<TAB>
Explorer objet
nom_objet?

IPython notebook (Jupyter)
http://jupyter.org/
https://jupyterhub.readthedocs.io/
$ ipython notebook --pylab inline (local)
$ ipython notebook --no-browser --port=YYYY --ip='*' --pylab inline --profile nbserver (remote)
nbgrader

JupyterLab https://github.com/jupyterlab/jupyterlab


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

Examples:

Autres notebooks
nteract https://nteract.io/ (basé sur Atom, fonctionne avec Python, Julia...


Plot


import seaborn as sns
sns.set(style='ticks', palette='Set2')


mpld3 (matplotlib + d3js)

nvd3

glueviz - Python library to explore relationships within and among related datasets


Livres:
Python High Performance Programming - Gabriele Lanaro (Packt Publishing)

Articles

Utilisation scientifique de Python
Python scientifique - ENS Paris - Supports de cours de la formation à Python scientifique de l’ENS Paris pour les professeurs de classes préparatoires scientifiques.
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()


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()


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.net
http://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/PythonEggs
Distutils http://docs.python.org/distutils/
setuptools http://peak.telecommunity.com/DevCenter/setuptools
$ sudo easy_install ...
distribute http://pypi.python.org/pypi/distribute PyPI
Pip http://www.pip-installer.org/
$ sudo pip install ...

Pip / conda package privé

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
$ sudo pip install starterpyth
CookieCutter http://cookiecutter.readthedocs.org/en/latest/
$ sudo pip install cookiecutter

buildout

Bibliothèques diverses / libs

PyPi Python Package Index http://pypi.python.org/pypi

http://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

Argument parser (Command Line Interface)

Benchmarking

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.

Console User Interface

Console Terminal
telnet
SSH
Automatisation
pexpect - A Python module for controlling interactive programs in a pseudo-terminal

Data stream

Dynamic report

Interactive HTML for data science

Natural Language Processing (NLP)

ContentManagementSystem

Couleurs

Crypto / secret

Decorator

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
API documentation using Markdown syntax
https://github.com/lord/slate

Energie
pvlib - A set of documented functions for simulating the performance of photovoltaic energy systems

Excel
python-excel http://www.python-excel.org
xlsxwriter
Intégration scripts Python dans Excel

LibreOffice
PyOO - Pythonic interface to Apache OpenOffice API (UNO)

Fichiers / chemins

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
Mastering Python Regular Expressions - Lopez, Felix, Romero, Victor
Mastering Regular Expressions – August 15, 2006 - Jeffrey E. F. Friedl

Test automation / Behavior-driven development

Tests unitaires
def ajouter(a, b):
    """ Additionne deux elements.

        Exemple :

            >>> ajouter(1, 2)
            3
    "
""
    return(a+b)
 
if __name__ == "__main__":
    import doctest
    doctest.testmod()


Code coverage / couverture de code

Iterateurs
Intégration continue
Tests packaging

Eléments finis - Finite elements

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
LINQ
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
Networks
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/
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/deepy
Caffe http://caffe.berkeleyvision.org/
pytorch http://pytorch.org/

Messaging AMQP (Advanced Message Queuing Protocol) - voir ProgrammationReseau

MQTT

Meteorological / oceanographic /
https://github.com/SciTools/iris analysing and visualising meteorological and oceanographic data sets
http://scitools.org.uk/cartopy/ cartographic tools for python

Jobs / Tasks / Queues / gestion de tâches / cloud / cluster

MapReduce (calcul parallèle)

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/


Optimisation
CVXOPT (Convex optimization) http://cvxopt.org/
Scipy optimize
scipy.optimize.brute
PuLP https://pythonhosted.org/PuLP/
Gurobi http://www.gurobi.com/
pypet - python parameter exploration toolkit / explore parameter space / save data to HDF5

Projection géographique

Programmation logique (à la Prolog)
PyKE (Python Knowledge Engine) http://pyke.sourceforge.net/

Génération de fichiers PDF / Reporting

Jeux video

Logging

Envoi de mails

Plugins

Requêtes HTTP
Gestion d'évènements / signal / slot / event pattern / publish-subscribe / dispatch module / observer pattern / message / messaging / dispatching

Linear programming / Mixed Integer Linear Programming (MILP) solver
MP3 - tag ID3

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

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
Dask http://dask.pydata.org/
Dask enables parallel computing through task scheduling and blocked algorithms.

pykka - a Python implementation of the actor model

Solveurs

SAT solver / SATISFIABILITY
SMT (Satisfiability modulo theories)

Requêtes HTTP
urllib / urllib2
requests http://requests.readthedocs.org/

Scheduler / crontab like / tâches récurrentes

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)

HTML Parser / XML Parser

Temps / date / heure

Time series

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

Web framework

http://bottlepy.org/ Bottle: Python Web Framework (avec micro serveur HTTP compatible WSGI Web Server Gateway Interface)
http://pythonpaste.org/ Python Paste

Websocket / WAMP / web application messaging protocol

Tabular data / CSV comma separated values

Templates / Python templating engines http://wiki.python.org/moin/Templating

ORM (Object-relational mapping)
SQLAlchemy http://www.sqlalchemy.org (SqlSoup)
peewee http://peewee.readthedocs.org/ (light ORM)

Pretty print - tables / Dataframe

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/

Programmation fonctionnelle

Recherche / indexation

REST

Serialisation

Serverless

Son

System and control toolbox / Block-Model Simulator / alternatives to Matlab / Simulink ; Scilab / Xcos

Type

Unités physiques / préfixes

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)
Divers
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
import glob

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 C
Cython 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 Yacc
voir Grammaire

Exemples de code

Obtenir le code source

Accès web
https://openphysic.googlecode.com/svn/trunk/python

Accès anonyme
svn checkout https://openphysic.googlecode.com/svn/trunk/python

Accès développeur
svn checkout --username mon_email@gmail.com https://openphysic.googlecode.com/svn/trunk/python

Cookbook Python http://aspn.activestate.com/ASPN/Python/Cookbook/
AstucesPython

Exemples de logiciels en Python

Hachoir
Bittorrent
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.html
six 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 Pyboard

Android

SL4A - Scripting Layer For Android https://github.com/damonkohler/sl4a

LangagesDeProgrammationPourLesEnfants

http://inventwithpython.com/


Python pour uC

MicroPython
CircuitPython
Mu Editor

Tendances

awesome-python https://github.com/vinta/awesome-python#environment-management
data-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]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki