Monday, September 7, 2015

How to install multiple python modules at once with one single installation

Hi there,

Today's post will throw light on how to install multiple python modules at a go. That is you only download one file, run it and have python interpreter installed together with other useful modules including: NumPy, SciPy, Matplotlib, guiqwt, PyQt, Spyder, IPython, etc.

All of these done with one single installation.

Before, I go on let me quickly go over the traditional way of installing python with other modules.

Here is how you usually do it:
1) Download python from the official website
2) Install it on your PC, then anytime you want to install a module you will use
3) easy install or pip to achieve the module installation.
OK. That is pretty good, but how about if you have many modules to install? Won't it be fantastic if you just have a file you run once and install all the necessary modules installed at once? That is the aim of this blog post.

Ok, you can also use the "requirements.txt" file to install multiple modules at a go, however you need some tech skills... as below;

pip install -r requirements.txt

and in the requirements.txt file you put your modules in a list, with one item per line.

    Django=1.3.1
    South>=0.7
    django-debug-toolbar


Here are the boom ways for non-tech dudes. Designed for scientists, thanks to the integrated libraries NumPy, SciPy, Matplotlib, guiqwt, PyQt, Spyder, IPython, with another 340 packages available with a simple install.



I discovered four (4) decent ways to achieve this by using:-

1) Anaconda software
Anaconda includes Python (3.4.3, 3.3.5, 2.7.10, and/or 2.6.9), easy installation and updates of 150 pre-built and tested scientific and analytic Python packages including NumPy, Pandas, SciPy, Matplotlib, and IPython, with another 340 packages available with a simple “conda install packagename.” Anaconda includes development environments Jupyter and Spyder; integrated analysis environments Ipython, Spyder and Jupyter; graphical debugger Spyder; and editors Sublime Text 2 and PyCharm. Packages are regularly added. Anaconda is available for Linux, OS X and Windows, and is always proudly free and Open Source.

For a full list of all packages currently available in Anaconda, see the table below.

2) WinPython
WinPython is a free open-source portable distribution of the Python programming language for Windows XP/7/8, designed for scientists, supporting both 32bit and 64bit versions of Python 2 and Python 3.

3) Python(x, y)
 Python(x,y) is a free scientific and engineering development software for numerical computations, data analysis and data visualization based on Python programming language, Qt graphical user interfaces and Spyder interactive scientific development environment.

With Python(x,y), one can do:
  •     interactive calculations including for example 2D and 3D plotting or symbolic maths,
  •     simple functionnal programming (with MATLAB-like syntax) as well as powerful object-oriented programming,
  •     scientific projects development from the simplest script to the most sophisticated application thanks to Qt development framework and Spyder development environment,
  •     parallel computing on multicore/processors computers or even clusters (with Parallel Python),
And A lot more...



4) Enthought Canopy: Easy Python Deployment Plus Integrated Analysis Environment for Scientific Computing, Data Analysis and Engineering.




Package List


Name
Version
Summary / License
In Installer
abstract-rendering Linux Mac
0.5.1
Rendering as a binning process / 3-clause BSD

1.1.0
Matrices describing affine transformation of the plane. / BSD

0.7.3
A configurable sidebar-enabled Sphinx theme / BSD

1.1.0
Convert text with ANSI color codes to HTML. / GPLv3+

appscript Mac
1.0.1
Control AppleScriptable applications from Python / Public-Domain

0.8.9
Bash tab completion for argparse. Tab complete all the things! / Apache

1.3.4
abstract syntax tree for Python with inference support. / LGPL

1.0.3
Community-developed python astronomy tools / BSD

0.11.0
easy to access the Microsoft Azure components / Apache License 2.0

1.3
Internationalization utilities / BSD

basemap Linux Mac
1.0.7
Plot data on map projections with matplotlib / PSF

0.9.0
columnar and compressed data containers. / BSD

4.3.2
Screen-scraping library / PSF, MIT

0.11.0
Binstar command line client library / BSD

0.10.5
Binstar build client. / proprietary - Continuum Analytics, Inc.

1.65
Freely available tools for computational molecular biology / BSD-like

0.8.1
efficient arrays of booleans -- C extension / PSF

0.8.0
NumPy and Pandas interface to Big Data / BSD

0.8.0
Blaze is the next generation of NumPy / BSD

1.3.6
a replacement type with better performance for modifying large lists / BSD

0.1.10
Blockspring api wrapper for Python / MIT

0.6.2
a compressed data container / BSD

0.9.0
Statistical and novel interactive HTML plots for Python / 3-clause BSD

1.57.0
Boost provides free peer-reviewed portable C++ source libraries. / Boost license

