Skip to content

A collection of scripts for File Operations, String Validation

License

Notifications You must be signed in to change notification settings

MaxRocamora/python-backpack

Repository files navigation

PyPI Supported Python Versions PyPI version GitHub version codecov Message

Python-Backpack

A collection of personal scripts for JSON, File/Folder Operations, String Validation, Custom Errors, Cache and stuff.

Json

  • json_load()
  • json_save()
  • jsonMetaFile()
  • jsonUserSettings()

Files & Folders

  • browse_folder()
  • create_folders()
  • create_folder()
  • remove_files_in_dir()
  • recursive_dir_copy()
  • replace_strings_in_file()
  • remove_line_from_file()
  • file_is_writeable()

String Validation

  • reformat_input_string()
  • begin_or_end_with_numbers()
  • begin_with_number()
  • has_numbers()
  • camelcase_to_snakecase()

Custom Errors

  • EnvironmentVariableNotFound()
  • ApplicationNotFound()

Cache

  • timed_lru_cache

Test Utils

  • time_function_decorator()
  • random_string()

Others / Patterns

  • Singleton()

pip install

pip install python-backpack

About

A collection of scripts for File Operations, String Validation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published