Demonstrating Some Python Features and Documentation Examples.
- Python 3.7+
- pipenv: python dependency manager
- pdoc: automatically generates code documentation from docstrings
- pylint: helps maintain code quality
- Clone this repo.
- Create a virtual environment with Python 3.7+. I use pyenv, if you use conda it's
conda create --name demo python=3.7
- I use pipenv (You can install via
pip install pipenv
) to manage my python dependencies. If you use pipenv, you'll see a Pipfile available for you to run:pipenv install --dev
in the directory containing the Pipfile (i.e. the top-level directory of this repo) - Launch the environment with
pipenv shell
- Navigate to the
src
directory and run "run_pipeline.py":python run_pipeline.py
- Please ensure you have properly commented your code and added docstrings!
- Run pylint and don't move forward until your code has a rating above 8.5:
pylint src
- Update the documentation and code documentation:
pdoc --html src --output-dir docs
- Make a local commit with a descriptive message
- Push to remote!