file-clerk


Namefile-clerk JSON
Version 1.1.5 PyPI version JSON
download
home_pagehttps://github.com/HundredVisionsGuy/file-clerk
SummaryA collection of functions for dealing with files and file content.
upload_time2024-07-17 00:32:58
maintainerNone
docs_urlNone
authorhundredvisionsguy
requires_python<4.0,>=3.8
licenseMIT
keywords file handling paths clerk files
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.8",
    "maintainer_email": null,
    "keywords": "file handling, paths, clerk, files",
    "author": "hundredvisionsguy",
    "author_email": "cwinikka@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f7/82/4ad4b2d5f84d14e67cd8d204ed766444c74dcaeec6232d1ec30129bb3ca7/file_clerk-1.1.5.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.5",
    "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": "6ecd94747cc67afe4e05f1cb75557ae02dcd3bbce7c1e8a296685594a7bfe5e9",
                "md5": "4b3f002949c9f9711fef613442bb0192",
                "sha256": "4ac31c8b710ca86630422a20f56b84b22019d96ec405dbca088659bcb7a90f42"
            },
            "downloads": -1,
            "filename": "file_clerk-1.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b3f002949c9f9711fef613442bb0192",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 12657,
            "upload_time": "2024-07-17T00:32:56",
            "upload_time_iso_8601": "2024-07-17T00:32:56.473309Z",
            "url": "https://files.pythonhosted.org/packages/6e/cd/94747cc67afe4e05f1cb75557ae02dcd3bbce7c1e8a296685594a7bfe5e9/file_clerk-1.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7824ad4b2d5f84d14e67cd8d204ed766444c74dcaeec6232d1ec30129bb3ca7",
                "md5": "89a975c8a4352aa29ec58bb0cb7ff0b0",
                "sha256": "f29442a5652759f6dd5fe9e991860d54fcff4e9651949254fc8811fef6df2b2d"
            },
            "downloads": -1,
            "filename": "file_clerk-1.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "89a975c8a4352aa29ec58bb0cb7ff0b0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 9209,
            "upload_time": "2024-07-17T00:32:58",
            "upload_time_iso_8601": "2024-07-17T00:32:58.334582Z",
            "url": "https://files.pythonhosted.org/packages/f7/82/4ad4b2d5f84d14e67cd8d204ed766444c74dcaeec6232d1ec30129bb3ca7/file_clerk-1.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-17 00:32:58",
    "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"
}
        
Elapsed time: 0.31660s