Package: python-humble-utils
Python Humble UtilsPython utils for everyday use.Documentation.Please,open issuesbefore sending emails to the maintainers: You will get a much faster response!Feature AreasFile operations.File/directory paths extraction.File/directory paths randomization.String case conversions.Python class convenience shortcuts.py.testfixtures and helpers.Installation$pipinstallpython-humble-utilsor install from sources:$pythonsetup.pyinstallRefer toInstallationfor detailed instructions.UsageimportosfrompathlibimportPathfrompython_humble_utils.filesystemimportyield_file_pathsfrompython_humble_utils.stringsimportcamel_or_pascal_case_to_snake_case# ...file_paths=yield_file_paths(dir_path=Path("dir")/"with"/"scripts",allowed_file_extensions=(".sh",".bash"),recursively=True)assertset(file_paths)==set(("s1.sh","s2.bash","s3.bash"))s=camel_or_pascal_case_to_snake_case("camelCasedString")asserts=="camel_cased_string"s=camel_or_pascal_case_to_snake_case("PascalCasedString")asserts=="pascal_cased_string"# ...ContributingYour contributions are very much welcome! Refer toContributingfor more details.Code of ConductAll those usingpython-humble-utils, including its codebase and project management ecosystem are expected to follow thePython Community Code of Conduct.AcknowledgementsThis package was initially scaffolded viaCookiecutterwithaudreyr/cookiecutter-pypackagetemplate.Historyv3.0.1v3.0.1.Sync usage guides.Update `HISTORY.rst.v3.0.0v3.0.0.Breaking changes:The following functions have been removed as part of theRemove redundant utilities/utilities making no senseeffort:extract_file_name_with_extensionextract_file_name_and_extensionextract_file_dir_pathparse_tuple_from_stringgenerate_hex_uuid_4generate_random_file_name_with_extensionget_class_nameget_class_qualnamePackage structure has been altered.Drop support for Python 3.5.Other changes:Update the docs.Switch from Python 3.6+ typing.Collection back to typing.Sequence for backward compatibility with Python 3.5.Support Python 3.8.Switch to native Python paths.Support Python 3.7.Upgrade all dependencies to the latest versions to date.v2.0.0v2.0.0.Move tests to the root.Pick another naming scheme for tests.Convert NamedTuple’s to classes and document them.Clean up docstrings.Stop indexing tests in docs.v1.0.4v1.0.4.Update HISTORY.v1.0.3v1.0.3.Fix deployment to the new PyPI.Mention python-humble-utils in “Open Source Projects using Hypothesis”.Move bumpversion configuration from setup.cfg to .bumpversion.cfg.Enclose notes in Note blocks.Remove entrypoint section from setup.py.Add insert utility.v1.0.2v1.0.2.Add Code Climate badge to README.v1.0.1v1.0.1.Fix README not rendered properly on PyPI.v1.0.0v1.0.0.Bump package Development Status.Test package deployment locally.Fix relative paths notice.Add Gitter badge.Fill in HISTORY.v0.5.0v0.5.0.Document python_humble_utils package.Introduce local requirements.Stop using pip-tools.Point out that all paths in docs are relative to the project root.Prevent pip-tools from injecting indirect requirements.Target stable docs version only.Fix README not rendered on PyPI.Ensure codecov evaluates coverage against payload files only.v0.4.0v0.4.0.Support Python 3.6.v0.3.0v0.3.0.Setup ReadTheDocs.v0.2.0v0.2.0.First release on PyPI.