rics#
My personal little ML engineering library.
Environment variables#
- JTWILI#
Set
JTWILI=trueto disable the warning emitted byrics.configure_stuff().
Functions
|
Configure a bunch of stuff to match my personal preferences. |
- configure_stuff(level: int | str = 'INFO', rics_level: int | str = 'INFO', id_translation_level: int | str = 'INFO', matplotlib_level: int | str = 'WARNING', logging: bool = True, pandas: bool = True, plotting: bool = True, ghost: bool = True, **kwargs: Any) None[source]#
Configure a bunch of stuff to match my personal preferences. May do strange stuff π».
Warning
This function can and will change without warning, and will not be documented in the changelog. Donβt use for anything important.
Set
JTWILI=trueto disable the warning.- Parameters:
level β Log level for the root logger. Default is
logging.INFO.rics_level β Log level for the
ricspackage. Default islogging.INFO.id_translation_level β Log level for the
id_translationpackage. Default islogging.INFO.matplotlib_level β Log level for the
matplotlibpackage. Default islogging.WARNING.logging β If
True, attempt to perform logging configuration.pandas β If
True, attempt to perform pandas configuration.plotting β If
True, attempt to perform plotting (e.g. matplotlib) configuration.ghost β Set to
Falseto disable βπ» Configured some stuff just the way I like it!β.**kwargs β Keyword arguments for
rics.logs.basic_config()andlogging.basicConfig().
Modules
Action level enumeration types. |
|
CLI entrypoint. |
|
Utility functions and classes for working with https://pypi.org/project/click/ CLI applications. |
|
Collection utilities. |
|
Utilities for working with environment variables. |
|
Legacy module. |
|
Utilities for working with Jupyter. |
|
Utility methods for logging tasks. |
|
Miscellaneous utility methods for Python applications. |
|
Utility methods for working with paths and filesystems. |
|
Performance testing utility. |
|
Plotting utility methods. |
|
Utility functions that act on or produce strings. |
|
Types used by this package. |