Skip to main content

tools for algorithm engineer

Project description

yyxtool

项目开发过程中常用的一些开发工具,减少自己的重复代码量。

##安装

pip install yyxtools

##使用

import yyxtools 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yyxutils-0.0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

yyxutils-0.0.1-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page