Skip to content

fenke/conanpro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conanpro

Concept for Analytics Processing

Small conceptual framework to embed analytic functions in a composite host object that can provide them with data and process their result.

Install

pip install conanpro

How to use

Fill me in please! Don’t forget code examples:

1+1
2

Setting up a development environment

Development environment can be set up with venv or conda + venv. For a plain venv environment it is pretty straightforward. With conda we use a venv on top of a conda environment to install dependancies that are not available through conda.

venv

python -m venv .nbdev
source .nbdev/bin/activate

pip install --upgrade pip
pip install -r dev-requirements
python -m ipykernel install --user --name=nbdev

conda + venv

First set up the conda environment

Create conda environment

Use an existing environment or create a new one

conda env create -f numdev.yml

Creating an underlying venv for nbdev

conda activate numdev
python -m venv --system-site-packages .nbdev
source .nbdev/bin/activate
pip install --upgrade pip
pip install -r dev-requirements
python -m ipykernel install --user --name=nbdev

nbdev cycle

  • edit
  • nbdev_export
  • pip install -e ‘.[dev]’
  • nbdev_test
  • nbdev_clean
  • nbdev_readme
  • nbdev_prepare
  • git add .