Skip to main content

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

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:

# TODO: publish package to pypi

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.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

betterlib-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: betterlib-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 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.0.tar.gz
Algorithm Hash digest
SHA256 30afd98e183379c2485d5ff8d72941bc2128c3c0ef6a20bdb80a09c1f6b4261a
MD5 b693f8fcef6ecd1f1ebd2d3c49d527f6
BLAKE2b-256 c943947da8cb78d135987b22386e76d927bea523b3ea32c943c94a2e17f09887

See more details on using hashes here.

File details

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

File metadata

  • Download URL: betterlib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9ec7452e6577b630a091b8a0430c1619ae947fd09da0edc6cd3aa459b5a76c5
MD5 d9e5cf212209d3fec43a16eb9802bcc1
BLAKE2b-256 c58b4c6ebe1b17f615ff81dd34766a15880702111284edf4d302fa7bb841b570

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