Leruli Python package ¶
Note
Please feel free to ✎ improve this page or to 🕮 ask questions about this page .
You can install the
leruli
Python package via
$ pip install -U leruli
and make it available in your script via
import
leruli
.
Cheminformatics functions ¶
Canonicalizes a chemical (sum) formula. |
|
|
|
|
|
|
|
|
Chemical space functions ¶
|
Leruli Queue/Cloud functions ¶
Submits a given directory content as job to Leruli Queue/Cloud. |
|
Queries the status of a job at Leruli Queue/Cloud. |
|
Cancels a task on Leruli Queue/Cloud. |
All functions ¶
Interface for leruli.com
- canonical_formula ( formula : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
-
Canonicalizes a chemical (sum) formula.
The given sum formula may contain bracketed elements, e.g.
CH3(CH2)4CH3
.- Parameters
-
- formula str
-
Any chemical sum formula. May contain repeated elements in parentheses.
- version str, optional
-
A specific API version in case you want to enforce backwards compatibility.
- urgent bool, optional
-
Enable to call with priority, might not allow parallel execution.
- progress bool, optional
-
Enable to show interactive progress bar for this blocking call.
- Returns
-
- str
-
Canonical sum formula in Hill notation.
- canonical_graph ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- formula_to_cost ( formula : str , basisset : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- formula_to_graphs ( formula : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_boiling_point ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_formula ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_geometry ( graph : str , format : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_image ( graph : str , format : str , angle : int , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_logD ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_logP ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_melting_point ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_name ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_pKa ( graph : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- graph_to_solvation_energy ( graph : str , solventname : str , temperatures : List [ float ] , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- name_to_graph ( name : str , version : str = 'latest' , urgent : bool = False , progress : bool = False ) [source] ¶
- task_get ( directory : str , bucket : str ) [source] ¶
-
Downloads the input and output files of a Leruli Queue/Cloud task into a directory.
- task_prune ( bucket : str ) [source] ¶
-
Irreversibly deletes the Leruli Queue/Cloud store of input and output files.