Skip to main content

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


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

Uploaded Source

Built Distribution

dacutil-0.4.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dacutil-0.4.3.tar.gz
  • Upload date:
  • Size: 8.9 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

Hashes for dacutil-0.4.3.tar.gz
Algorithm Hash digest
SHA256 30d8a276d7fcb06129e8b690f810a5c7f2f6ad4e094548624207c535650969e5
MD5 2daab08db6d8f4654c4364b9c9d67e8f
BLAKE2b-256 ef4c5f94bb9008cc2c0fff9846be917124f63bdd4cc2796ff3bd5286c8e38301

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dacutil-0.4.3-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

Hashes for dacutil-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 08b2d93b9ae8d4eb4d5363c97a6214a83bd6333e006d1baa7faebe1d98f1e983
MD5 c6d6d98067081e33700c74a32ad8da34
BLAKE2b-256 577561e82b8be3dd81b8c779f5010a33ec40b3758a5c40800679d85696f21f5f

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