jwutils: Move to jwutils -> jw.util
Move all implementation source code from the jwutils module to jw.util. For compatibility with existing Python modules, keep a thin, autogenerated compatibility shim under jwutils. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
bc7652fdf9
commit
a2684dd601
1 changed files with 678 additions and 52 deletions
18
src/python/jwutils/cast.py
Normal file
18
src/python/jwutils/cast.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# ruff: noqa: E501
|
||||
from jw.util.cast import cast_str_to_timedelta as cast_str_to_timedelta
|
||||
from jw.util.cast import cast_str_to_int as cast_str_to_int
|
||||
from jw.util.cast import cast_str_to_bool as cast_str_to_bool
|
||||
from jw.util.cast import guess_type as guess_type
|
||||
from jw.util.cast import from_str as from_str
|
||||
from jw.util.cast import from_env as from_env
|
||||
from jw.util.cast import cast_str as cast_str
|
||||
|
||||
__all__ = [
|
||||
"cast_str_to_timedelta",
|
||||
"cast_str_to_int",
|
||||
"cast_str_to_bool",
|
||||
"guess_type",
|
||||
"from_str",
|
||||
"from_env",
|
||||
"cast_str",
|
||||
]
|
||||
Loading…
Reference in a new issue