pyfoldercheck package

Submodules

pyfoldercheck.configs module

configs.py

class pyfoldercheck.configs.Authorized[source]

Bases: Config

stuff which is authorized

chars_ok_for_files = '“”ìú'
chars_ok_for_folders = ''
class pyfoldercheck.configs.ConfigNames[source]

Bases: Config

Parameters for names authorization repository

all_over = False
repository = '/home/mark/.mp3lib_authorized_non_ascii.json'
repository_backup = '/home/mark/.mp3lib_authorized_non_ascii.json.back'
class pyfoldercheck.configs.ConfigRepository[source]

Bases: Config

Parameters to specify the repository

folder = '/mnt/seagate/mark/topics_archive/audio/abooks/by_name'

pyfoldercheck.main module

main.py

pyfoldercheck.main.main()[source]
pyfoldercheck.main.review_not_ascii() → None[source]

Only checks for name not previously authorized

pyfoldercheck.main.scan() → None[source]
pyfoldercheck.main.scan_files()[source]

pyfoldercheck.static module

version which can be consumed from within the module

pyfoldercheck.utils module

utils.py

pyfoldercheck.utils.add_non_ascii(set_to_add_to, string_to_scan)[source]
pyfoldercheck.utils.has_character(c, s)[source]
pyfoldercheck.utils.is_ascii(s, exceptions)[source]

Module contents

Initialize the module