Skip to main content

A useful collection of various tools and libraries for anyone to use in their projects.

Project description

BetterLib

BetterLib is a useful collection of utilities for Python developers to use in their projects. It is licensed under the Unlicense, so you can use it in any project, commercial or otherwise, without any restrictions whatsoever. (Yes, that means you can steal it and pass it off as your own. I won't judge.)

Installation

BetterLib is available on PyPI, so you can install it with pip:

pip install betterlib

Usage

BetterLib is split into several modules, each of which contains a collection of related utilities. You can import the entire library, or just the modules you need.

# Import the entire library...
import betterlib
# or import just the modules you need.
from betterlib import logging, config, ip...

Modules

betterlib.logging

This module contains a collection of utilities for logging. It is a powerful system that fully implements the standards set forth by the Python logging library, but with a few extra features, such as the ability to log to a file and to the console with color output via colorama. This module is the most versitile of all of them, and is generally recommended for all projects.

betterlib.config

This module contains a high-level abstraction that allows you to easily manage json configuration files.

betterlib.ip

This module contains various utilities for working with IP and MAC addresses.

betterlib.quik

This module contains the QuikServer class, which is a simple and easy to set up HTTP server that can be used to serve files or dynamically generated content.

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

betterlib-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

betterlib-0.1.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file betterlib-0.1.2.tar.gz.

File metadata

  • Download URL: betterlib-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for betterlib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a4164c9a41a0e18686440ef0d47c53a49a551e588d6977e2bcaad00859253086
MD5 fd28ffe965b7193561b1984c3bd47c7e
BLAKE2b-256 8938abf51336868aad1e180078173a19afe75306ad28ed3adb7a81f4093d9767

See more details on using hashes here.

File details

Details for the file betterlib-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: betterlib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for betterlib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7856c355bb4cb608f9e0534a33bed922dc3312726783271061134f76286e7e0
MD5 447335ac0db33122956e2eef635846bb
BLAKE2b-256 fcdae6c02470b43ba6e3188204cceb9fd1e1e7cba16c317b7477b8a7ec41854d

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