Some useful functions.
Project description
xfunctions
Usage
import xfunctinos as xf
methods:
xf.sleep(t: int)
xf.get_dict_by_keys(source, keys: list or dict, default_none: bool = True)
xf.strip_in_list(the_list)
xf.remove_in_list(the_list: list, ele=None)
xf.strip_and_remove_in_list(the_list: list, ele=None)
xf.x_mix(list_in_list, i=1, target=None)
xf.path_join(base_dir: str, paths)
xf.django_orm_row_may_update(row, source, keys)
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
xfunctions-0.1.9.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for xfunctions-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b5649c8c1a85a254797176b6398bd19fc65a47643d4519ff94ba78c6b27aad |
|
MD5 | bff98e946e98870eb6617a06eb7f556a |
|
BLAKE2b-256 | dd0eaf445ff490d02b49e680c23dec6d34d5dac23e2fb7bf8314bb9beecfc968 |