Skip to main content

Python package for daily Tasks

Project description

from iman import Audio: 1-Read(filename,sr) 2-Resample(data , fs, sr) 3-Read_Alaw(filename) 4-ReadMp3(filename,sr,mono=True) 5-Write(filename, data ,fs) 6-frame(y) 7-split(y)

from iman import : 1-plt 2-now() (get time) 3-F (format floating point) 4-D (format int number) 5-Write_List(MyList,Filename) 6-Write_Dic(MyDic,Filename) 7-Read(Filename) (read txt file) 8-Read_Lines(Filename) (read txt file line by line and return list) 9-Write(_str,Filename) 10-gf(pattern) (Get files in a directory) 11-gfa(directory , ext=”.*”) (Get Files in a Directory and SubDirectories) 12-ReadE(Filename) (Read Excel files) 13-PM(dir)(creat directory) 14-PB(fname)(get basename) 15-PN(fname) (get file name) 16-PE(fname)(get ext) 17-PD(fname)(get directory) 18-PS(fname)(get size) 19-PJ(segments) (Join Path) 20-clear() (clear cmd) 21-os 22-np 23-RI(start_int , end_int , count=1) (random int) 24-RF(start_float , end_float , count=1) (random float) 25-RS(Arr) (shuffle)

from iman import info: 1-get() info about cpu and gpu (need torch) 2-cpu() (get cpu percentage usage) 3-gpu() (get gpu memory usage) 4-memory() (get ram usage GB) 5-plot(fname=”log.txt” , delay=1)

from iman import metrics: 1-EER(lab,score) 2-cosine_distance(v1,v2) 3-roc(lab,score) 4-wer(ref, hyp) 5-cer(ref, hyp) 6-wer_list(ref_list , hyp_list) 7-cer_list(ref_list , hyp_list)

from iman import tsne: 1-plot(fea , label)

from iman import xvector: 1-xvec,lda_xvec,gender = get(filename , model(model_path , model_name , model_speaker_num))

from iman import web: 1-change_wallpaper() 2-dl(url)

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

iman-0.0.15.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

iman-0.0.15-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file iman-0.0.15.tar.gz.

File metadata

  • Download URL: iman-0.0.15.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.0

File hashes

Hashes for iman-0.0.15.tar.gz
Algorithm Hash digest
SHA256 b5aa6c26e9772b9534494b394faaddb96c72b79591daa7d27fb192aba82f2ce0
MD5 2cf94d43458f059679615b1396a8e6e9
BLAKE2b-256 97fdf9b2c1f4bf33c33c27bb53dbef3bea45363112d9a754d62f42f5b0a9f7e2

See more details on using hashes here.

File details

Details for the file iman-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: iman-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.0

File hashes

Hashes for iman-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 1d6d199472419957862b8706ef9804f70575947f414d13a7b26881187a97fd19
MD5 0d3a97a9f9735fe093ec38e3225eda7b
BLAKE2b-256 5c0cde4f4c58d375f1515df9f00f4a70fb08f7d78136f701b89aecb04877cb4c

See more details on using hashes here.

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