Module which contains materials for teaching puroposes, also includes pythonnet.
Project description
.. _l-README:
README
======
.. image:: https://travis-ci.org/sdpython/ensae_teaching_cs.svg?branch=master
:target: https://travis-ci.org/sdpython/ensae_teaching_cs
:alt: Build status
.. image:: https://ci.appveyor.com/api/projects/status/ko5g064idp5srm74?svg=true
:target: https://ci.appveyor.com/project/sdpython/ensae-teaching-cs
:alt: Build Status Windows
.. image:: https://badge.fury.io/py/ensae_teaching_cs.svg
:target: http://badge.fury.io/py/ensae_teaching_cs
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:alt: MIT License
:target: http://opensource.org/licenses/MIT
.. image:: https://codecov.io/github/sdpython/ensae_teaching_cs/coverage.svg?branch=master
:target: https://codecov.io/github/sdpython/ensae_teaching_cs?branch=master
.. image:: http://img.shields.io/github/issues/sdpython/ensae_teaching_cs.png
:alt: GitHub Issues
:target: https://github.com/sdpython/ensae_teaching_cs/issues
.. image:: https://badge.waffle.io/sdpython/ensae_teaching_cs.png?label=ready&title=Ready
:alt: Waffle
:target: https://waffle.io/sdpython/ensae_teaching_cs
.. image:: https://api.codacy.com/project/badge/Grade/80a874c0eafd4ea68f3493d73b43f0c5
:target: https://www.codacy.com/app/sdpython/ensae_teaching_cs?utm_source=github.com&utm_medium=referral&utm_content=sdpython/ensae_teaching_cs&utm_campaign=Badge_Grade
:alt: Codacy Badge
:target: https://www.codacy.com/app/sdpython/ensae_teaching_cs?
This page gives access to the content of practical sessions I give at the
`ENSAE <http://www.ensae.fr/>`_. They are based on Python. The project
is hosted on GitHub can be modified by sending me pull requests:
* `GitHub/ensae_teaching_cs <https://github.com/sdpython/ensae_teaching_cs/>`_
* `documentation <http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx3/index.html>`_
* `Blog <http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx/blog/main_0000.html#ap-main-0>`_
That will be probably one of the few pages in English.
Contributions
-------------
Started in 2014/04.
* Contributor: `Xavier Dupré <http://www.xavierdupre.fr/>`_, ENSAE's students
Setup
-----
* `7zip <http://www.7-zip.org/>`_
* `Anaconda <https://www.continuum.io/downloads>`_
2 and 3 (to be installed on the same hard drive than the Jenkins build folder)
* `Chrome <https://www.google.fr/chrome/browser/desktop/>`_
* `CMake <https://cmake.org/>`_ (to build XGBoost)
* `Graphviz <http://www.graphviz.org/>`_
* `Git <https://git-scm.com/>`_
* `GitHub <https://desktop.github.com/>`_
* `Java 64 bit <https://www.java.com/fr/download/manual.jsp>`_ (for Spark)
* `Jenkins <https://jenkins.io/>`_ (CI)
* `Miktex Basic Installer 64 bit <https://miktex.org/download>`_ (formula in the documentation)
(check the option to silently install new packages)
* `Pandoc <http://pandoc.org/>`_ (documentation)
* `Python <https://www.python.org/>`_ 3.5, 3.6, 2.7 64 bit
(do not add the interpreter on the default PATH)
* `R 3.2.2 <https://cran.r-project.org/bin/windows/base/old/3.2.2/>`_
* `Scite <http://www.scintilla.org/SciTE.html>`_
* `TDM-GCC 64bit <http://tdm-gcc.tdragon.net/>`_ (theano)
* `Visual Studio 2015 Community Edition <https://www.visualstudio.com/fr/vs/community/>`_
(check C++, C#, Python, CLang) (Cython)
For each Python, you need to install
`pymyinstall <https://pypi-hypernode.com/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://wiki.jenkins-ci.org/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://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk>`_
needs to be installed.
For Python 2.7, the module
`backports.shutil_get_terminal_size <https://pypi-hypernode.com/pypi/backports.shutil_get_terminal_size/>`_
needs to be removed. It does not work from a virtual environment unless it is installed
from there.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ensae_teaching_cs-0.8.1824.tar.gz
.
File metadata
- Download URL: ensae_teaching_cs-0.8.1824.tar.gz
- Upload date:
- Size: 6.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeff7cef4f33de35432eb7d84da06546f06c1459a9f6873a07821de693480f1c |
|
MD5 | ae77eadf5e374fe45486b7a92b4b7253 |
|
BLAKE2b-256 | 2aed84d444e2bd6526f4c7cfb340239be7b47a3a47f73c60ae65dfe6ef0431fc |
File details
Details for the file ensae_teaching_cs-0.8.1824-py3-none-any.whl
.
File metadata
- Download URL: ensae_teaching_cs-0.8.1824-py3-none-any.whl
- Upload date:
- Size: 7.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea6a0d522dd6b7caf7ef8444bd5f07ad008ebdce5786709d003717a24fd86f01 |
|
MD5 | ca2628b264ffa6da1f54751a44f54aa3 |
|
BLAKE2b-256 | 513742021a3849576082312c4b1976650f8e3ea64f4065137d4317c08760478c |