skip to navigation
skip to content

ensae_teaching_cs 0.8.1824

Module which contains materials for teaching puroposes, also includes pythonnet.

.. _l-README:


.. image::
:alt: Build status

.. image::
:alt: Build Status Windows

.. image::

.. image::
:alt: MIT License

.. image::

.. image::
:alt: GitHub Issues

.. image::
:alt: Waffle

.. image::
:alt: Codacy Badge

This page gives access to the content of practical sessions I give at the
`ENSAE <http:""/>`_. They are based on Python. The project
is hosted on GitHub can be modified by sending me pull requests:

* `GitHub/ensae_teaching_cs <https:"" sdpython="" ensae_teaching_cs=""/>`_
* `documentation <http:"" app="" ensae_teaching_cs="" helpsphinx3="" index.html="">`_
* `Blog <http:"" app="" ensae_teaching_cs="" helpsphinx="" blog="" main_0000.html#ap-main-0="">`_

That will be probably one of the few pages in English.


Started in 2014/04.

* Contributor: `Xavier Dupré <http:""/>`_, ENSAE's students


* `7zip <http:""/>`_
* `Anaconda <https:"" downloads="">`_
2 and 3 (to be installed on the same hard drive than the Jenkins build folder)
* `Chrome <https:"" chrome="" browser="" desktop=""/>`_
* `CMake <https:""/>`_ (to build XGBoost)
* `Graphviz <http:""/>`_
* `Git <https:""/>`_
* `GitHub <https:""/>`_
* `Java 64 bit <https:"" fr="" download="" manual.jsp="">`_ (for Spark)
* `Jenkins <https:""/>`_ (CI)
* `Miktex Basic Installer 64 bit <https:"" download="">`_ (formula in the documentation)
(check the option to silently install new packages)
* `Pandoc <http:""/>`_ (documentation)
* `Python <https:""/>`_ 3.5, 3.6, 2.7 64 bit
(do not add the interpreter on the default PATH)
* `R 3.2.2 <https:"" bin="" windows="" base="" old="" 3.2.2=""/>`_
* `Scite <http:"" scite.html="">`_
* `TDM-GCC 64bit <http:""/>`_ (theano)
* `Visual Studio 2015 Community Edition <https:"" fr="" vs="" community=""/>`_
(check C++, C#, Python, CLang) (Cython)

For each Python, you need to install
`pymyinstall <https:"" pypi="" pymyinstall=""/>`_
and type ``pymy_install`` and then remove the modules
being tested (such as this one).

Jenkins requires a few extensions:

* Last Console Output
* Next Jobs
* `Text File <https:"" display="" jenkins="" text+file+operations+plugin="">`_

For Jupyter :


pip install widgetsnbextension
jupyter nbextension enable --py --sys-prefix widgetsnbextension

A local PyPi server needs to be installed:


c:\Python35_x64\Scripts\pypi-server.exe -u -p 8067 --disable-fallback ..\..\local_pypi\local_pypi_server

If some Python scripts use *keyring* to retrieve passwords,
the Jenkins service needs to authentify. On Windows, it goes through ``services.msc``.
To test Python versions Python 2.7, il faut créer un environnement virtuel et installer
pyquickhelper :


cd D:\jenkins\venv\py35
c:\Python35_x64\scripts\virtualenv.exe pyq --system-site-packages
cd pyq\Scripts
pip install pyquickhelper

For some projects (such as the compilation of *pywin32*),
`Windows SDK <https:"" en-us="" windows="" downloads="" windows-10-sdk="">`_
needs to be installed.

For Python 2.7, the module
`backports.shutil_get_terminal_size <https:"" pypi="" backports.shutil_get_terminal_size=""/>`_
needs to be removed. It does not work from a virtual environment unless it is installed
from there.
File Type Py Version Uploaded on Size
ensae_teaching_cs-0.8.1824-py3-none-any.whl (md5) Python Wheel 3.5 2017-04-06 6MB
ensae_teaching_cs-0.8.1824.tar.gz (md5) Source 2017-04-06 6MB