2.38.0
Amazon Web Services Library / MIT

1.0.0
Fast NumPy array functions written in Cython. / Simplified BSD

1.1.4
binary diff and patch using the BSDIFF4-format / BSD

4.1.4
scalable persistent object containers / ZPL 2.1

14.05.14
Python package for providing Mozilla's CA Bundle. / ISC

1.1.0
Foreign Function Interface for Python calling C code / MIT

2.22
Fast HTML/XML Template Compiler. / BSD-like

0.2.2
a dictionary that spills to disk / BSD

chrpath Linux
0.13
Tool to edit the rpath in ELF binaries / GPL2

4.0
A simple wrapper around optparse for powerful command line utilities. / BSD

0.1.0
Click params for GeoJSON CLI. / MIT

0.1.0
Extended pickling support for Python objects / as-is

0.3.4
Command line client Library for windows and posix / BSD

cmake Linux Mac
3.2.3
CMake is an extensible, open-source system that manages the build process / 3-clause BSD

0.3.3
Cross-platform colored terminal text. / BSD

3.14.1
cross-platform, Python-agnostic binary package manager / BSD

1.1.0
A light weight conda interface library / BSD

1.14.1
Commands and tools for building conda packages / BSD

2.2.3
Provides a unified interface to dealing with Conda environments. / BSD

5.0.6
Config file reading, writing and validation / BSD

3.7.1
Code coverage measurement for Python / BSD

0.9.1
provides cryptographic recipes and primitives to Python developers / Apache

cssselect Linux Mac
0.9.1
cssselect parses CSS3 Selectors and translates them to XPath 1.0 / BSD

0.9.1
utilities for working with CSV, the king of tabular file formats / MIT

1.0.1
a light-weight Python OLAP framework for data warehouses / MIT

7.43.0
tool and library for transferring data with URL syntax / MIT/X derivate

cvxopt Linux Mac
1.1.7
CVXOPT is a free software package for convex optimization / GPL

cymem Linux Mac
1.11
Manage calls to calloc/free through Cython / MIT

0.22.1
The Cython compiler for writing C extensions for the Python language / Apache

0.7.3
Cython implementation of Toolz, high performance functional utilities / BSD

0.6.0
Task scheduling and blocked algorithms for parallel processing / BSD

0.4.5
A data description language / BSD

0.7
Super-fast, efficiently stored Trie for Python / LGPLv2

0.96.003
reading/writing dBase, FoxPro, and Visual FoxPro .dbf files / BSD

3.4.2
Better living through Python with decorators / BSD

0.2.3
Serialize all of python (almost) / 3-clause BSD

1.8.2
Web framework that encourages rapid development / BSD

0.6.2
Pythonic argument parser, that will make you smile / MIT

0.12
Utilities for general- and special-purpose documentation / Public-Domain, PSF, 2-clause BSD, GPLv3

0.6.5
Python exposure of the DyND dynamic multi-dimensional array library / BSD

0.13
ECDSA cryptographic signature library (pure python) / MIT

3.7.5.3
Compute positions of the planets and stars / LGPL

1.3.0
rapid multi-Python deployment / MIT

1.0.2
C implementation of Python 3 functools.lru_cache / MIT

5.2.0
Universal feed parser / MIT

1.5.1
Read and write spatial data files / BSD

2.3.0
the modular source code checker: pep8, pyflakes and co / MIT

0.10.1
A microframework based on Werkzeug, Jinja2 and good intentions / BSD

0.2.11
User session management for Flask / MIT

0.11
Simple integration of Flask and WTForms / BSD

fontconfig Linux
2.11.1
Fontconfig is a library for configuring and customizing font access / BSD

freeglut Linux
2.8.1
a completely OpenSourced alternative to the OpenGL Utility Toolkit library. / MIT

freetype Linux Mac
2.5.2
A Free, High-Quality, and Portable Font Engine / FreeType License

0.14.3
Clean single-source support for Python 3 and 2 / MIT

3.0.2
Backport of the concurrent.futures package from Python 3.2 / BSD

1.11.2
Geospatial Data Abstraction Library / MIT

0.10.3
Python framework for fast Vector Space Modelling / LGPL

geos Linux Mac
3.3.3
GEOS is a C++ port of the Java Topology Suite (JTS). / LGPL

0.4.7
Lightweight in-process concurrent programming / MIT

gunicorn Linux Mac
19.1.0
WSGI HTTP Server for UNIX / MIT

2.5.0
Read and write HDF5 files from Python. / 3-clause BSD

1.8.15.1
HDF5 is a data model, library, and file format for storing and managing data / BSD-like

