Skip to main content

A simple and effective Python data extraction tool for getting batch data exports and store in a simple format.

Project description

YADET (Yet Another Data Extract Tool)

A simple and effective Python data extraction tool for getting batch data exports and store in a simple format.

Current functionality is relatively limited with MsSQL Source integration and File System Target Integration.

Install

With Python 3.7 or greater install the package with simple pip command.

pip install yadet

Usage

Import and load data

from yadet.config import ProjectConfig
from yadet.batch import ProjectBatchRun
from yadet.engine import SourceMssqlEngine, TargetFileSystemEngine

import os

conn_str = "<>"

project = ProjectConfig(
    name="example", 
    source_engine=SourceMssqlEngine, 
    source_engine_params={"connection_str": conn_str}, 
    target_engine=TargetFileSystemEngine, 
    target_engine_params={
        "base_directory": os.path.join("data", "example"), "compression": "gzip"
    }
)

batch_run = ProjectBatchRun(project=project)
batch_run.run_batch()

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

yadet-1.5.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

yadet-1.5.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file yadet-1.5.0.tar.gz.

File metadata

  • Download URL: yadet-1.5.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for yadet-1.5.0.tar.gz
Algorithm Hash digest
SHA256 b9be0ec8619358a8761f702445bc6535b1dbf621e920a2680be579b03cc70893
MD5 3618f86a14abb1bc9938a70c2926b9a0
BLAKE2b-256 277d7ed927003b84a5112e56ed42a7a592c19de24e9875ef05a6b5ece0f2ad8a

See more details on using hashes here.

File details

Details for the file yadet-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: yadet-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for yadet-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2ab1edfe22dcdebb8b6b57cd873cc8f3a44c756a97866d86e9ca9240701ce1d
MD5 468ff68828fb0f6e7b92d1f2aaf970a2
BLAKE2b-256 822ef9ce7579612a1620edf58f35dd5a7f5aa299c9a10cc97bb94729bd66b413

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