Skip to main content

pyqo

A set of useful command line scripts to navigate through your files and directories, and to get informed quickly.

Compatibility

Fully compatible with :

  • Windows 7 and higher.

  • Linux distributions running under the X Window System.

Requires Python 3. Tested on Python 3.6.

Usage

Install the PyPI package:


$ pip install pyqo

and you're ready to go.

You can also clone the repository:


$ git clone https://github.com/Whenti/pyqo

or download and extract the zip, and then run the setup:


$ python setup.py install

Check the commands documentation below to see what is available.

Dependencies

See the requirements.txt file for details.

Authors

License

This project is proudly licensed under the MIT License - see the LICENSE.md file for details.

Commands

Below we briefly describe the different commands of pyqo. Make sure to use the --help option for more details.

Command v

Associative table to save small variables. See v --help for 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 -r

Command f

Open your favourite files with ease. See f --help for 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 bashrc

Command d

Open the file manager to your favourite directories with ease.

The command d shares its data with the command c.

See d --help for 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 films

Command i

Open your favourite websites with ease. See i --help for 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 python

Command c

Set the working directory of the command line to your favourite directories with ease.

For a script to alter the current environment, it requires source'ing in linux.

We suggest you to create an alias to avoid doing it manually : alias c="source c".

The command c shares its data with the command d.

See c --help for 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 games

Command ant

Searches for all antonyms of the word given in parameter (french). See ant --help for more details.

Example


$ # searches for all antonyms of 'gentil'

$ ant gentil

Command syn

Searches for all synonyms of the word given in parameter (french). See syn --help for more details.

Example


$ # searches for all synonyms of 'gentil'

$ syn gentil

Command say

Launches a synthesized voice that reads the given parameters. See say --help for more details.

Example


$ say "Hi, how are you ?"

Command rand

Display a random integer. See rand --help for more details.

Example


$ # randomly draw an integer between 5 and 10

$ rand -m 5 -M 10

Command yget

Downloads in the current folder the youtube video whose url is passed as a parameter. See yget --help for more details.

Example


$ # downloads the youtube video '"Sweet Victory" Performance'

$ yget https://www.youtube.com/watch?v=k9iYm9PEAHg

Command define

Searches for the definition of the word given in parameter (french). See define --help for more details.

Example


$ # searches for the definition of 'gentil'

$ define gentil

Metadata

Release files for pyqo 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqo 0.0.2
File Size Uploaded
pyqo-0.0.2.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyqo 0.0.2
File Interpreter ABI Platform
pyqo-0.0.2-py3.6.egg Legacy Egg format - - Details

Total release size: 58.5 kB

Release files / pyqo-0.0.2.tar.gz

Download URL pyqo-0.0.2.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
def85bcbd8ad83818eb5cd3eb1138965a78b9305eebe8168e3afea965fdcd31c
BLAKE2b-256 checksum
How to use checksums
b3c772f464e27129eca0919a3897db1465ed0067a073ac256dfdfcfbb340cf5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release files / pyqo-0.0.2-py3.6.egg

Download URL pyqo-0.0.2-py3.6.egg
Size 43.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
31989b0e93ce32e1815ba66b8ee1025ffdbe8c95c13cefa746d88da5dfb01b27
BLAKE2b-256 checksum
How to use checksums
3ccbd725db671ab72eda76f0562d6e06f74db30248c1c0932f6b88591200d4a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release history Release notifications | RSS feed

0.1.1

1 release file

0.1.0

1 release file

0.0.8

1 release file

0.0.7

2 release files

0.0.6

2 release files

0.0.5

3 release files

0.0.4

3 release files

0.0.3

3 release files

This release

0.0.2 This release

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page