Metadata-Version: 2.3
Name: file-clerk
Version: 1.1.13
Summary: A collection of functions for dealing with files and file content.
License: MIT
Keywords: file handling,paths,clerk,files
Author: hundredvisionsguy
Author-email: cwinikka@gmail.com
Requires-Python: >=3.9.0,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Provides-Extra: docs
Requires-Dist: Sphinx (==4.2.0) ; extra == "docs"
Requires-Dist: autodoc
Requires-Dist: autoflake8
Requires-Dist: black
Requires-Dist: bs4
Requires-Dist: isort
Requires-Dist: mkdocs
Requires-Dist: mkdocs-awesome-pages-plugin
Requires-Dist: mkdocs-enumerate-headings-plugin
Requires-Dist: mkdocs-git-authors-plugin
Requires-Dist: mkdocs-git-revision-date-localized-plugin
Requires-Dist: mkdocs-img2fig-plugin
Requires-Dist: mkdocs-material
Requires-Dist: mkdocs-minify-plugin
Requires-Dist: mkdocs-print-site-plugin
Requires-Dist: mkdocs-table-reader-plugin
Requires-Dist: mkdocstrings
Requires-Dist: mkdocstrings-python
Requires-Dist: mkgendocs
Requires-Dist: mknotebooks
Requires-Dist: nltk
Requires-Dist: pip-licenses
Requires-Dist: pre-commit
Requires-Dist: pyrsistent
Requires-Dist: sphinx-rtd-theme (==1.0.0) ; extra == "docs"
Requires-Dist: sphinxcontrib-napoleon (==0.7) ; extra == "docs"
Requires-Dist: tqdm
Project-URL: Documentation, https://hundredvisionsguy.github.io/file-clerk/
Project-URL: Homepage, https://github.com/HundredVisionsGuy/file-clerk
Project-URL: Repository, https://github.com/HundredVisionsGuy/file-clerk
Description-Content-Type: text/x-rst

file-clerk
==========

A collection of functions for dealing with files and file content.

This was a library I created for previous projects that deal with files
and file paths in order to get code from files, lists of files in
project folders, file extensions, and allows us to capture just files
of a particular type. I also developed my projects on Windows OS, so
these functions were designed to work with the file paths on Windows,
Mac, and Linux (Windows is the one with backslashes - wacky, I know.).

Typical usage example:
----------------------

:code:`extension = get_file_type("path/to/file.js")`

:code:`code_string = file_to_string("path/to/file.html")`

:code:`project_path = "path/to/project"`
:code:`all_project_files = get_all_project_files(project_path)`
:code:`just_css_files = get_all_files_of_type(project_path, "css")`

