Some tools function
Project description
guang
Scientific calculation of universal function library
Requirements
Python 3
CUDA >= 10.0
PyTorch >= 1.0
Tensorflow >= 1.12.0
opencv-python
pydub
librosa==0.6.3
pyworld
soundfile
pypinyin
Installation
pip install guang
Examples
-
Convert audio in .mp3/ .wav format to (sample rate=16k, single channel) .wav format
from guang.Voice.convert improt cvt2wav cvt2wav(orig_path, target_path, sr=16000)
-
Convert a dictionary to dotable dictionary:
from guang.Utilt.toolsFunc import dict_dotable a = {'a':{'b':1}} a = dict_dotable(a) print(a.a.b)
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
guang-0.0.7.2.7.tar.gz
(19.0 kB
view hashes)
Built Distribution
guang-0.0.7.2.7-py3-none-any.whl
(35.7 kB
view hashes)
Close
Hashes for guang-0.0.7.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b1f198ba550ad322367a7ea40b403ec46402128c0c5c0c502bd69a45c972b8b |
|
MD5 | 2887ecaa33715ed6cde24921b99b54d1 |
|
BLAKE2b-256 | 81348aaaaeea6887062d7f622276fea59fd2ddf8a2e49a2d80630d8660a362cf |