faye


Namefaye JSON
Version 0.1.11 PyPI version JSON
download
home_pagehttps://github.com/battleoverflow/faye
SummaryBasic logging library with a customizable log message and progress bar!
upload_time2024-04-17 04:31:18
maintainerNone
docs_urlNone
authorbattleoverflow
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img src="https://raw.githubusercontent.com/battleoverflow/faye/main/assets/faye.jpg" />

Basic logging library with a customizable log message and progress bar!

The best way to utilize the Faye library is by installing via `pip`. You can install the library by running the following command:
```bash
pip install faye
```

## Usage
The library is currently limited due to it being updated on a necessity basis, but there are a few examples below to help with using it.

```python
# Import the Faye library
from faye import Faye

# Prints a "CRITICAL" log message to stdout
print(Faye.log(msg="Faye is awesome!", level="CRITICAL"))

# You can also use integer values for the level
print(Faye.log(msg="Faye is awesome!", level=5))

# Currently supported levels:
# - TRACE (0)
# - DEBUG (1)
# - INFO (2)
# - WARNING (3)
# - ERROR (4)
# - CRITICAL (5)

# You can add a splash of color to the logging as well
print(Faye.log(msg="Faye is awesome!", level="CRITICAL", color=True))

# Prints a basic progress bar to stdout
print(Faye.progress(total=100, description="Downloading..."))
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/battleoverflow/faye",
    "name": "faye",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "battleoverflow",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/44/2b/ab276a9690ed7a53f4ce8bacefcbd55321f570ffc23f7cc95a62049812d5/faye-0.1.11.tar.gz",
    "platform": null,
    "description": "<img src=\"https://raw.githubusercontent.com/battleoverflow/faye/main/assets/faye.jpg\" />\n\nBasic logging library with a customizable log message and progress bar!\n\nThe best way to utilize the Faye library is by installing via `pip`. You can install the library by running the following command:\n```bash\npip install faye\n```\n\n## Usage\nThe library is currently limited due to it being updated on a necessity basis, but there are a few examples below to help with using it.\n\n```python\n# Import the Faye library\nfrom faye import Faye\n\n# Prints a \"CRITICAL\" log message to stdout\nprint(Faye.log(msg=\"Faye is awesome!\", level=\"CRITICAL\"))\n\n# You can also use integer values for the level\nprint(Faye.log(msg=\"Faye is awesome!\", level=5))\n\n# Currently supported levels:\n# - TRACE (0)\n# - DEBUG (1)\n# - INFO (2)\n# - WARNING (3)\n# - ERROR (4)\n# - CRITICAL (5)\n\n# You can add a splash of color to the logging as well\nprint(Faye.log(msg=\"Faye is awesome!\", level=\"CRITICAL\", color=True))\n\n# Prints a basic progress bar to stdout\nprint(Faye.progress(total=100, description=\"Downloading...\"))\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Basic logging library with a customizable log message and progress bar!",
    "version": "0.1.11",
    "project_urls": {
        "Homepage": "https://github.com/battleoverflow/faye"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f381108a59f827516a5cc75b8c6525981e578e6d701983f8650cc8885251bb1",
                "md5": "47701f80198cb873031c68b52cbe8fa4",
                "sha256": "fc10c35e2de8bcea807dd4dff2a9f8fac57843956402e98f3794d63f32da5f3d"
            },
            "downloads": -1,
            "filename": "faye-0.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "47701f80198cb873031c68b52cbe8fa4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2504,
            "upload_time": "2024-04-17T04:31:17",
            "upload_time_iso_8601": "2024-04-17T04:31:17.423884Z",
            "url": "https://files.pythonhosted.org/packages/5f/38/1108a59f827516a5cc75b8c6525981e578e6d701983f8650cc8885251bb1/faye-0.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "442bab276a9690ed7a53f4ce8bacefcbd55321f570ffc23f7cc95a62049812d5",
                "md5": "53d6f8ef7a14a74cbeea48754e371ef3",
                "sha256": "73833a34771df74b85c96f9945baed15260d2984da95ca3c2eab22b54df6c023"
            },
            "downloads": -1,
            "filename": "faye-0.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "53d6f8ef7a14a74cbeea48754e371ef3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2429,
            "upload_time": "2024-04-17T04:31:18",
            "upload_time_iso_8601": "2024-04-17T04:31:18.889820Z",
            "url": "https://files.pythonhosted.org/packages/44/2b/ab276a9690ed7a53f4ce8bacefcbd55321f570ffc23f7cc95a62049812d5/faye-0.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-17 04:31:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "battleoverflow",
    "github_project": "faye",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "faye"
}
        
Elapsed time: 0.29572s