Skip to main content

Python Utilities

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-backpack-1.0.5.tar.gz (26.2 kB view hashes)

Uploaded Source

Built Distribution

python_backpack-1.0.5-py3-none-any.whl (32.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page