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.6.tar.gz
(27.4 kB
view details)
Built Distribution
cheutils-2.1.6-py3-none-any.whl
(32.2 kB
view details)
File details
Details for the file cheutils-2.1.6.tar.gz
.
File metadata
- Download URL: cheutils-2.1.6.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 | 20cc8a00f32f1405a72dd194085f4db82789128671285539b666a43353cc9269 |
|
MD5 | 4794abd90c7798109de0d79d3c31ceaa |
|
BLAKE2b-256 | 78a556d721d9084790e1232508836d8a1942b0fbdace850c9a5b03f2e58b65f3 |
File details
Details for the file cheutils-2.1.6-py3-none-any.whl
.
File metadata
- Download URL: cheutils-2.1.6-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 | 571050fca4d1491907a5b31879d99da0b85e82f38c1f00414a9273970c5847c0 |
|
MD5 | e0c1d358707a40a51b6333aaa77487dd |
|
BLAKE2b-256 | 20a09b5dbda3df6720e37e79b4c7ac3884159440fd7f6c8bd9ad8a8bb348b2a6 |