Skip to main content

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


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.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

dacutil-0.4.0-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page