Giter VIP home page Giter VIP logo

omniparser-starter-py's Introduction

omniparser-starter-py

Contains starter code and data for the "Omniparser" Exercise.

Installation

Fork this repo, then clone it to download it onto your local computer. Then navigate here from the command-line:

cd omniparser-starter-py

Setup

Create and activate a new Anaconda virtual environment:

conda create -n parser-env python=3.7 # (first time only)
conda activate parser-env

From within the virtual environment, install any packages you think you'll need:

pip install pandas # (only if you're using pandas to parse the files)
pip install pytest

Usage

After addressing the "Challenges" below to implement parsing logic in Python, you can execute any of the final versions of your parser scripts, respectively:

python omniparser/gradebook_parser.py

python omniparser/filings_index_parser.py

python omniparser/stock_prices_parser.py

Testing

Run tests:

pytest

NOTE: before addressing the "Challenges" below, you'll notice most of the tests are failing, but after completing the challenges, the respective tests should pass

Challenges

Tackle these challenges in order. Commit your code to create new versions as you reach milestones along the way.

Parsing Example Gradebooks

Run the respective test for gradebook-parsing logic:

pytest test/gradebook_parser_test.py

Update the logic and organizational structure of the "omniparser/gradebook_parser.py" script until all tests pass.

Parsing SEC Filings

Run the respective test for SEC filings-parsing logic:

pytest test/filings_index_parser_test.py

Update the logic and organizational structure of the "omniparser/filings_index_parser.py" script until all tests pass.

Stock Prices

Run the respective test for stock-price-parsing logic:

pytest test/stock_prices_parser_test.py

Update the logic and organizational structure of the "omniparser/stock_prices_parser.py" script until all tests pass.

omniparser-starter-py's People

Contributors

s2t2 avatar ktg269 avatar

Watchers

James Cloos 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.