1.0.0
a heap with decrease-key and increase-key operations / BSD

1.3.0
composable, declarative data structures for building complex visualizations / BSD

0.999
HTML parser based on the WHATWG HTML specifcation / MIT

icu Linux Mac
54.1
/ MIT

2.0
Internationalized Domain Names in Applications / BSD

1.7.1
python interface for databases, NoSQL stores, Amazon S3, and large data files / proprietary - Continuum Analytics, Inc.

3.2.0
Productive Interactive Computing / BSD

0.24
Various helpers to pass trusted data to untrusted environments and back. / BSD

1.0
Julian dates from proleptic Gregorian and Julian calendars. / BSD

0.8.1
/ MIT

2.7.3
An easy to use stand-alone template engine written in pure python. / BSD

0.8.4
using Python functions as pipeline jobs / BSD

jpeg Linux Mac
8d
read/write jpeg COM, EXIF, IPTC medata / Custom free software license

2.4.0
An implementation of JSON Schema validation for Python / MIT

0.9.0
launch jobs, organize the output, and dissect the results / BSD

launcher Mac Windows
1.0.0
Anaconda's application launcher / proprietary - Continuum Analytics, Inc.

0.9.8.4
A strictly RFC 4511 conforming LDAP V3 pure Python client. / LGPLv3

3.11.0
conda library, ie. conda with no scripts / BSD

libdynd Linux Mac
0.6.5
Python exposure of DyND / BSD

libffi Linux
3.0.13
A portable foreign-function interface library / MIT

1.11.2
Geospatial Data Abstraction Library / MIT

4.3.3.1
libraries and data formats that support array-oriented scientific data / MIT

libpng Linux Mac
1.6.17
libpng is the official PNG reference library / libpng license

libsodium Linux Mac
0.4.5
a modern software library for encryption, signatures, password hashing, etc. / MIT

libtiff Linux Mac
4.0.2
PyLibTiff: a Python tiff library / BSD-like

libxml2 Linux Mac
2.9.2
The XML C parser and toolkit of Gnome / MIT

libxslt Linux Mac
1.1.28
Libxslt is the XSLT C library developed for the GNOME project / MIT

1.0
Line-by-line profiler / BSD

0.5.0
lightweight wrapper around basic LLVM functionality / BSD

0.2.0
File based locks / BSD

lockfile Linux Mac
0.10.2
Platform-independent file locking module / MIT

0.63.2
collection of low-level Python packages and modules used by Logilab projects / LGPL

3.4.4
XML processing library combining libxml2/libxslt with the ElementTree API / BSD

2.6.2
Python implementation of Markdown / BSD

2.3.0
Python implementation of Markdown / BSD

0.23
Implements a XML/HTML/XHTML Markup safe string for Python / BSD

2.2
A JavaScript display engine for mathematics that works in all browsers / Apache

1.4.3
Python plotting package / PSF-based

0.3
McCabe checker, plugin for flake8 / MIT

3.3
a Python data processing framework. / BSD

1.0.2
an HTML/XML templating engine / BSD-derived

menuinst Windows
1.0.4
cross platform install of menu items / BSD

mingw Windows
4.7
minimalist development environment for native Microsoft Windows applications / Public-Domain

0.5.1
The fastest markdown parser in pure Python with renderer feature / BSD

1.0.1
A Python Mocking and Patching Library for Testing / BSD

0.19
Python library for arbitrary-precision floating-point arithmetic / BSD

0.4.6
MessagePack is an efficient binary serialization format / Apache

1.0.0
A simple python multidispatch. / MIT

0.4.7
Multiple dispatch / BSD

murmurhash Linux Mac
0.24
Cython .pxd files for some of the MurmurHash 2 and 3 hash functions / Public-Domain

2.0.3
MySQL driver written in Python / GPL2

nano Linux Mac
2.4.1
An enhanced clone of the Pico text editor / GPL2

3.5.0
Sort lists naturally / MIT

ncurses Linux Mac
5.9
free software emulation of curses in System V Release 4.0, and more / ncurses license

1.1.8
python/numpy interface to netCDF library / MIT

1.9.1
Python package for creating and manipulating graphs and networks / BSD

3.0.3
Natural Language Toolkit / Apache

node-webkit Mac Windows
0.10.1
calls Node.js modules from DOM and enables a new way of writing applications / MIT

1.3.7
nose extends unittest to make testing easier / LGPL

0.19.1
compiling Python code using LLVM / BSD

2.4.3
Fast numerical expression evaluator for NumPy / MIT

1.9.2
array processing for numbers, strings, records, and objects. / BSD

0.5
Sphinx extension to support docstrings in Numpy format / BSD

