Package: vizex
vizexis the terminal program for the UNIX/Linux systems which helps the user to visualize the disk space usage for every partition and media on the user's machine.vizexis highly customizable and can fit any user's taste and preferences.vizexdfis a new feature that allows to organize and print directory data in the terminal. With a recent release 2.0.4vizexdfdoes directory parsing using Asynchronious execution, which improved runtime perfromance by over 400%.You can checkfull release history here.Installationpipvizexcan be installed through your terminal and requiresPython >= 3.9and thepip package manager. Here'show to set up Pythonon your machine.If you don't have PyPackage Index (PyPI or justpip) installed,Here's the guide on how to install it. Installvizexwith the following command:pip install vizexIf you already have vizex install you'll need to upgrade it:pip install vizex --upgradeIf you encounter any problems during installation, know that somevizexdependencies require a Python 3 development package on Linux and you need to set up that manually.ForDebianand other derived systems (Ubuntu, Mint, Kali, etc.) you can install this with the following command:sudo apt-get install python3-devForRed Hatderived systems (Fedora, RHEL, CentOS, etc.) you can install this with the following command:sudo yum install python3-develAURvizexis available as a package on the AUR (Arch user repository), distributions with AUR support may install directly from the command line using their favoritepacmanhelper.Example usingyay:yay -S vizexHow it WorksAfter installing you can use two terminal commands:vizexto display the disk usage/space andvizexdf, which will print the data of a current working directory with sizes, file types and last modified date.This will graphically display disk space and usage:vizexvizexdfnew feature:vizextreeyou can now print tree of directory structure with the level you want. For example tree with level 1 onlyBy default level is set to 3 and path is a current path. But you can manually supply path, by just typing path you want to generate tree for, and using-loption to instruct how many levels of directories you want to print.For example:vizextree . -level 1vizexThe best part is that you can modify the colors and style of the display to your preferences with the following commands. For the example above command has excluded two partitions. You can also do give the following options:-d --header <color>
-s --style <attribute>
-t --text <color>
-g --graph <color>Display additional details, likefstypeandmount point, for each partition:vizex --detailsIf you are interested in visualizing a specific path run with the following command:vizex --path </full/path>You can also exclude any combination of partitions/disks with multiple-Xor for verbose--excludeoption:vizex -X <PartitionName1> -X <PartitionName2> ...You can also save the partitions full information incsvor injsonfile, just by calling--saveoption with the full path where you want your output to be saved:vizex --save "/home/user/disk_info.json"And if you are on laptop you can even call your battery information with simple argument:vizex batteryFor a full list of the available options please check:vizex --helpvizexdfYou can include hidden files and folders by calling--allor-afor short and sort the output with--sortor-sfor short based on name, file type, size, or date. Put it in descending order with the--descoption.You can chain multiple options but make sure to put the-sat the end as it requires a text argument. Example:vizexdf -ads nameThis will print current directory data sorted by name and in descending order and will include hidden files.Lastly, you save all the modifications by adding -l at the end of the command:vizex -d red -t blue --details -lThe next time you callvizex/vizexdfit will include all the options listed in the above command. If you decided to change the default calling command for vizex/vizexdf just include-land it will be overwrittenIf you want to contribute to the project you are more than welcome! But first, make sure all the tests run after you fork the project and before the pull request. First, run theaccess.py, that waytestsfolder will obtain a path to themainfolder and you can run all the tests.You can get the full set of features by calling--helpoption with command.Special Thanks to the Contributors!Follow Me on Social MediaRepo is distributed under the MIT license. Please see theLICENSEfor more information.