Auto1 ETL Challenge
A simple ETL pipepline that serves the purpose of a challenge for AUTO1, a company that is Europe's largest wholesale platform for used cars.
Developed by Muhammad Aqib - inbox.aqib@gmail.com
Contents
auto1_etl_challengecontains the project directory.auto1_etl_challenge\etl.pyis the main module that hasEtlPackageAuto1class with associated methods.auto1_etl_challenge\utils.pyholds utilites that assists in performing etl operations.auto1_etl_challenge\transformations.pymodule for defining custom exceptions for the required columns.auto1_etl_challenge\constants.pyholds classes for different constant values.filesis a directory for storing files for testing purpose, specifically raw, staging and transformed files.
How To Use
Package Installation
Install the package in the virtual environment
pip install auto1-etl-challenge
Code Guidelines
- Create a python file and import
EtlPackageAuto1class from the package. - Provide source file path in the constructor.
- Call
loadandtransformmethod.
from auto1_etl_challenge import EtlPackageAuto1 #import EtlPackageAuto1 class form package
EtlPackageAuto1(r'files\challenge_me.txt') #stores path of the source file
EtlPackageAuto1.load(EtlPackageAuto1.dataFile) # loads data and create staging file with cleaned data
result = EtlPackageAuto1.transform(EtlPackageAuto1.dataFile) # transform data, create transformed file and return list matrix
Output
- Staging and transformed files are created in the same directory as source file.
- List of lists is returned where first list is header while the following lists contain the values (row-wise).
Metadata
Release files for auto1-etl-challenge 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| auto1_etl_challenge-1.1.0.tar.gz | 5.4 kB | Without provenance | Details for auto1_etl_challenge-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auto1_etl_challenge-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for auto1_etl_challenge-1.1.0-py3-none-any.whl |
Total release size: 12.0 kB
Release files / auto1_etl_challenge-1.1.0.tar.gz
| Download URL | auto1_etl_challenge-1.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89bce1d59305f3c7a35f6a0211cde0ec267aea7c8c6f11658555c4f78947e8bc
|
|
BLAKE2b-256 checksum How to use checksums |
322bf03cf38ba837efa3ae7655abbb865f48ec706d13718098602f85aac53a07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Release files / auto1_etl_challenge-1.1.0-py3-none-any.whl
| Download URL | auto1_etl_challenge-1.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d97c70cc969028f97b2d047b87019e9bd8e2544b18e548f3435b53ed972d3fc8
|
|
BLAKE2b-256 checksum How to use checksums |
a0d8e1395460e0ad3a736a01460f7d7890dadc7b2bdc36e7dde2de2335bfa0b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Security for auto1-etl-challenge 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.