0.3.2
Data Migration for Blaze Project / BSD

1.8.5
A Python library to read/write Excel 2007 xlsx/xlsm files / MIT

openssl Linux Mac
1.0.1k
OpenSSL is an open-source implementation of the SSL and TLS protocols / Apache-style

0.16.2
Powerful data structures for data analysis, time series,and statistics / BSD

1.3.2
declarative Python programming using Parameters / BSD

1.15.2
SSH2 protocol library / LGPL

0.3.2
Appendable key-value byte store / BSD

1.6.2
comprehensive password hashing framework supporting over 30 schemes / BSD

1.5.2
Load, configure, and compose WSGI applications and servers / MIT

patchelf Linux
0.6
a small utility to modify the dynamic linker and RPATH of ELF executables / GPL3

0.3.0
a library for describing statistical models and building design matrices. / BSD

1.6.2
Python style guide checker / MIT

4.1.1
translucent persistent objects / ZPL 2.1

pexpect Linux Mac
3.3
Pexpect allows easy control of interactive console applications / ISC

2.8.2
Python Imaging Library (Fork) / PIL license

7.0.3
PyPA recommended tool for installing Python packages / MIT

0.9.1
The smartest command line arguments parser in the world / BSD

3.6
Python Lex & Yacc / BSD

preshed Linux Mac
0.37
Cython hash table that trusts the keys are pre-hashed / MIT

2.2.1
A cross-platform process and system utilities module for Python / BSD

psycopg2 Linux Mac
2.6
Python-PostgreSQL Database Adapter / LGPL, BSD-like, ZPL

ptyprocess Linux Mac
0.4
Run a subprocess in a pseudo terminal / ISC

1.4.27
library with cross-python path, ini-parsing, io, code, log facilities / MIT

0.1.7
Offline IP address to Autonomous System Number lookup module / BSD

0.6.1
bindings to picosat (a SAT solver) / MIT

2.14
C parser in Python / BSD

2.6.1
Cryptographic modules for Python. / Public-Domain

pycurl Linux Mac
7.19.5.1
PycURL -- cURL library module for Python / LGPL, MIT

0.9.2
passive checker of Python programs / MIT

2.0.2
Pygments is a syntax highlighting package written in Python / BSD

1.4.2
python code static checker / GPL

2.3.4
Markov Chain Monte Carlo sampling toolkit / Academic Free License

2.8
Python driver for MongoDB / Apache

0.6.6
Pure-Python MySQL Driver / MIT

3.0.10
DB API Module for ODBC / MIT

3.1.1a1
Standard OpenGL bindings for Python / BSD

3.1.1a1
Standard OpenGL bindings for Python / BSD

0.15.1
Python wrapper module around the OpenSSL library / Apache

2.0.3
Python parsing module / MIT

4.11.3
PyQt is a Python binding of the cross-platform GUI toolkit Qt / Commercial, GPLv2, GPLv3

1.5.2
The Pyramid Web Framework, a Pylons project / BSD

pyreadline Windows
2.0
A python implmementation of GNU readline. / BSD

2.7
Python Serial Port Extension / PSF

pysnmp Linux Mac
4.2.5
A pure-Python SNMPv1/v2c/v3 library / BSD

pystan Linux Mac
2.6.3.0
PyStan provides an interface to Stan / GPL3

3.2.0
brings together Python, HDF5 and NumPy to easily handle large amounts of data / BSD

2.7.1
simple powerful testing with Python / MIT

1.0
pytest plugin with mechanisms for caching across test runs / MIT

1.0.6
pytest plugin to check PEP8 requirements / MIT

3.4.3
general purpose programming language / PSF

2.4.2
Extensions to the standard Python datetime module / BSD

2015.4
World timezone definitions, modern and historical / MIT

2.2
pure python download utility / Public-Domain

pywin32 Windows
219
Python extensions for Windows / PSF

3.11
YAML parser and emitter for Python / MIT

14.7.0
zeromq bindings for Python / LGPL and BSD

qt Linux Mac
4.8.6
Qt is a cross-platform application and UI framework / LGPL

2.8.7
Package for Quandl API access / MIT

1.2.2
Collection of persistent (disk-based) queues / BSD

0.24.0
Read and write geospatial raster datasets. / BSD

readline Linux Mac
6.2
provides line-editing and for programs with a command-line interface / GPL3

redis Linux Mac
2.6.9
Redis is an open source, BSD licensed, advanced key-value cache and store / 3-clause BSD

redis-py Linux Mac
2.10.3
Redis Python Client / MIT

3.2.0
The ReportLab Toolkit / BSD

0.6
A tiny LRU cache implementation and decorator / BSD

