Functions¶
Summary¶
function |
class parent |
truncated documentation |
---|---|---|
Returns a file name containing the log |
||
returns a path where the log file is stored. |
||
Always returns |
||
Empty string or not? |
||
Says if it a repository GIT. |
||
says if it a repository SVN |
||
Retrieves a name or a url of the image if it is not found in the local folder or a subfolder. |
||
if True, redirect everything which is displayed to the standard output |
||
Private function, tries to find a file |
||
private function, tries to find a file |
||
Downloads file corresponding to url stored in cache_urls. |
||
Check the existence of a file, downloads it if not existing. |
||
Operates some verification on the configuration. |
||
If url is an url, download the file and return the downloaded if it has already been downloaded, it is not downloaded … |
||
This function tests if a file is a zip file (extension zip), if it is the case, it unzips it into another file and return … |
||
Loads an existing dump. |
||
Private function which does extra checkings when refactoring pyquickhelper. |
||
Filters out (import) warnings from error. |
||
Checks if the first file (opened url) is more recent of the second file (path). |
||
Loads file |
||
Proposes a default location to dump results about notebooks execution. |
||
Proposes a default location to dump results about unit tests execution. |
||
build a filename knowing an url, same name but in default_path |
||
build a filename knowing an url |
||
Get the HTML representation of an object |
||
Joing a list of sentences into HTML for display |
||
Imports the configuration file and extracts some of the parameters it defines. Fills the following lists. |
||
Returns a and b with any differences processed by mark. Junk is ignored by the differ. |
||
Makes some replacements in a notebook. |
||
Preprocesses the content of a notebook. |
||
Copies one file from the source to the documentation folder. It processes some comments in doxygen format (@ param, … |
||
The notebook conversion does not handle images from url for pdf and docx. They could be downloaded first … |
||
This function fails in nbconvert 6.0 when the conversion is called more than once. The conversion probably changes the … |
||
Converts class Stats into something readable for … |
||
Split a string into a list of sentences |
||
To skip some functions, see Skipping members. … |
||
Other name private to this module. |
||
Split a string into tokens |
||
Join a list of sentences into a string |
||
Join a list of tokens into a string |
||
Creates a rst file for every source file. |
||
Adds a link to the notebook in HTML format and does a little bit of cleaning for various format. |
||
Looks for development version of a given module and add paths to |
||
Adds missing files for the documentation, |
||
Replaces words by something like |
||
Modifies a notebook to add tag for a slideshow. |
||
Aligns two sequences of strings after comparing them. |
||
See |
||
Extend a string containing templating instructions. See mako or jinja2. |
||
Calls numpy.testing.assert_almost_equal. Add more informations in the exception message. |
||
Checks that on command handled by pyquickhelper is part of the arguments. |
||
Builds a badge reporting on the notebook coverage. It gives the proportion of run cells. |
||
Defines custom role bigger. The following instructions defines buttons of size 20 (text): |
||
Creates a rst page (gallery) with links to all notebooks and information about coverage. It relies on function … |
||
Returns an history of a module. |
||
Creates a rst page (gallery) with links to all notebooks. For each notebook, it creates a snippet. |
||
Build a RSS file, the function keeps the blog post (HTML format) from the last month. The summary will only contains … |
||
Returns rst code for a notebook. |
||
Builds the command line for virtual env. |
||
Calls a function f given parsed arguments. |
||
Calls GitHub REST API. |
||
Opens a GUI based on tkinter which allows the user to run a command line through a windows. The function … |
||
Call pandoc. |
||
Changes the status of all files inside a folder. |
||
Switches from AaBb into aa_bb. |
||
Checks the library is working. It raises an exception if it does not. |
||
checks difflibjs is present |
||
check function noLOG |
||
Checks if PEP8, the function calls command pycodestyle on a specific folder. |
||
Checks the syntax of the file |
||
Overwrites function #L197>`_. `make_field <https://github.com/sphinx-doc/sphinx/blob/master/sphinx/util/docfields.py … |
||
Computes MD5 for a file. |
||
Returns the first path which exists in the list. |
||
Does the cleaning. |
||
Cleans the documentation before integrating into a command line documentation. |
||
Cleans files in a folder and subfolders with a given extensions. |
||
Cleans |
||
Upgrades notebooks to the latest format and cleans notebooks execution numbers and rearranges the JSON file. |
||
Clean instructions such as `` |
||
Implements the main commmand line for a module. |
||
Clones a git repository. |
||
Takes the output of |
||
Returns statistics about the documentation of a module. |
||
Compares two versions. |
||
Compile history and produces a rst file. |
||
Compiles the latex documents. |
||
Transforms a huge constant into a sequence of compressed binary strings. |
||
Produces a truncated version of a docstring. |
||
Concatenates images into an image with several rows of images. |
||
local function |
||
determines if filename is binary or None before transfering it |
||
Converts a notebook into a specific format. |
||
Overwrites convert_pandoc. |
||
Converts a sequence of instructions into a batch file. |
||
Converts a string into a datetime. |
||
Prepares a copy of the source for Python 2.7, assuming the module follows the same design as pyquickhelper. … |
||
Copies all files mentioned with role downloadlink. |
||
|
||
Copies all sources files (input) into a folder (output), apply on each of them a modification. |
||
Tries to improve the indentation before running docutils. |
||
Merges multiples reports. |
||
Creates an instance of application class returned by |
||
Adds an argument for argparse.ArgumentParser. |
||
Automatically creates a parser based on a function, its signature with annotation and its documentation (assuming … |
||
Creates a virtual environment. |
||
The function uses jsdifflib to create a visual diff. If it was not already … |
||
Calls function |
||
Returns style. |
||
Ensure that a path exists. |
||
See Sphinx core events. |
||
Converts a datetime into a string. |
||
Decodes the output or the error after running a command line instructions. |
||
Transforms a huge constant produced by function |
||
Decrypts using class |
||
Decrypts using class |
||
Decrypts a file using AES (CBC mode) with the given key. The function relies on module pycrypto, cryptography, … |
||
Returns a dictionary with default values for Jenkins server, you should update the path if the proposed path are not … |
||
Filters out warnings. |
||
Example of a list of jobs for parameter module of function |
||
Default skip function for function |
||
Defines or overrides default options for Sphinx, listed below. |
||
What to do when leaving a node |
||
depart bigger_node for format other than html |
||
what to do when leaving a node bigger the function should have different behaviour, depending on the format, or … |
||
depart bigger_node for latex |
||
depart bigger_node for rst |
||
depart_blocref_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
depart_blocref_node |
||
what to do when leaving a node blogpost the function should have different behaviour, depending on the format, or … |
||
what to do when leaving a node blogpost, the function should have different behaviour, depending on the format, … |
||
what to do when leaving a node blogpost, the function should have different behaviour, depending on the format, … |
||
depart_cmdref_node, see sphinx/writers/html.py. … |
||
depart_cmdref_node |
||
depart collapse_node |
||
depart collapse_node |
||
depart collapse_node |
||
Converts node downloadlink into html. |
||
Does notthing. |
||
Converts node downloadlink into md. |
||
Converts node downloadlink into rst. |
||
Does notthing. |
||
What to do when leaving a node epkg. |
||
depart_exref_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
depart_exref_node |
||
depart_faqref_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
depart_faqref_node |
||
depart collapse_node |
||
depart collapse_node |
||
depart collapse_node |
||
depart gitlog_node for format other than html |
||
what to do when leaving a node gitlog the function should have different behaviour, depending on the format, or … |
||
depart gitlog_node for latex |
||
depart gitlog_node for rst |
||
depart_mathdef_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
depart_mathdef_node |
||
depart_nbref_node, see sphinx/writers/html.py. … |
||
depart_nbref_node |
||
does nothing |
||
depart_quote_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
depart_quote_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
build end tag for revealjs |
||
What to do when leaving a node |
||
build end tag for rv_code |
||
build end tag for rv_note |
||
build end tag for rv_small |
||
what to do when leaving a node sharenet the function should have different behaviour, depending on the format, or … |
||
what to do when leaving a node sharenet the function should have different behaviour, depending on the format, or … |
||
what to do when leaving a node sharenet the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node image the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node image the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node image the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node image the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node image the function should have different behaviour, depending on the format, or … |
||
does nothing |
||
depart_todoext_node, see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
depart_todoext_node |
||
What to do when leaving a node tpl. |
||
What to do when leaving a node video the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node video the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node video the function should have different behaviour, depending on the format, or … |
||
What to do when leaving a node video the function should have different behaviour, depending on the format, or … |
||
Youtube node. |
||
Guesses the encoding from |
||
Converts the table into a html string. |
||
Every key of dictionary |
||
Produces a HTML report with differences between rows1 and rows2. |
||
local function |
||
Encrypts or decrypts a folder, see |
||
Encrypt or decrypt of a file |
||
Example of a doc string. |
||
Converts a docstring into a HTML format. |
||
Downloads a small file. If url is an url, it downloads the file and returns the downloaded filename. If it has … |
||
Download a file to the folder path_unzip if not present, if the downloading is interrupted, the next time, it will start … |
||
Downloads images before running the documentation. |
||
Downloads require.js release. |
||
Downloads reveal.js release and unzips it. |
||
Iterates on files in folder, parse them, extracts all urls, download them in a folder. |
||
Same as |
||
Computes the edit distance between strings s1 and s2. |
||
Computes an edit distance between lines of a text. |
||
Encrypts using class |
||
Encrypts using class |
||
Encrypts a file using AES (CBC mode) with the given key. The function relies on module pycrypto, cryptography, … |
||
Removes annotation from a signature extracted with |
||
Enumerates github issues for a repo and an owner since a given date. |
||
Converts a yml file into sequences of instructions, conditions are interpreted. |
||
Copies images, initial intent was for slides, once converted into html, link to images are relative to the folder … |
||
Looks for substring like the following and clean the signature to be able to use function _signature_fromstr. |
||
Looks for all links to a notebook in the documentation. |
||
Submits or enumerates jobs based on the content of a yml file. |
||
Retrieves version and releases dates for modules hosted on pypi. |
||
Splits a dataframe by columns to display shorter dataframes. |
||
Defines custom role epkg. A list of supported urls must be defined in the configuration file. It wants to replace … |
||
Replace special characters “&”, “<” and “>” to HTML-safe sequences. If the optional flag quote is true (the default), … |
||
Evaluates a condition inserted in a yml file. |
||
Evaluate a template given a list of parameters given a list of named parameters. |
||
Returns True if |
||
This function only contains an example with latex to check it is working fine. |
||
Executes a list of notebooks. |
||
Checks the list of results and raises an exception if one failed. This is meant to be used in unit tests. |
||
Executes a python script in a separate process. |
||
Executes a script and returns the local variables. |
||
Returns the list of files included in a folder and its subfolders. Returned names can be modified if sub_pattern is … |
||
Same as |
||
Returns all files present in folder and added to a SVN or GIT repository. |
||
Extracts the first title (rst format) in a file. |
||
Extracts issues from exsiting history stored in |
||
Addition 1 |
||
Addition 2 |
||
Addition 3 |
||
Addition 4 |
||
Addition 5 Parameters ———- a: parameter a b: parameter b Returns ——- |
||
Addition 6 Args: a: parameter a b: parameter b Returns: |
||
Builds a message on a single line with the date, it deals with encoding issues. |
||
Formats a message. |
||
Retrieves the dataframes based on partial information. Enumerates a list of dataframes. |
||
Retrieves the list of dataframe based on partial information. |
||
Stores a dataframe into a local stores. |
||
Produces a .rst file which contains the file. It adds a title and a label based on the filename (no folder included). … |
||
Finds all coverage reports in one subfolder. |
||
Determines the corresponding post processing function associated to name. |
||
Determines dvipng location. |
||
Determines the path to graphviz (on Windows), the function tests the existence of versions 34 to 45 assuming it … |
||
look into every path mentioned in |
||
Finds latex path. Returns an empty string on linux. |
||
Finds all links following RST format in a documentation. |
||
Returns a dict mapping kernel names to resource directories. |
||
Determines pandoc location. Returns an empty string on linux. |
||
Returns the executable for latex. |
||
Looks for images and fix their path as if the extract were copied to the root. |
||
Looks into every file .rst or .py for incomplete reference. Example |
||
Fix an issue which happens in a virtual environment, see Fix Tcl inside a virtualenv on Windows … |
||
Formats history based on module releases. |
||
Generates a RST tables containing the changes stored by a SVN or GIT repository, the outcome … |
||
Runs the help generation: |
||
Returns a list of paths to add before running the notebooks for a given a list of modules. |
||
Returns commands which build the package. |
||
Returns the list of commands pyquickhelper implements or allows. |
||
Builds the build script which builds the setup, run the unit tests and the documentation. |
||
Returns a string showing the call stack when this function is called. |
||
Gets the command line used to run git. |
||
Returns a list of default extensions. |
||
Returns the style of additional style sheets |
||
Returns a list of standard extensions. |
||
Returns the style of additional style sheets. |
||
Returns an encryptor with method encrypt and decrypt. |
||
Retrieves an environment and a docname inside a directive. |
||
Returns default dictionary for extension |
||
Return an estimation of the processing time, it extracts the number in |
||
Returns the IPython exporter associated to a format. |
||
Produces a script which runs the notebook, a documentation server, which publishes… |
||
return a logging function |
||
Returns information about a file. |
||
Returns information about all files |
||
Returns the last modification of a file. |
||
Expects to find a text file with a line, the function extracts and returns this line. |
||
Returns the folder which contains |
||
Returns the usage |
||
Guesses an extension for an image. |
||
Retrieves documentation data for a specific module. |
||
Returns function used when a module includes C++ parts. |
||
Directs call to function get_installed_distributions from pip. Return a list of installed Distribution objects. … |
||
Retuns installed extensions. |
||
Returns the interpreter path. |
||
Returns default dictionary for extension sphinx.ext.intersphinx. |
||
we assume jobs were set up through a jenkins server, the function looks into folder root and list folder |
||
Returns the data directory for the notebook. |
||
Parameters ++++++++++ user : bool [default: False] Whether to check the user’s .ipython/nbextensions directory. … |
||
Returns the machine name. |
||
Gets the remote master location. |
||
raises an exception |
||
Gets all the classes from a module. |
||
Returns the number of commit. |
||
returns the number of commit |
||
Returns a KernelSpec. |
||
Calls |
||
calls |
||
Defines the way to parse the magic command |
||
defines the way to parse the magic command |
||
Restores a password. By default, uses keyring. |
||
entry-point for sphinx theme. |
||
Returns platform if not None, |
||
Returns a prefix for a file based on time. |
||
returns a string which corresponds to a pyproj project |
||
private function, return the relative path or absolute between a folder and a file, use relpath … |
||
Gets the latest changes operated on a file in a folder or a subfolder. |
||
get the latest changes operated on a file in a folder or a subfolder |
||
Gets the latest check for a specific path or version number based on the date (if usedate is True). If usedate … |
||
get the latest check in number for a specific path |
||
Produces a script which runs a command available through the setup. |
||
Returns the scripts extension based on the system it is running on. |
||
Produces a script which runs the notebook, a documentation server, which publishes and other scripts. |
||
Get size. |
||
|
||
Creates and returns a local temporary folder to store files when unit testing. |
||
Returns the list of test files. |
||
retrieve the content of an url |
||
Downloads a file from internet (by default, it assumes it is text information, otherwise, encoding should be None). |
||
Downloads data from urls (by default, it assumes it is text information, otherwise, encoding should be None). |
||
Returns the user name. |
||
Overwrites function getsitepackages which does not work for a virtual environment. |
||
Returns the state of an objects. It cannot be used to restore the object. |
||
Defines custom role githublink. The following instruction add a link to the documentation on github. |
||
Defines custom role gitlog. The following instruction prints out the date of the last modification for the current … |
||
Determines many parameters on this machine: |
||
Guesses the module name based on a function. |
||
Guesses the dimension of a SVG image. |
||
guess the type of a list |
||
Guessees the type of a value. |
||
Compresses all files from an iterator in a zip file and then in a gzip file. |
||
It assumes dest is a copy of source, it wants to know if the copy is up to date or not. |
||
Proposes a hash for the list of arguments. |
||
directives choices for heading tag |
||
Comparares two strings and renders the results as HTML. |
||
Inserts HTML text into a frame in binary format. |
||
Catches warnings. |
||
Merges multiples images into one single pdf. Relies on img2pdf. If an image name contains |
||
Extracts an object defined by its name including the module name. |
||
Runs all tests in file list |
||
Imports a module using its filename. |
||
Extracts an object defined by its name including the module name. |
||
Determines the import path which is the shortest way to import the function. In case the following |
||
For the module |
||
Infers a project name based on yml file. |
||
Log information with Sphinx. |
||
initialisation |
||
Initializes the image directives. |
||
Initializes the video directives. |
||
local function |
||
Installs extra dependencies such as reveal.js. |
||
Installs a kernel based on executable (this python by default). |
||
Installs missing dependencies to compile a convert a javascript libraries. |
||
Installs notebook extensions, see install_nbextension … |
||
Installs a kernel based on this python (sys.executable) for unit test purposes. |
||
Interprets an instruction with if statement. |
||
Tells if the string s could be a filename. |
||
Says if the string s could be a filename. |
||
|
||
Tells if is a travis environment or appveyor. |
||
Tells if the string s could be a url. |
||
Checks if the text written on stderr is an error or not, a local server can push logs on this stream, it looks for … |
||
Tells if the script is run from a virtual environment. |
||
checks that a string is empty, returns also True if s is |
||
calls numpy.isnan but checks it is a float first |
||
Postprocesses a job produced by Jenkins. |
||
convert a latex document into a rst document using pandoc |
||
Default latex preamble. |
||
Tries different encoding to load a file, tries utf8, latin1 and None. |
||
to allow the call |
||
Loads a yml file (.yml). |
||
Replaces the url by a local file in a folder or an environment variable if folder is None. |
||
Tries to local an image in the module for help generation in a folder |
||
Implements |
||
Starts the parser on the file given by the filename as the first argument on the commandline. |
||
|
||
|
||
Runs all unit tests, the function looks into the folder _unittest and extract from all files beginning by test_ … |
||
Calls function |
||
Builds a sphinx label from a string by removing any odd characters. |
||
Create a link to a github file. |
||
Measures the fact a module is documented. |
||
Measures the fact a module is documented. |
||
merge_blocref |
||
merge_cmdref |
||
merge_exref |
||
merge_faqref |
||
merge_mathdef |
||
merge_nbref |
||
merge_todoext |
||
Migrates the doxygen documentation to rst format. |
||
Automatically modifies the init file. |
||
Determines if the module must be built before running the command in argv. |
||
Converts a date into a datetime. |
||
Converts a date into a datetime. |
||
Converts a notebook into HTML. |
||
Converts a notebook into RST. |
||
Converts a notebook into slides, it copies reveal.js if not present in the folder of the output. |
||
does nothing |
||
Returns node.js version. |
||
Extracts a list of notebooks and merges with a list of runs dumped by function |
||
Converts a string into a tuple with numbers wherever possible. |
||
The function displays a form onto a notebook, it requires a notebook to be open. |
||
Converts filename and out_filename as streams. |
||
Open a filename but read the encoding from the first line. |
||
Parses commandline options. |
||
Simple |
||
Simple |
||
Extracts information from a package. |
||
Parses the message embedded in an exception and returns the standard output and error if it can be found. |
||
parse markdown text and return the markdown object |
||
Picks the first string non null in the list. |
||
Plots a dot graph into a matplotlib plot. |
||
post process the HTML files produced by Sphinx to adjust the static files in notebooks (IPython static files do have … |
||
Processes a HTML file generated from the conversion of a notebook. |
||
Postprocesses the latex file produced by sphinx. |
||
Postprocesses the latex file produced by sphinx. |
||
Modifies a python file after its generation by sphinx. |
||
Postprocesses the python file produced by sphinx. |
||
Processes a rst file generated from the conversion of a notebook. |
||
Processes a HTML file generated from the conversion of a notebook. |
||
Prepares all files for Sphinx generation. |
||
Custom logic to reference other currently developped modules. |
||
Less copy/paste. |
||
Runs last replacements. |
||
Interprets command line arguments. |
||
process_blocref_nodes |
||
process_blocref_nodes and other kinds of nodes, If the configuration file specifies a variable |
||
collect all blocrefs in the environment this is not done in the directive itself because it some transformations … |
||
collect all blocrefs in the environment this is not done in the directive itself because it some transformations … |
||
unused, kept as example |
||
process_cmdref_nodes |
||
Collect all cmdrefs in the environment this is not done in the directive itself because it some transformations … |
||
Looks into every file .rst or .py for images ( |
||
Defines custom role downloadlink. The following instructions defines a link which can be displayed or hidden based … |
||
process_blocref_nodes |
||
collect all exref in the environment this is not done in the directive itself because it some transformations … |
||
process_faqref_nodes |
||
collect all faqref in the environment this is not done in the directive itself because it some transformations … |
||
Looks for specific information in all files, collect them into one single page. |
||
process_mathdef_nodes |
||
collect all mathdefs in the environment this is not done in the directive itself because it some transformations … |
||
process_nbref_nodes |
||
Collect all nbref in the environment this is not done in the directive itself because it some transformations … |
||
Converts notebooks into html, rst, latex, pdf, python, docx using … |
||
Collect all postcontents in the environment. Look for the section or document which contain them. Put them into … |
||
Replaces the output of add_menu_notebook … |
||
Processes the standard options the module pyquickhelper is able to process assuming the module which calls this function … |
||
Prints the added options available through this module. |
||
Applies the doxypy like process to a string. |
||
Collect all tocdelay in the environment. Look for the section or document which contain them. Put them into the … |
||
process_todoext_nodes |
||
collect all todoexts in the environment this is not done in the directive itself because it some transformations … |
||
Processes a docstring using tag |
||
Returns the code for a graph which counts the number of changes per week over the last year. |
||
Produces a file for each category of object found in the module. |
||
Profiles the execution of a function. |
||
Converts profiling statistics into a Dataframe. |
||
Converts profiling statistics into a graphs. |
||
Analyses the output of a profiling measured by module |
||
Publishes the coverage report on codecov. See blog post 2016-01-01 Badge for coverage. |
||
purge_blocrefs |
||
unused, kept as example |
||
purge_cmdrefs |
||
purge_exrefs |
||
purge_faqrefs |
||
purge_mathsext |
||
purge_nbrefs |
||
purge_todosext |
||
converts a script into from python 3 to python 2 |
||
Converts files in a folder and its subfolders from python 3 to python 2, the function only considers python script (verifying … |
||
checks that import |
||
See function |
||
Removes expression such as: |
||
Synchronizes a folder using function |
||
Returns a url about Python documentation. |
||
Reads the content of a source, whether it is a url, a file, a stream or a string (in that case, it returns the string … |
||
Reads a file from a file, it adds the compression zip which was removed in the latest version, see pandas.read_csv. … |
||
Reads a notebook and return a |
||
Reads a notebook from a JSON stream or string. |
||
Reads the content of a url. |
||
Terminates children processes. Copied from psutil. … |
||
Runs |
||
Registers magics function, can be called from a notebook. |
||
Register magics function, can be called from a notebook. |
||
Register magics function, can be called from a notebook. |
||
Registers magics functions, can be called from a notebook. |
||
Removes ASCII characters in [0..31]. |
||
Removes diacritics. |
||
Removes execution number from a notebook. |
||
Removes extra spaces in a filename, replaces the file in place. |
||
Removes extra files in a folder for specific file extensions. |
||
Removes everything in folder top. |
||
Removes a kernel. |
||
Brings text to the left. |
||
Some files contains blocs inserted between the two lines: |
||
Removes all files and folders in folder. |
||
Runs a function on a regular basis. The function is not multithreaded, it returns when all execution are done. |
||
Runs a python script on a regular basis. The function is not multithreaded, it returns when all execution are done. … |
||
Runs a python script on a regular basis. The function is not multithreaded, it returns when all execution are done. … |
||
Replaces a place holder by a list of blog post. |
||
Takes a python file and replaces all relative imports it was able to find by an import which can be processed … |
||
Runs |
||
run |
||
Modified version of function require in node_import.py. … |
||
Retrieves notebooks in a test folder. |
||
Creates a database if it does not exists, add a table for blogs and posts, update the database, starts a server and … |
||
Converts a string from RST into HTML format or transformed RST. |
||
Runs a script with the original intepreter even if this function is run from a virtual environment. |
||
Runs |
||
Runs a command line and wait for the result. |
||
Runs the server. |
||
Assuming script contains some javascript which produces SVG. This functions runs the code. |
||
Runs a javascript script with node.js. |
||
|
||
Runs a notebook end to end, it is inspired from module runipy. |
||
Runs a notebook end to end, it is inspired from module runipy. |
||
Applies pylint on subfolder folder. |
||
Executes a script python as a string. |
||
Runs a script. |
||
|
||
Runs test functions from module. |
||
Runs the unit tests and computes the coverage, stores the results in |
||
Runs a script on a vritual environment (the script should be simple). |
||
Stores a password. By default, uses keyring or keyrings.cryptfile. |
||
Defines variables for Sphinx. |
||
Initialize |
||
entry-point for sphinx directive. |
||
Create a new directive called autosignature which displays the signature of the function. |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
setup for docassert |
||
Initializes the doctree builder. |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
Initializes builder |
||
setup for |
||
Initializes the MD builder. |
||
setup for |
||
setup for |
||
setup for |
||
Initializes the RST builder. |
||
setup for |
||
setup for |
||
setup for |
||
setup for |
||
Setup for |
||
Setup for |
||
setup for |
||
Setup for youtube extension. |
||
setup for sphinx extension |
||
Setup for |
||
Modifies environment variables to be able to use external tools such as Inkscape. |
||
Sets up many jobs on Jenkins. |
||
Defines custom roles sharenet. The following instructions defines buttons of size 20 ( ) … |
||
Has the same signature as |
||
Skips a unit test if it runs on appveyor. |
||
Skips a unit test if it runs on azure pipeline. |
||
Skips a unit test if it runs on azure pipeline on linux. |
||
Skips a unit test if it runs on azure pipeline on linux. |
||
Skips a unit test if it runs on circleci. |
||
Skips a unit test if it runs on linux. |
||
Skips a unit test if it runs on travis. |
||
Skips a unit test if the version is stricly below version (tuple). |
||
copy additional scripts to a folder for sphinx documentation |
||
Returns the language defined in the configuration file. |
||
Converts a string from RST to HTML or RST format. |
||
Splits a command line. |
||
Standard function which generates help assuming they follow the same design as pyquickhelper. |
||
convert a string into a datetime object, it can be: |
||
Converts an image in SVG format. |
||
Synchronizes two folders (or copy if the second is empty), it only copies more recent files. It can walk through … |
||
Runs and tests a specific list of notebooks. The function raises an exception if the execution fails. |
||
Logs before and after a function is called. |
||
convert a timestamp into a datetime |
||
Defines custom role tpl. A template must be specified in the configuration file. |
||
The function is called by event |
||
The function is called by event |
||
Enumerates through all children but insert a node whenever digging or leaving the childrens nodes. |
||
Add a variables in the config file if it does not have it yet. |
||
Unzips files from a zip archive compress with 7z. |
||
Uncompresses files from a gzip file. |
||
Skips a unit test if the version of one module is not at least the provided version. |
||
Uncompresses files from a rar archive compress with 7z on Window or unrar on linux. |
||
Uncompresses files from a tar file. |
||
Unzips a file into the temporary folder, the function expects to have only one zipped file. |
||
Unzips files from a zip archive. |
||
Updates |
||
A notebook can contain a link |
||
Converts a notebook from version 2 to latest. |
||
Runs a uvicorn application. It should be used for testing not for production. Use |
||
Accepts or rejects a file to be copied in the help folder. |
||
Checks that all urls are valid. |
||
Looks for all files in a folder and return all invalid urls. |
||
Installs a package or a list of packages in a virtual environment. |
||
Verifies a file produced by sphinx and checks basic mistakes. |
||
dig into folders abd subfolders to find HTML files produced by Sphinx, does some verification to detect errors, … |
||
What to do when visiting a node |
||
what to do when visiting a node bigger the function should have different behaviour, depending on the format, … |
||
what to do when visiting a node bigger the function should have different behaviour, depending on the format, … |
||
what to do when visiting a node bigger the function should have different behaviour, depending on the format, … |
||
visit_blocref_node |
||
visit_blocreflist_node see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
what to do when visiting a node blogpost the function should have different behaviour, depending on the format, … |
||
what to do when visiting a node blogpost the function should have different behaviour, depending on the format, … |
||
visit_cmdref_node |
||
visit_cmdreflist_node see sphinx/writers/html.py. … |
||
visit collapse_node |
||
visit collapse_node |
||
visit collapse_node |
||
Converts node downloadlink into html. |
||
Does notthing. |
||
Converts node downloadlink into md. |
||
Converts node downloadlink into rst. |
||
Does notthing. |
||
What to do when visiting a node epkg. |
||
visit_exref_node |
||
visit_exreflist_node see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
visit_faqref_node |
||
visit_faqreflist_node see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
visit collapse_node, the function switches between graphviz.py … |
||
visit collapse_node |
||
visit collapse_node |
||
what to do when visiting a node gitlog the function should have different behaviour, depending on the format, … |
||
what to do when visiting a node gitlog the function should have different behaviour, depending on the format, … |
||
what to do when visiting a node gitlog the function should have different behaviour, depending on the format, … |
||
visit_mathdef_node |
||
visit_mathdeflist_node see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
visit_nbref_node |
||
visit_nbreflist_node, see sphinx/writers/html.py. … |
||
does nothing |
||
visit_quote_node |
||
visit_quote_node |
||
build start tag for revealjs |
||
What to do when visiting a node |
||
build start tag for rv_code |
||
build start tag for rv_note |
||
build start tag for rv_small |
||
what to do when visiting a node sharenet the function should have different behaviour, depending on the format, … |
||
what to do when visiting a node sharenet the function should have different behaviour, depending on the format, … |
||
Visits a image node. Copies the image. |
||
does nothing |
||
visit_todoext_node |
||
visit_todoextlist_node see https://github.com/sphinx-doc/sphinx/blob/master/sphinx/writers/html.py |
||
What to do when visiting a node tpl. |
||
Visits a video node. Copies the video. |
||
Visit youtube node (html). |
||
Does the same as os.walk plus does not go through a sub-folder if this one is big. Folders such build … |
||
Sets white color as transparency color. |
||
Writes a couple of scripts which allow a user to be faster on some tasks or to easily get information about the module. … |
||
Creates a project pyproj … |
||
Extracts the version number, the function writes the files |
||
Write a notebook to a string in a given format in the current nbformat version. This function always writes the notebook … |
||
Code from My rst README is not formatted on pypi.python.org. … |
||
If 7z is installed, the function uses it to compress file into 7z format. The file filename_7z must not exist. … |
||
Zips all files from an iterator. |
||
Zooms an image. |