Package: pyqo
pyqoA set of useful command line scripts to navigate through your files and directories, and to get informed quickly.CompatibilityFully compatible with :Windows7 and higher.Linuxdistributions running under the X Window System.RequiresPython 3. Tested onPython 3.6.UsageInstall thePyPI package:$ pip install pyqoand you're ready to go.You can also clone the repository:$ git clone https://github.com/Whenti/pyqoordownload and extract the zip, and then run the setup:$ python setup.py installCheck thecommands documentation belowto see what is available.DependenciesSee therequirements.txtfile for details.AuthorsQuentin LÉVÊQUE-WhentiLicenseThis project is proudly licensed under the MIT License - see theLICENSE.mdfile for details.CommandsBelow we briefly describe the different commands ofpyqo. Make sure to use the--helpoption for more details.CommandvAssociative table to save small variables. Seev --helpfor more details.Example$ # save the value '+44 1234 123456' under the key 'john_number'

$ v john_number -a '+44 1234 123456'

$ # print John's number

$ v john_number

$ # forget John's number

$ v john_number -dCommandfOpen your favourite files with ease. Seef --helpfor more details.Example$ cd ~

$ # associate permanently the key 'bashrc' to the file '~/.bashrc'

$ f bashrc -a .bashrc

$ cd ~/Documents/games

$ # open the '~/.bashrc' file

$ f bashrcCommanddOpen the file manager to your favourite directories with ease.The commanddshares its data with the commandc.Seed --helpfor more details.Example$ cd ~/Documents/games

$ # open the current working directory, here '~/Documents/games'

$ d

$ # associate permanently the key 'films' to '~/Documents/films'

$ d films -a /home/pyqo/Documents/films

$ # open '~/Documents/films'

$ d filmsCommandiOpen your favourite websites with ease. Seei --helpfor more details.Example$ # associate permanently the key 'github' to 'http://www.github.com'

$ i github -a http://www.github.com

$ # associate permanently the key 'so' to 'https://stackoverflow.com/'

$ i so -a https://stackoverflow.com/

$ # open the two websites on the existing webbrowser window

$ i github so

$ # open github and performs a google search for 'python' on a new webbrowser window

$ i -n github -g pythonCommandcSet the working directory of the command line to your favourite directories with ease.For a script to alter the current environment, it requiressource'ing in linux.We suggest you to create an alias to avoid doing it manually :alias c="source c".The commandcshares its data with the commandd.Seec --helpfor more details.Example$ cd ~/Documents/games

$ # associate permanently the key 'games' to '~/Documents/games'

$ c games -a .

$ # associate permanently the key 'films' to '~/Documents/films'

$ c films -a /home/pyqo/Documents/films

$ # equivalent to 'cd ~/Documents/films'

$ c films

$ # equivalent to 'cd ~/Documents/games'

$ c gamesCommandsynSearches for all synonyms of the word given in parameter (french). Seesyn --helpfor more details.Example$ # searches for all synonyms of 'gentil'

$ syn gentilCommandsayLaunches a synthesized voice that reads the given parameters. Seesay --helpfor more details.Example$ say "Hi, how are you ?"CommandantoSearches for all antonyms of the word given in parameter (french). Seeanto --helpfor more details.Example$ # searches for all antonyms of 'gentil'

$ anto gentilCommandrandDisplay a random integer. Seerand --helpfor more details.Example$ # randomly draw an integer between 5 and 10

$ rand -m 5 -M 10CommandygetDownloads in the current folder the youtube video whose url is passed as a parameter. Seeyget --helpfor more details.Example$ # downloads the youtube video '"Sweet Victory" Performance'

$ yget https://www.youtube.com/watch?v=k9iYm9PEAHgCommanddefineSearches for the definition of the word given in parameter (french). Seedefine --helpfor more details.Example$ # searches for the definition of 'gentil'

$ define gentil