View on GitHub

Portfolio

Avengers Analysis Using OOP

Code

This project is an analysis of the Avengers using OOP principles. The data (data about the avengers) is in CSV format. The data is ingested, processing the data and then writes out Markdown file on the most popular avengers. The project displays a full project which includes unit tests.

Script Outputs

The outputs for the processed CSV and the Markdown report.

OOP

The avenger.py module contains the Avenger class. It should implement methods for all of the fields found in the input CSV. In addition to implementing methods for each field, implement the method to_markdown which generates the Markdown markup described in the midterm project.

Util Package

The util package should contain all the utility functions needed for manipulating dates and converting values.

Unit tests

The run_tests.py script should run all of the unit tests in the tests directory. Here are the requirements for implementing unit tests.

Prerequisites

Python 3.5

Project 1/
├── data
│   ├── interim
│   ├── processed
│   │   └── avengers_processed.csv
│   └── raw
│       └── avengers.csv
├── reports
└── src
    ├── make_report.py
    ├── msds510
    │   ├── __init__.py
    │   ├── avenger.py
    │   └── utils
    │       ├── __init__.py
    │       ├── conversion.py
    │       └── date.py
    ├── process_csv.py
    ├── run_tests.py
    └── tests
        ├── __init__.py
        ├── test_avenger.py
        ├── test_util_conversion.py
        └── test_util_date.py

Home