Giter Club home page Giter Club logo

python-de-test-task's Introduction

Python Data Engineering Test Task

  1. Configure Docker & docker-compose (if you don't have it yet) & understand what this project consists of.
  2. Bring up everything with docker-compose up. This will start maindb (source database), stabledb (target database) and inserter (script that simulates frequent insertion of dummy events into maindb).
  3. Create a new application (it can be added as an extra service in docker-compose.yaml or executed seperately outside of Docker, as you wish) which will periodically migrate data from maindb to stabledb (let's say, every minute). The script should be easily configurable (DB credentials, migration interval etc) via command-line arguments or environment variables.
  4. Add reporting to the script (stdout, text file, web interface - as you wish). Report must contain information about the amount of data that was migrated and time taken to process everything.
  5. Bonus points: implement a simple web-server that will start data migration when a POST request is received.
  6. Bonus points: edit inserter/main.py, decrease the insertion interval to 0 (line 28) and see if your script still works.
  7. Bonus points: make the ETL process configurable so that if events table changes, code change will not be required (e. g. define ETL mapping via some seperate YAML config file.)
  8. Bonus points: fork this repo, implement your changes in your fork and create a pull request to this repo.

Note: application must be written in Python.

Hint: you can add comments to describe your code. You can also provide multiple solutions if there is more than one good way to solve something.

python-de-test-task's People

Contributors

and3rson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.