A set of basic reusable utilities and tools to facilitate quickly getting up and going on any machine learning project.
Project description
cheutils
A set of basic reusable utilities and tools to facilitate quickly getting up and going on any machine learning project.
Features
- project_tree: methods for accessing the project tree - e.g., accessing the data and output folders, loading and savings Excel and CSV.
- common_utils: methods to support common programming tasks, such as labeling or tagging and date-stamping files
- propertiesutil: utility for managing properties files or project configuration, based on jproperties
- decorator_debug, decorator_timer, and decorator_singleton: decorators for enabling logging and method timers; as well as a singleton decorator
Usage
import cheutils
# retrieve the path to the data folder, which is under the project root
get_data_dir() # returns the path to the project data folder, which is always interpreted relative to the project root
# the following provide access to the properties file, usually expected to be named "app-config.properties" and typically found in the project data folder or anywhere either in the project root or any other subfolder
# You also have access to the LOGGER - you can simply call LOGGER.debug() in a similar way to you will when using loguru or standard logging
APP_PROPS = AppProperties()
LOGGER = LoguruWrapper().get_logger()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cheutils-2.1.8.tar.gz
(27.4 kB
view details)
Built Distribution
cheutils-2.1.8-py3-none-any.whl
(32.2 kB
view details)
File details
Details for the file cheutils-2.1.8.tar.gz
.
File metadata
- Download URL: cheutils-2.1.8.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e36eaf087adb94d9e1f6f23638c31a51055bbf33f1b9afea616296e156ac05f |
|
MD5 | 6b8103cac92ca787bf08cfaa24f70892 |
|
BLAKE2b-256 | 4a64c59067e46da82808330d3a855806f892d4c62915667beb994b8099c79b1e |
File details
Details for the file cheutils-2.1.8-py3-none-any.whl
.
File metadata
- Download URL: cheutils-2.1.8-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 923f1725d2942bc0abc79ec11f29b39a4021966128ba82f1513d42c116f3ac5b |
|
MD5 | 0ef1cd7f0a91fccd516d18fe28eed9c4 |
|
BLAKE2b-256 | df268c189c6c11de983ee51b5251222568fe4123b62bb0c631b7ada20284dd0b |