Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/finbourne/devops-python-test
A repository for the DevOps Python test
https://github.com/finbourne/devops-python-test
Last synced: 22 days ago
JSON representation
A repository for the DevOps Python test
- Host: GitHub
- URL: https://github.com/finbourne/devops-python-test
- Owner: finbourne
- Created: 2021-10-18T10:29:39.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T13:37:48.000Z (7 months ago)
- Last Synced: 2024-06-24T15:17:34.508Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![LUSID_by_Finbourne](./resources/Finbourne_Logo_Teal.svg)
# Python (Data) DevOps Practical Test
A repository for the Python (Data) DevOps Practical test.- [Python (Data) DevOps Practical Test](#python-data-devops-practical-test)
- [Challenge](#challenge)
- [Rules](#rules)
- [Instructions for use](#instructions-for-use)## Challenge
You are required to download three sources of vendor data (in approximately CSV format), aggregate the data and then output
a valid CSV formatted file containing events that occurred in the time range: `2021-10-18 12:18:00` to `2021-10-18 12:25:00`. The resulting CSV should
be committed to the repository and stored under `./results`.## Rules
- Please do not expose this repository to anyone.
- Please do not share answers
- You can copy code from the internet, but please attribute where relevant
- Try to contain your time to 2-3 hours for the test.
- The Python version should be compatible with Python3.10.
- You are free to use whatever libraries you like.
- You can commit as many times as you want, to share the progression in your thinking.## Instructions for use
- Clone this project
- Test the setup by running `./run.sh`, you should see the following output (maybe a bit more depending on your docker config):```sh
[Mon Oct 18 12:44:38 UTC 2021] Entering...
Serving HTTP on 0.0.0.0 port 9000 (http://0.0.0.0:9000/) ...
hello world
[Mon Oct 18 12:44:40 UTC 2021] Exiting...
```- You should modify the files under `./src` until you solve the challenge.
- You should retrieve the csv files by downloading them from `localhost:9000/vendor_a.csv`, `localhost:9000/vendor_b.csv`, `localhost:9000/vendor_c.csv`.
- Process the files so that they are consistent and extract events in the date range specified.
- Write the resulting events csv to `./results`.