Skip to main content

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

Project description

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:

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.

# 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..."))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faye-0.1.11.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

faye-0.1.11-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file faye-0.1.11.tar.gz.

File metadata

  • Download URL: faye-0.1.11.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.65.0 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/1.5.0 colorama/0.4.6 CPython/3.11.7

File hashes

Hashes for faye-0.1.11.tar.gz
Algorithm Hash digest
SHA256 73833a34771df74b85c96f9945baed15260d2984da95ca3c2eab22b54df6c023
MD5 53d6f8ef7a14a74cbeea48754e371ef3
BLAKE2b-256 442bab276a9690ed7a53f4ce8bacefcbd55321f570ffc23f7cc95a62049812d5

See more details on using hashes here.

File details

Details for the file faye-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: faye-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.65.0 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/1.5.0 colorama/0.4.6 CPython/3.11.7

File hashes

Hashes for faye-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fc10c35e2de8bcea807dd4dff2a9f8fac57843956402e98f3794d63f32da5f3d
MD5 47701f80198cb873031c68b52cbe8fa4
BLAKE2b-256 5f381108a59f827516a5cc75b8c6525981e578e6d701983f8650cc8885251bb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page