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.9.tar.gz
(27.4 kB
view details)
Built Distribution
cheutils-2.1.9-py3-none-any.whl
(32.2 kB
view details)
File details
Details for the file cheutils-2.1.9.tar.gz
.
File metadata
- Download URL: cheutils-2.1.9.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 | 1bf33411137cbc23c71c3ce5808897a36d954c63cba6723f79abcbd596cd7e5e |
|
MD5 | c6887d09e720ffc14fc9bdb7999287e7 |
|
BLAKE2b-256 | a808f2e4dddc64fc1a6cc7a089fb0afa7c4e663765826a625a9a687e347a3f8a |
File details
Details for the file cheutils-2.1.9-py3-none-any.whl
.
File metadata
- Download URL: cheutils-2.1.9-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 | 457fa2e20546811fc859b9e49eca0e5c0c64c445f1be99367b12cc37813ae76e |
|
MD5 | e63659a1e5ab14307fd40766e701a414 |
|
BLAKE2b-256 | 962b9bb8e203ccdb6e86f805a17ddcd3f5819eb35cfbb3ff7701d61db40c0d1c |