IgorMan Github

IgorMan
https://github.com/IgorMan2005


screen_cls

Python script for clearing screen for any OS's: Windows, MAC, Linux
screen_cls
:
screen_cls python
https://github.com/IgorMan2005/screen_cls
https://pypi.org/project/screen-cls/



openai_image

Python script for generating image from text by Open AI
openai_image
Simple to use:

Example1:
import openai_image
openai_image.get_image()

Prompt target text: blue bird

openai image blue bird
Your image file ready: /images/blue_bird.jpg

Example2:
import openai_image
openai_image.get_image('Alice in Wonderland')

openai image Alice in Wonderland
Your image file ready: /images/Alice_in_Wonderland.jpg


https://github.com/IgorMan2005/openai_image
https://pypi.org/project/openai-image/




backupdir

The program copies the source directory (with all files and subdirectories) to the specified LOCAL location and zips it.
backupdir
Simple to use:

Example1:
import backupdir

# ARCHIVE LOCAL
SOURCE_DIR = 'D:\\Documents' # use current dir when SOURCE_DIR = ''
TARGET_DIR = 'E:\\Archive\\Documents'

backupdir.archive_local(SOURCE_DIR, TARGET_DIR)

Example2:
import backupdir

# ARCHIVE NETWORK
SOURCE_DIR = '\\\\192.168.100.1\\source'
TARGET_DIR = '\\\\192.168.100.2\\target'

backupdir.archive_local(SOURCE_DIR, TARGET_DIR)


https://github.com/IgorMan2005/backupdir
https://pypi.org/project/backupdir/




fnlength

Python filename length script.
The program enumerates the file in subdirectories and shortens long filenames to the specified number of characters.
function will create log file in top dir with name log_%Y%m%d.log

fnlength
Simple to use:

Example:
import fnlength

target = fnlength.fnlength()

# default 25
target.MAX_FILENAME_LENGTH = 30

target.start()


https://github.com/IgorMan2005/fnlength
https://pypi.org/project/fnlength/