Metadata-Version: 2.1
Name: guang
Version: 0.0.7.2.7
Summary: Some tools function
Home-page: https://github.com/beidongjiedeguang/Tools
Author: K.y
Author-email: beidongjiedeguang@gmail.com
License: GPL-v3
Keywords: Deep Learning,Machine Learning,Neural Networks,Natural Language Processing,Computer Version
Platform: UNKNOWN
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown

# guang

[![image](https://img.shields.io/badge/Pypi_package-0.0.5-green.svg)](https://pypi.org/project/guang)
[![image](https://img.shields.io/badge/python-3.X-blue.svg)](https://www.python.org/)
[![image](https://img.shields.io/badge/license-GNU_GPL--v3-blue.svg)](LICENSE)
[![image](https://img.shields.io/badge/author-K.y-orange.svg?style=flat-square&logo=appveyor)](https://github.com/beidongjiedeguang)



Scientific calculation of universal function library

## Requirements

```python
Python 3
CUDA >= 10.0
PyTorch >= 1.0
Tensorflow >= 1.12.0
opencv-python
pydub
librosa==0.6.3
pyworld
soundfile
pypinyin
```



## Installation

```bash
pip install guang
```



# Examples

- Convert audio in .mp3/ .wav format to (sample rate=16k, single channel) .wav format

  ```python
  from guang.Voice.convert improt cvt2wav
  cvt2wav(orig_path, target_path, sr=16000)
  ```



* Convert a dictionary to dotable dictionary:

  ```python
  from guang.Utilt.toolsFunc import dict_dotable
  a = {'a':{'b':1}}
  a = dict_dotable(a)
  print(a.a.b)
  ```

* 