2.7.0
Python HTTP for Humans / Apache

0.9.4
a python refactoring library / GPL

0.1.3
Run IPython notebooks from the command line / BSD

2.0.4
sas7bdat file reader for Python / MIT

scikit-bio Linux Mac
0.2.3
Data structures, algorithms and educational resources for bioinformatics. / BSD

0.11.3
Image processing routines for SciPy / 3-clause BSD

0.16.1
A set of python modules for machine learning and data mining / 3-clause BSD

0.15.1
Scientific Library for Python / BSD

0.6.0
statistical data visualization / BSD

2.4.1
A library implementing the 'SemVer' scheme. / BSD

17.1.1
Easily download, build, install, upgrade, and uninstall Python packages / PSF or ZPL

sh Linux Mac
1.11
full-fledged subprocess replacement for Python / MIT

shapely Linux Mac
1.5.8
Geometric objects, predicates, and operations / BSD

sip Linux Mac
4.16.5
/ GPL3

1.9.0
Python 2 and 3 compatibility utilities / MIT

1.2.0
provides 16 stemmer algorithms generated from Snowball algorithms / BSD

1.3.1
Click params for GeoJSON CLI. / MIT

1.0.1
SockJS python server implementation on top of Tornado framework / MIT

spacy Linux Mac
0.85
Industrial-strength NLP / Commercial, Trial, AGPLv3

1.3.1
Python documentation generator / BSD

0.1.7
ReadTheDocs.org theme for Sphinx / BSD

2.3.5.2
Scientific PYthon Development EnviRonment / MIT

1.0.5
Database Abstraction Library / MIT

sqlite Linux Mac
3.8.4.1
implements a self-contained, zero-configuration, SQL database engine / Public-Domain

0.1.15
A non-validating SQL parser module for Python / BSD

0.6.1
Statistical computations and models for use with SciPy / 3-clause BSD

1.22.2
Stripe python bindings. / MIT

0.7.6
SymPy is a Python library for symbolic mathematics / 3-clause BSD

terminado Linux Mac
0.5
Terminals served to term.js using Tornado websockets / BSD

theano Linux
0.7.0
Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs / BSD

thinc Linux Mac
1.76
Learn sparse linear models / Commercial, GPLv2

tk Linux Mac
8.5.18
powerful but easy to learn dynamic programming language / BSD-like

0.7.2
List processing tools and functional utilities / BSD

4.2
Tornado is a Python web framework and asynchronous networking library / Apache

1.3
Utility library for i18n relied on by various Repoze and Pyramid packages / BSD

15.2.1
Twisted is an event-driven networking engine for Python / MIT

1.33
Ultra fast JSON encoder and decoder for Python / BSD

0.4.17
ASCII transliterations of Unicode text / GPL2

unixodbc Linux
2.3.1
unixODBC is an open source project that implements the ODBC API / LGPLv2

unxutils Windows
14.04.03
ports of common GNU utilities to native Win32 / GPL3

util-linux Linux
2.21
Util-linux is a suite of essential utilities for any Linux system / GPL2

1.0
A library for deferring decorator actions / BSD

13.0.1
Virtual Python Environment builder / MIT

0.4.0.106.gf8a69d0
High performance interactive 2D/3D data visualization. / 3-clause BSD

1.8.1
Library of web-related functions / BSD

1.4.1
WSGI request and response object / MIT

0.10.4
The Swiss Army knife of Python web development / BSD

2.7.0
Fast, pure-Python full text indexing, search, and spell checking library / BSD

2.0.2
A flexible forms validation and rendering library for Python / BSD

0.9.3
Library for developers to extract data from Microsoft Excel spreadsheet files / BSD

0.7.3
A Python module for creating Excel XLSX files / BSD

xlwings Mac Windows
0.3.5
Make Excel fly. Interact with Excel from Python and vice versa / 3-clause BSD

1.0.0
writing data and formatting information to Excel files / BSD

0.5.1
N-D labeled arrays and datasets in Python / Apache

xz Linux Mac
5.0.5
a free general-purpose data compression software with high compression ratio / Public-Domain, GPL

yaml Linux Mac
0.1.6
a human friendly data serialization standard for all programming languages / MIT

zeromq Linux Mac
4.0.5
a messaging system, or "message-oriented middleware" / LGPL

1.2.8
A Massively Spiffy Yet Delicately Unobtrusive Compression Library / zlib

4.1.2
Zope Deprecation Infrastructure / ZPL 2.1

4.1.2
Interfaces for Python / ZPL 2.1



 Enjoy!

1 comment:

  1. Good collection of free Python distribution

    ReplyDelete