Functions¶
Summary¶
function |
class parent |
truncated documentation |
---|---|---|
check if Scite was already installed |
||
Checks if SQLiteSpy was already installed |
||
check if Scite was already installed |
||
builds a reverse index of the module, |
||
builds a dictionary which returns a dictionary { name: function_set }. |
||
compressed |
||
remove unexpected characters |
||
return the name of a function (not the module) |
||
determines of this package is the one for the given module_name |
||
The function relies on module pipdeptree.main. |
||
does nothing |
||
add a kernel to jupyter |
||
Adds a shortcut to the desktop. |
||
|
||
create a shortcut on your desktop |
||
Adds a shortcut on a module which includes a script. |
||
create a shortcut on your desktop |
||
create a shortcut on your desktop |
||
|
||
builds a requirements list based on a list of |
||
builds the command line for virtual env |
||
Checks the library is working. It raises an exception. If you want to disable the logs: |
||
An issue is happening during unit test as pymyinstall could be imported from two locations. We check this is not … |
||
Chooses the most recent version for a list of module names. |
||
Shortens the list of classifiers into a string. |
||
clean all files follwing a specific pattern |
||
modules introduced by students or needed for student projects, it requires the modules in set extended |
||
Compares two versions. |
||
copy all files from src to dest |
||
copy files and scripts for a specific tutorial |
||
Creates a quick empty shell for a new project. |
||
Creates a quick setup for an existing or installed projects. |
||
create links for the tools |
||
Create Windows shortcut (.lnk file) |
||
create batchs for the setup, they will be placed in folders[“config”] |
||
create a batch file to set up the environment |
||
create a batch file to start Glue |
||
create a batch file to start julia |
||
create a batch file to start jupyter |
||
create a batch file to start Jupyter Notebook |
||
create a batch file to start Jupyter QtConsole |
||
create a batch file to start orange |
||
create a batch file to start scite |
||
create a batch file to start python |
||
create a batch file to start R |
||
create a batch file to start R Gui |
||
create a batch file to start RSS reader |
||
create a batch file to start scite |
||
create a batch file to start spyder |
||
create a batch file to start SqliteBro |
||
create a batch file to start sqlitespy |
||
Convert string from file system charset to unicode |
||
decode the output or the error after running a command line instructions |
||
checks a distribution was properly executed |
||
calls function |
||
calls function |
||
Calls function |
||
calls function |
||
Execute a script (get-pip typically) |
||
Downloads a file from a url, the function does not download the file again if outfile already exists. |
||
Downloads a file from a url using redirection, the function does not download the file again if outfile already … |
||
Downloads the module without installation. |
||
Download reveal.js release. and unzip it. |
||
shortcut, return |
||
modules introduced by students or needed for student projects, it requires the modules in set extended |
||
Selects the links for a specific module. |
||
Execute shell command (args is a list of arguments) in path |
||
list of modules to install, an rich set, to work with data and more, it requires the modules in set small |
||
parses HTML to extract all links |
||
Extract .zip, .exe (considered to be a zip archive) or .tar.gz archive to a temporary directory (if targetdir is None). … |
||
Copy .exe to targetdir |
||
Extract .exe archive to a temporary directory (if targetdir is None). Return the temporary directory path |
||
Extract .msi installer to a temporary directory (if targetdir is None). Return the temporary directory path |
||
find InnoSetup executable |
||
Checks if there are specific instructions to run before installing module name, on Windows, some modules requires … |
||
copy DLL at the right place |
||
Adds a file resource.py on Windows (only available on Linux). |
||
scipy deprecated some functions still used by statsmodels 0.8. See deprecated features … |
||
Adds a file termios.py on Windows (only available on Linux). |
||
Fixes the following issue: |
||
Tells if a folder is older than a given timespan. |
||
returns the version of installed R, we only focus on the x64 version |
||
A couple of modules have some dependencies on not supported modules or modules integrated to the standard distributiion … |
||
Return HKCU/HKLM environment variable name and value |
||
Gets the date modification for a filename. |
||
Return version of the GCC compiler installed in path |
||
returns the list of tools a developper might need |
||
Directs call to function get_installed_distributions from pip. Return a list of installed Distribution objects. … |
||
Returns all modules recored in this modules. Adds installed modules. |
||
return the interpreter path |
||
returns the version of installed R, we only focus on the x64 version |
||
Return version of the Julia installed in path |
||
Returns the dependencies for a module. |
||
Returns a dictionary |
||
Returns a dictionary |
||
return a dictionary { module:version } |
||
returns the description of an R package as a dictionary |
||
return a list of modules included in one the functions imported in this module |
||
defines the way to parse the script |
||
defines the way to parse the script |
||
defines the way to parse the script |
||
defines the way to parse the script |
||
Returns the version of a package on pypi, we skip alpha, beta or dev version. |
||
Return (version, architecture) for the Python distribution located in path. The version number is limited to MAJOR.MINOR, … |
||
Return long version (X.Y.Z) for the Python distribution located in path |
||
Returns the executable for python. |
||
Return version of the R installed in path |
||
Return a tuple (name, version) of the Python source package |
||
extract the version from a wheel file, return |
||
Tells if pip is installed. |
||
import every module in module_list assuming they are defined by |
||
For the module |
||
install kernels for Jupyter notebooks |
||
run InnotSetup for a script |
||
Install 7z. It does not do it a second time if it is already installed. |
||
Install R. It does not do it a second time if it is already installed. |
||
Installs modules in list_module if None, this list will be returned by |
||
Installs chromedriver. |
||
Install Git. It does not do it a second time if it is already installed. |
||
Install Graphviz. It does not do it a second time if it is already installed. |
||
Installs InkScape (only on Windows). |
||
Install Java JDK. |
||
install Jenkins (only on Windows) |
||
Install R. It does not do it a second time if it is already installed. |
||
install jupyter extension |
||
install available kernels on Windows |
||
install a local copy of mathjax |
||
cache a downloaded page |
||
cache a downloaded page |
||
install MikTex (only on Windows) |
||
install MinGW (only on Windows) |
||
Installs a module. |
||
Installs a module with its dependencies, if a module is already installed, it installs the missing dependencies. … |
||
Installs operadriver. |
||
Install pandoc. It does not do it a second time if it is already installed. |
||
install Putty (only on Windows) |
||
Installs python. It does not do it a second time if it is already installed. |
||
Install scala-sbt. It does not do it a second time if it is already installed. … |
||
install SciTE (only on Windows) |
||
Installs SQLiteSpy. It does not do it a second time if it is already installed. |
||
install TDM-GCC (only on Windows) |
||
install Visual Studio Express (only on Windows) … |
||
list of sphinx themes and others helpers for sphinx, it requires the modules in set small |
||
creates a ipython profile |
||
update the profile with custom settings (file filters) |
||
tells if the python is 64 bit or not |
||
Tells if it is a conda distribution or not, check the presence of |
||
Tells if a module is installed or not. |
||
not very accurate but it should speed up the process |
||
Return program absolute path if installed in PATH Otherwise, return None |
||
checks a file was written with function |
||
tells if is a travis environment or appveyor |
||
run a script on Julia |
||
calls function |
||
calls function |
||
calls function |
||
calls function |
||
|
||
create a file to remember was done (running it again takes times) |
||
list of modules to add to python to get a minimal python |
||
Returns the list of missing dependencies for the installed modules. |
||
modules introduced by students or needed for student projects |
||
modifies the scite properties |
||
Returns a list of dictionaries or a dataframe for a list of modules. |
||
returns a RST tables which described all the available sets |
||
|
||
convert a string into a tuple with numbers wherever possible |
||
open a page on browser for a specific tool |
||
modules implemented for Orange, it requires the modules in set ml |
||
patch absolute path in packages such as Julia/ZMQ or Julia/Nettle. |
||
Remove absolute path to python.exe in shebang lines. |
||
Replace a string in a source file |
||
Replace the middle of lines between in_line_start and endline |
||
Execute Python command using the Python interpreter located in path |
||
Retrieves the platform and version of this python. |
||
list of modules to add to python to get python with pywin32 |
||
run a script on R |
||
read a cached HTML page |
||
Register a Python distribution in Windows registry |
||
reorder a list of modules to install, a module at position p should not depend not module at position p+1 |
||
create a batch file to update all packages |
||
Runs a command line and waits for the results, |
||
run a command line and wait for the result |
||
run a script knowing python path, it does not raise an exception. |
||
run a command line and wait for the result |
||
run InnotSetup for a script |
||
run a script on a virtual environment (the script should be simple |
||
cache a HTML page |
||
modules which help scraping the web, it requires the modules in set small |
||
Set HKCU/HKLM environment variables |
||
The function applies the modification suggested in this blog post: Travailler avec IPython notebook … |
||
has the same signature as |
||
list of modules to work with pandas, numpy, ipython, … |
||
list of sphinx themes, it requires the modules in set small |
||
splits a command line |
||
add a suffix to a shortcut name = python version + architecture |
||
applies fix described in Build a Python 64 bit extension on Windows 8 … |
||
applies a fix to use MinGW to compile extensions (does not work with Jupyter) |
||
modules implemented for my teachings, it requires the modules in set ml |
||
If 7z is installed, the function uses it to uncompress file into 7z format. The file filename_7z … |
||
Unzip files from a zip archive. |
||
Updates modules in list_module if None, this list will be returned by |
||
create a batch file to update all packages |
||
Updates modules in list_module if None, this list will be returned by |
||
Updates pip for a specific distribution. |
||
install a package or a list of packages in a virtual environment |
||
v1 and v2 are two versions of the same module, which one to keep? |
||
Looks for a file in current directory and in every path in |
||
create a batch file to check the installation when well |
||
The function downloads everything needed to prepare a setup. |
||
download notebooks and store them as documentation |
||
Install setups |
||
does necessary steps to setup Julia |
||
create a batch file to install kernels |
||
Install a package for another Python distribution than the current one. |
||
Install all packages for another Python distribution where package could be found in a folder |
||
does necessary steps to setup R |
||
Paths are absolute when they are installed in all scripts .exe, we replaced them either by an empty string ( |
||
Prepares a Windows distribution of Python based on InnoSetup, inspired from WinPython but more easier to tweak I hope. … |
||
create a batch file to replace the shebang |
||
returns a list of tools to install |
||
Installs many tools. It does not work with Python 2.7. |