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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file yyxutils-0.0.1.tar.gz.

File metadata

  • Download URL: yyxutils-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for yyxutils-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2ed7f2466600fdfb42523f4828919ee15ad932708ed1636fad474bc533b2c15b
MD5 eb2ccaee138ae9e07ef30dba5da141c3
BLAKE2b-256 905eb82deba82967e3c13be34c1b30872ac7ce3293bd967093951cc9a78517f2

See more details on using hashes here.

File details

Details for the file yyxutils-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: yyxutils-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for yyxutils-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67c49e116ac043ad61591d2d0d7e860d9b3d0c0a5cd516f8704b2335d90565cb
MD5 24c07229d5d2ab7d9e521afe842cb5e8
BLAKE2b-256 65358ac421554f309bd205781329c426af084ccb7a0ade73a467ecfbe40199ee

See more details on using hashes here.

Supported by

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