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. |
Classes
Magical return type of |
- class ConfigureStuff[source]#
Bases:
objectMagical return type of
configure_stuff(). The same caveats apply.
- 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, **kwargs: Any) ConfigureStuff[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.**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. |