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.3.3.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

dacutil-0.3.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file dacutil-0.3.3.tar.gz.

File metadata

  • Download URL: dacutil-0.3.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Linux/4.18.0-448.el8.x86_64

File hashes

Hashes for dacutil-0.3.3.tar.gz
Algorithm Hash digest
SHA256 3becd3ceca42db50115c371a69c84004caa2168dc783230301d7f20c5a0d3824
MD5 e764e9d4640f9ee963b066ceae9fe59a
BLAKE2b-256 eb560108c5d3581a0b5cc500ac45b00b71b0e7bdcf8e9d09b10b77e6bcde1062

See more details on using hashes here.

File details

Details for the file dacutil-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: dacutil-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Linux/4.18.0-448.el8.x86_64

File hashes

Hashes for dacutil-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17075226b5db7cd79da00d42fb0837c554ff439ddfd20ad63e3bdd7e8dc864e6
MD5 aeec8480bd351414eeaa2c0ddd51cc34
BLAKE2b-256 03f3917e930e66768a1b39b3af080b891f51a591612604a490117a074cecbfcb

See more details on using hashes here.

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