Use it to import very handy functions.
Install¶
Required Module install¶
Modules BioPython
will be install with :class:yoda_powers
:
Global install¶
# for all users (require root privilege)
sudo pip3 install yoda_powers
# for own
pip3 install yoda_powers --user
Developing version¶
If you want to use an unofficial version of the yoda_powers
module, you need to work from
a clone of this git
repository.
following actions:
Clone from github
$ git clone https://github.com/sravel/yoda-powers.git
Go in the cloned directory
$ cd yoda-powers
Install
yoda-powers
in editable mode$ sudo pip3 install -e .
Sub module information¶
This module are split on three sub-module
yoda_powers.toolbox
: handy functions common for many scripts to easy check file/directory, load file info, …yoda_powers.display
: handy functions to display/write python object like dict of dict.yoda_powers.bio
: handy functions to manipulate biological data with Biopython.
Example of usage¶
Example:
>>> from yoda_powers.display import dict_2_txt
>>> dico = {'key1':'value1','key2':'value2','key3':'value3'}
>>> dict_2_txt(dico)
key1 value1
key2 value2
key3 value3
more info at https://yoda-powers.readthedocs.io/en/latest/