Skip to main content

AUTO1 ETL Pipeline

Project description

Auto1 ETL

Auto1 ETL is simple etl Pipeline, which extracts the data from given source dataFile and returns the transformed data.

Directory Structure

│   .gitignore
│   challenge_me.txt
│   README.md
│   sample.py
│   setup.py
│
├───.vscode
│       launch.json
│
└───auto1
    │   etl.py
    │   __init__.py
    │
    ├───helper
    │   │   helper.py
  • auto1/etl.py: Etl script
  • helper/helper.py: helper script with mapper and utility functions required for etl process.
  • challenge_me.txt: input dataFile to perform transformation
  • sample.py: sampy script to import etl class as module

Instructions

  • install the package as pip install auto1

  • import auto1.Etl in your python file

  • Initialize the Etl constructor with source dataFile path

  • Invoke the methods in order as below

    from auto1.etl import Etl
    etl = Etl('challenge_me.txt')
    etl.load(etl.dataFile)
    output = etl.transform(etl.dataFile)
    print(output)
    
  • load method creates a temporary dataFile, which is prepared for transformation.

  • transformation methods returns the transformed records as nested list and deletes the temporary dataFile created by load method.

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

auto1-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

auto1-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file auto1-0.0.1.tar.gz.

File metadata

  • Download URL: auto1-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for auto1-0.0.1.tar.gz
Algorithm Hash digest
SHA256 159819bf67f08be90d49fcc06edc18bdf751a9fb4656639a04f766617f740bbe
MD5 8cebfaa1a67f38d58e9e8e1a28323458
BLAKE2b-256 a25d5060e2a31d289392ccc1ec17675ffa1a59cf777c942147c140ea6d6e0715

See more details on using hashes here.

File details

Details for the file auto1-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: auto1-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for auto1-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79136eb9bd3818adb4e2c3a45619577b7698bb018a20d0a2b2cc79cb40a39f0e
MD5 b066861dabf29f90b651b72cf10b55a4
BLAKE2b-256 395a2129e04fce4114919fbe470de0e56dbfd1202fc8e703c83cc3d73c2bd887

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