file-clerk


Namefile-clerk JSON
Version 1.1.4 PyPI version JSON
download
home_pagehttps://github.com/HundredVisionsGuy/file-clerk
SummaryA collection of functions for dealing with files and file content.
upload_time2023-11-24 19:52:41
maintainer
docs_urlNone
authorhundredvisionsguy
requires_python>=3.8,<4.0
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": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "file handling,paths,clerk,files",
    "author": "hundredvisionsguy",
    "author_email": "cwinikka@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0d/32/f6e847f04e5b808322e8407abc28e5c2fa040c7818277864cbd3e734dbc1/file_clerk-1.1.4.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.4",
    "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": "38cfa1b57240c5b38fb838bdaa3802ad847e73e32f3a0efca0678d61872c9728",
                "md5": "35c9e2cf714ba1930043686664111347",
                "sha256": "7dc3f07c9ce48058a43a58f1da6eaf5d964a61d745742cf3bda829c349052459"
            },
            "downloads": -1,
            "filename": "file_clerk-1.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35c9e2cf714ba1930043686664111347",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 12669,
            "upload_time": "2023-11-24T19:52:40",
            "upload_time_iso_8601": "2023-11-24T19:52:40.283875Z",
            "url": "https://files.pythonhosted.org/packages/38/cf/a1b57240c5b38fb838bdaa3802ad847e73e32f3a0efca0678d61872c9728/file_clerk-1.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0d32f6e847f04e5b808322e8407abc28e5c2fa040c7818277864cbd3e734dbc1",
                "md5": "536d6f07f94a3287810b42eb859fb382",
                "sha256": "fefcc0af960aa09633534b32928c46ba5b69bf3c1397933f48c0b6542df60af4"
            },
            "downloads": -1,
            "filename": "file_clerk-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "536d6f07f94a3287810b42eb859fb382",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 9227,
            "upload_time": "2023-11-24T19:52:41",
            "upload_time_iso_8601": "2023-11-24T19:52:41.324519Z",
            "url": "https://files.pythonhosted.org/packages/0d/32/f6e847f04e5b808322e8407abc28e5c2fa040c7818277864cbd3e734dbc1/file_clerk-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-24 19:52:41",
    "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.14315s