Metadata-Version: 2.1
Name: dacutil
Version: 0.3.3
Summary: For Data Analytic
Author: Attapon Thanawong
Author-email: attapon_srem@hotmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: configobj (>=5.0.0)
Requires-Dist: cryptography (>=41.0.0)
Requires-Dist: pandas (>=2.1.0)
Requires-Dist: pyarrow (>=14.0.0)
Requires-Dist: pyrage (>=1.1.0)
Requires-Dist: pyyaml (>=6.0.0)
Requires-Dist: requests (>=2.31.0)
Requires-Dist: tomli (>=2.0.0)
Description-Content-Type: text/markdown

# Data Analytic Utils

## Install

```bash
pip install dacutil
```
or dev
```bash
pip install git+https://github.com/attapon-th/dacutil@main
```

## Usage

```python
from dacutil import (
    datediff,
    get_config,
    check_mod11,
    df_strip,
    worker,
    Addict
)
```

# Functions

## `get_config`
support file type:
- [x] ini
- [x] json
- [x] yaml
- [x] toml
  
### Example 
```python
from dacutil import get_config, Addict

# get config from file
config: Addict = get_config("path/to/file.ini")
# or
config: Addict  = get_config("file://path/to/file.ini")

# get config from url
config: Addict  = get_config("http://example.com/file.json")
# or
config: Addict  = get_config("https://example.com/file.json")
```

