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.3.1.tar.gz
(10.5 kB
view hashes)
Built Distribution
yadet-1.3.1-py3-none-any.whl
(15.2 kB
view hashes)