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.7.tar.gz
(27.4 kB
view details)
Built Distribution
cheutils-2.1.7-py3-none-any.whl
(32.2 kB
view details)
File details
Details for the file cheutils-2.1.7.tar.gz
.
File metadata
- Download URL: cheutils-2.1.7.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 | 79d3509009a229ddfdca8b5a7c6fcba91774334ba9237c2cd9a94cdcd6eb0d65 |
|
MD5 | 26e7d5c58c7fc1bae130b1de0d898f87 |
|
BLAKE2b-256 | 0244abf88fe3598157ff2f533bf09a46207d8f4921b3bf8bc1a12cb78bbc3cc0 |
File details
Details for the file cheutils-2.1.7-py3-none-any.whl
.
File metadata
- Download URL: cheutils-2.1.7-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 | 73b02a0e034418d4d4b358678ac0b9e297d2aa087d8ea66ae9fb7f4d6f50f587 |
|
MD5 | e82016891f56028a89bfdf4c285afdb5 |
|
BLAKE2b-256 | 211e60bb64432cb8a7ac6d8f63fb8cf7ed69e080d48abe179d1dfb3612b65fb3 |