Kyso
Search…
Python Projects Workflow
This is a guide on our recommended workflow for all your python projects.

Introduction

As part of our template libraries, we have set up a baseline project that anyone can use to get started writing a Kyso template. But it is also applicable for any of your data science projects if you use python and Jupyter notebooks.

Installation

Git clone this repository:
1
git clone https://github.com/kyso-io/template
Copied!
Download and install the Anaconda Python distribution. You can check out our guide on how to install Jupyter with Anaconda, which covers this step.
Then active a conda virtual environment with
1
conda env create -f environment.yml
2
conda activate dev
Copied!

Installing Libraries

Install any libraries you need with
1
conda install <library>
Copied!
Make sure to run the following command to save the installed libraries into the environment.yml file, this allows others to run the report easily
1
conda env export --no-builds > environment.yml
Copied!

Usage

Start programming! Open jupyter with
1
jupyter lab
Copied!
and start working.

Publishing & Sharing

Push to Github as per usual. If you are new to Git, we have written a tutorial for beginners, which covers the basics:
To publish your notebooks for discovery, import the repository to Kyso:
And that's it! Once your repository is connected to Kyso, every time you push a new commit - updates to existing posts or entirely new projects - these changes will be automatically reflected on your Kyso dashboard.
Last modified 1yr ago