Metadata-Version: 2.1
Name: muuusiiik
Version: 0.0.35
Summary: simple utilities
Home-page: https://github.com/muuusiiik/utility
Author: @muuusiiik
Author-email: muuusiiikd@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# UTILITY PACKAGE
### OVER VIEW
* **timer** - counter a runtime 
* **configure** - reading configure file in yaml format
* **data** - load & save plain text & object 
* **hasher** - string hashing
* **param_tool** - convert between dict and plain-text
* **log** - log manager

### DEMO LOG 
``` python
import muuusiiik.util as msk

# define logger
logger = msk.log.GetLogger(level=msk.log.DEBUG, formatter='minimal')
hand   = msk.log.GetHandler(filename='logs/usage.log', when='daily', level=msk.log.WARNING, formatter='full')
logger.addHandler(hand)

# use logger
logger.info(' > info')
logger.debug(' > debug')
logger.warning(' > warning')
logger.error(' > error')
logger.critical(' > critical')
```

### DEMO PARSER
```python
import muuusiiik.parser as ps

```


### HOW TO BUILD A PACKAGE TO PYPI
prerequisite
``` shell
pip install setuptools wheel tqdm twine
```

build and upload package
```shell
# preparing tar.gz package 
python setup.py sdist
# uploading package to pypi server
python -m twine upload dist/* --verbose
```

install package
``` shell
# install latest version
pip install muuusiiik --upgrade
# specific version with no cache
pip install muuusiiik==0.0.11  --no-cache-dir
```


