https://github.com/cyphercoderr/pythoncbreportrefactor-main
https://github.com/cyphercoderr/pythoncbreportrefactor-main
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cyphercoderr/pythoncbreportrefactor-main
- Owner: cyphercoderr
- Created: 2024-11-07T12:35:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-07T12:36:13.000Z (over 1 year ago)
- Last Synced: 2024-11-07T13:39:53.920Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pythonCBReportRefactor
***Welcome!***
Thank you for taking the time to participate in this refactoring project. This project is not meant to be THE go/no-go in our decision-making process. Rather, it’s meant as a tool for you to show your way of thinking and a little bit of showing off your Python skills.
Use the following instructions to complete the project.
***Sample Code***
The Python script provided can be improved in a number of ways. Also included is a sample output and sample dataset in SQLite.
***Requirements***
- Testing. Indicate what changes you have tested and verified, and how you tested and verified them. You can include this through email or as comments in the script.
- Tools. Feel free to use whatever IDE you like, whatever imports you fancy and basically whatever gets the job done. Perhaps the only constraint is to use trusted sources for any libraries.
- Assume the sample Python script will grow in number of queries and reported metrics. Extend or rework the script to support:
- More reporting sections without hardcoding each reporting section. The reporting sections should look the same as far as general layout, although the query and number of columns are unique to each section of output.
- Configurable date ranges (you might have to adjust the SQL in sample), we might run the report weekly to see #s for the week, or we might change it up to run daily or even monthly.
- The script generates a text-only output file. Revise to output a rich text format that supports images.
- This version of the script only creates an output file. Add to the script to generate and send the output file via email to yourself.
- As long as we can get the gist of what you're trying to do, it’s good. This exercise is more about your process, approach and communicating back what you attempted, not Python and SQL syntax.
***Submit***
When you are satisfied with your project, please zip up your project and email it in.
Please do not PR or fork so that we prevent others from seeing your work and copying it 😊