<commit_before>Functions
---------------

.. autofunction:: pathvalidate.validate_excel_sheet_name

.. autofunction:: pathvalidate.sanitize_excel_sheet_name

.. autofunction:: pathvalidate.validate_filename

.. autofunction:: pathvalidate.validate_file_path

.. autofunction:: pathvalidate.sanitize_filename

.. autofunction:: pathvalidate.sanitize_file_path

.. autofunction:: pathvalidate.replace_symbol

.. autofunction:: pathvalidate.validate_sqlite_table_name

.. autofunction:: pathvalidate.validate_sqlite_attr_name

.. autofunction:: pathvalidate.validate_python_var_name

.. autofunction:: pathvalidate.sanitize_python_var_name<commit_msg>Update docs<commit_after>Functions
---------------

File name/path validate/sanitize
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: pathvalidate.validate_filename

.. autofunction:: pathvalidate.validate_file_path

.. autofunction:: pathvalidate.sanitize_filename

.. autofunction:: pathvalidate.sanitize_file_path


Excel validate/sanitize
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: pathvalidate.validate_excel_sheet_name

.. autofunction:: pathvalidate.sanitize_excel_sheet_name


SQLite validate/sanitize
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: pathvalidate.validate_sqlite_table_name

.. autofunction:: pathvalidate.validate_sqlite_attr_name


Python validate/sanitize
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: pathvalidate.validate_python_var_name

.. autofunction:: pathvalidate.sanitize_python_var_name


Symbol validate/sanitize
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: pathvalidate.replace_symbol

{'fraction_non_alphanumeric': 0.2072570725707257, 'fraction_numerical': 0.0, 'mean_word_length': 6.3954545454545455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5543307', 'n_tokens_mistral': 464, 'n_tokens_neox': 459, 'n_words': 57}