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:
# 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
Built Distribution
File details
Details for the file betterlib-0.1.1.tar.gz
.
File metadata
- Download URL: betterlib-0.1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 439c8f8e3353ea3f6afb364bec6f56605612b9a3d2137aba0a1ce046a33b9fa8 |
|
MD5 | 177ecbe95222be8ecfb5081aea82783b |
|
BLAKE2b-256 | 983643f1b0572e072a272e8d7e0bff1230bd398681e236e4dd3fcc4f3d5cd3fc |
File details
Details for the file betterlib-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: betterlib-0.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbb6e4ad3b092d68beb9f3eb1f1b79139fe7d1df77b3b4a6d64528565d3958d3 |
|
MD5 | 6eb77bc561197a2daeff0d0a25090fea |
|
BLAKE2b-256 | 3082990d6f819631d89804dd6fc67cc2806c4fdea7f15e467b48b33e7f43bb78 |