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")`
Raw data
{
"_id": null,
"home_page": "https://github.com/HundredVisionsGuy/file-clerk",
"name": "file-clerk",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9.0",
"maintainer_email": null,
"keywords": "file handling, paths, clerk, files",
"author": "hundredvisionsguy",
"author_email": "cwinikka@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/45/7c/117a94a98c2f3ab46cc8fe447fbf30727b0154fa707afbf025513cff170b/file_clerk-1.1.9.tar.gz",
"platform": null,
"description": "file-clerk\n==========\n\nA collection of functions for dealing with files and file content.\n\nThis was a library I created for previous projects that deal with files\nand file paths in order to get code from files, lists of files in\nproject folders, file extensions, and allows us to capture just files\nof a particular type. I also developed my projects on Windows OS, so\nthese functions were designed to work with the file paths on Windows,\nMac, and Linux (Windows is the one with backslashes - wacky, I know.).\n\nTypical usage example:\n----------------------\n\n:code:`extension = get_file_type(\"path/to/file.js\")`\n\n:code:`code_string = file_to_string(\"path/to/file.html\")`\n\n:code:`project_path = \"path/to/project\"`\n:code:`all_project_files = get_all_project_files(project_path)`\n:code:`just_css_files = get_all_files_of_type(project_path, \"css\")`\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A collection of functions for dealing with files and file content.",
"version": "1.1.9",
"project_urls": {
"Documentation": "https://hundredvisionsguy.github.io/file-clerk/",
"Homepage": "https://github.com/HundredVisionsGuy/file-clerk",
"Repository": "https://github.com/HundredVisionsGuy/file-clerk"
},
"split_keywords": [
"file handling",
" paths",
" clerk",
" files"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e750b7cbb99a1658ead8fbd9c1474d22a0cc6241e002100d66bb48415169ba01",
"md5": "62f030d6b6e8d5cc6f61b95d3ef818f8",
"sha256": "595829dd22e7b256850a171cf1253ec44c6fa69bd72b309c0bcfda5e9f351ac7"
},
"downloads": -1,
"filename": "file_clerk-1.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "62f030d6b6e8d5cc6f61b95d3ef818f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9.0",
"size": 12641,
"upload_time": "2024-12-16T22:30:40",
"upload_time_iso_8601": "2024-12-16T22:30:40.966654Z",
"url": "https://files.pythonhosted.org/packages/e7/50/b7cbb99a1658ead8fbd9c1474d22a0cc6241e002100d66bb48415169ba01/file_clerk-1.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "457c117a94a98c2f3ab46cc8fe447fbf30727b0154fa707afbf025513cff170b",
"md5": "f829863e294b77b693c4fe9ab0b5560c",
"sha256": "ddb13fe69d3a5f0c5c33aedd39f6eff32e7b9584da5b676e3439e92b71d60a78"
},
"downloads": -1,
"filename": "file_clerk-1.1.9.tar.gz",
"has_sig": false,
"md5_digest": "f829863e294b77b693c4fe9ab0b5560c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9.0",
"size": 9135,
"upload_time": "2024-12-16T22:30:46",
"upload_time_iso_8601": "2024-12-16T22:30:46.354199Z",
"url": "https://files.pythonhosted.org/packages/45/7c/117a94a98c2f3ab46cc8fe447fbf30727b0154fa707afbf025513cff170b/file_clerk-1.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 22:30:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "HundredVisionsGuy",
"github_project": "file-clerk",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "file-clerk"
}