Skip to main content

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


Download files

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

Source Distribution

yyxtools-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

yyxtools-0.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yyxtools-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 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.8.2

File hashes

Hashes for yyxtools-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c006769e1b8b440d2f744c4e9489816b5606974adb5a53c061b56def2f08a5a8
MD5 7ea967a7bd9cadbc61bca09c96dc87b2
BLAKE2b-256 f6a6731b5340cfbd0c97e1f1f8eeeb5aef6c49f878e154555d8c94178414d537

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yyxtools-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.8.2

File hashes

Hashes for yyxtools-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 904c4079b157962050e5550d18a0f5c4f266ff00fbf45506946bd55cb57138d7
MD5 e5e1cb128d1bbef2e7cef8316bf254e2
BLAKE2b-256 38de04b81c81ee57577fd2774c50a7c7fa215b6e0a63ce2f051d0615039ed0a5

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