Function Tools For Data Analytic
Project description
Data Analytic Utils
Install
pip install dacutil
or dev
pip install git+https://github.com/attapon-th/dacutil@main
Usage
from dacutil import (
datediff,
get_config,
check_mod11,
df_strip,
worker,
Addict
)
Functions
get_config
support file type:
- ini
- json
- yaml
- toml
Example
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")
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
dacutil-0.4.4.tar.gz
(9.0 kB
view details)
Built Distribution
dacutil-0.4.4-py3-none-any.whl
(10.7 kB
view details)
File details
Details for the file dacutil-0.4.4.tar.gz
.
File metadata
- Download URL: dacutil-0.4.4.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/4.18.0-553.6.1.el8.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f869fced1f46d3b23dd8cf7f386fb9997b07128bfee6356b5c04eb8c655768e |
|
MD5 | 34aa94eb7560e70725c49d9329fc69af |
|
BLAKE2b-256 | d26d9b058b089e0bd5a64d819f2bab1188eff66bd8196023b3e94aa2d034e109 |
File details
Details for the file dacutil-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: dacutil-0.4.4-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/4.18.0-553.6.1.el8.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef73deff298fe65f560001b691838d8cbe02d14e5a737fe9261792aa9d78a421 |
|
MD5 | 5d956024268e709d52b5f5524e7c2871 |
|
BLAKE2b-256 | 4d340197c93a20e92f8980d60c0a9bfd8c8fdd3df73a9a7f171de7c4466eab2d |