GreyLabsDev / PythonUtils

Some Python code, that I write to solve work tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PythonUtils

Some Python code, that I write to solve work tasks

PMatrix.py

Script, working like console application. Made for creating access matrix for set of users in linux-like operation systems.

Dependencies:

  • Temcolor. To install it use command 'sudo pip install termcolor'

Use example:

This example creates html table with users from users.txt file and their permissions to directories from dirs.txt file

sudo python PMatrix.py

check permissions users.txt dirs.txt -matrixHTML

Screenshots:

Interface

screenshoot

Result

screenshoot

augmentDatasets.py

This script creating randomly augmented/distorted images for machine learning tasks.

Dependencies:

  • Augmentor. To install it use command 'sudo pip install Augmentor'

Use example:

This example creates 1000 augmented images, based on source images from directories in datasets.txt file

python augmentDatasets.py 1000 datasets.txt

About

Some Python code, that I write to solve work tasks

License:MIT License


Languages

Language:Python 100.0%