tools for algorithm engineer
Project description
yyx_tools
项目开发过程中常用的一些开发工具,减少自己的重复代码量。
##安装
pip install yyx_tools
##使用
import yyx_tools as yt
##API
yt.file.save(dump_path, content, keep_ori) # 将str/np.array保存到指定文件中
yt.list.rm_elem(input_list, elem) # 检查elem是否存在于input_list中,如果存在则删除
yt.video.info(mp4_path) # 返回mp4信息,fps, total frames, image width, image height
yt.checkdir(dir_path) # 检查dir_path是否存在,如果不存在则创建
yt.load_yaml(yaml_path) # load yaml 并将其结构化和打印
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
yyx_tools-0.0.16.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yyx_tools-0.0.16.tar.gz.
File metadata
- Download URL: yyx_tools-0.0.16.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7730a4bce192259916d425bc21c74fd3fd3a871904c4ddb4689a31b58494009c
|
|
| MD5 |
449fbfacc0b2ae11a50111243e40eecd
|
|
| BLAKE2b-256 |
76f6c6105a4ea03392ee176e536f2419f139a2ee86b94f0052d0ed00a2687850
|
File details
Details for the file yyx_tools-0.0.16-py3-none-any.whl.
File metadata
- Download URL: yyx_tools-0.0.16-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e430a808a4664f1e8e997c5a8f04dd900c1158e2a2cf89d453b3a67755fe9e9f
|
|
| MD5 |
2fd3b603f4a077136c40d0bd5e63c950
|
|
| BLAKE2b-256 |
9cfc0331868d56e64de91385387e11d4784a5c25bbe30f7c831d7411ad922282
|