As data project mature, data scientists may need make their script work on new data, use them in broader use cases and with other collaborators. These challenges require them to build packages that works with other people and tools.
In this workshop we'll look at how to create functions with docstrings. Then, we'll create and share a package that others can install. Finally, we will make sure the code is performing as expected by writing some tests.
Presentation link: https://www.beautiful.ai/player/-N3e4s1CY3ZEnaJVNv0J
PDF will be available when the presentation is finalized
-
Install your favourite ide such as vscode or pycharm. You can download Pycharm community version for free with this link
-
Install git
-
Install anaconda
-
Clone this repo
-
Create a virtualenv or conda environment with python 3.7 and install dependent packages For pycharm see Configure a Conda virtual environment
Navigate to the folder containing requirements.txt and use pip to install dependencies.
cd <full-path/to-requirements.txt> pip install -r requirements.txt