Skip to content

joshpark1007/python-exercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Exercises

This repository contains Python programming exercises, including a toy tabular data manipulation library called Phoenixcel.

Setup

Prerequisites

  • Python 3
  • pipenv (install with pip install pipenv)

Installation

  1. Install dependencies:
pipenv install --dev

This will install:

  • jupyter - for running Jupyter notebooks
  • pytest - for running tests
  1. Activate the virtual environment:
pipenv shell

Running Tests

Run all tests:

pipenv run pytest

Run tests with verbose output:

pipenv run pytest -v

Run specific test file:

pipenv run pytest data_frame_exercise/phoenixcel/tests/test_dataframe.py

Running Jupyter Notebooks

Start Jupyter:

pipenv run jupyter notebook

Or, if you've activated the virtual environment with pipenv shell:

jupyter notebook

The notebook server will open in your browser. Navigate to the different directories to access the exercise notebooks for the different exercises.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.5%
  • Python 2.5%