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, debug=True)
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.6.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yadet-1.6.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yadet-1.6.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for yadet-1.6.0.tar.gz
Algorithm Hash digest
SHA256 325780f7d0c39932dfa199e0b1f3235102a98a8e824da9f580e890624ae0f8f4
MD5 592421faba153dc50c1c00562f13f7aa
BLAKE2b-256 1f641b8b8846289d366e3c2504e1dd38bdcb976ac82bd1629b3b1454e9509ab9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yadet-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for yadet-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 903ee162f8ba5a44365a70b66fc65ca094de1c5961aa8d08acaeada4a5cb5ffb
MD5 cf133988fb3f9fa4013936efe496eda5
BLAKE2b-256 8f55be952013ca83e36561407999f3d625c6d7e07996174ddc069ca047425572

See more details on using hashes here.

Supported by

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