All Projects → pycam → python-functions-and-modules

pycam / python-functions-and-modules

Licence: Unlicense license
Python3 teaching materials for functions and modules (1 day)

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to python-functions-and-modules

ipydagred3
ipywidgets library for drawing directed acyclic graphs in jupyterlab using dagre-d3
Stars: ✭ 38 (+192.31%)
Mutual labels:  jupyter
traceml
Engine for ML/Data tracking, visualization, dashboards, and model UI for Polyaxon.
Stars: ✭ 445 (+3323.08%)
Mutual labels:  jupyter
vim-jukit
Jupyter-Notebook inspired Neovim/Vim Plugin
Stars: ✭ 55 (+323.08%)
Mutual labels:  jupyter
python ml tutorial
A complete tutorial in python for Data Analysis and Machine Learning
Stars: ✭ 118 (+807.69%)
Mutual labels:  jupyter
biojupies
Automated generation of tailored bioinformatics Jupyter Notebooks via a user interface.
Stars: ✭ 96 (+638.46%)
Mutual labels:  jupyter
Hacktoberfest
Hacktoberfest 2021 you can add anything like simple programs or projects
Stars: ✭ 15 (+15.38%)
Mutual labels:  jupyter
enhancement-proposals
Enhancement proposals for the Jupyter Ecosystem
Stars: ✭ 97 (+646.15%)
Mutual labels:  jupyter
jupyter-cache
A defined interface for working with a cache of executed jupyter notebooks
Stars: ✭ 28 (+115.38%)
Mutual labels:  jupyter
ethereum-economic-model
A modular dynamical-systems model of Ethereum's validator economics
Stars: ✭ 79 (+507.69%)
Mutual labels:  jupyter
thegreatmarkdown
《了不起的 Markdown》
Stars: ✭ 44 (+238.46%)
Mutual labels:  jupyter
Hello-Kaggle-Guide-KOR
Kaggle을 처음 접하는 사람들을 위한 문서
Stars: ✭ 140 (+976.92%)
Mutual labels:  jupyter
mlspace
MLSpace: Hassle-free machine learning & deep learning development
Stars: ✭ 286 (+2100%)
Mutual labels:  jupyter
learn-js-in-jupyter
📙 Interactive, cross-platform JavaScript ES6 / Python 3,2 notebook powered by JupyterLab and Docker
Stars: ✭ 18 (+38.46%)
Mutual labels:  jupyter
MaixPy3
MaixPy for Linux Python3, let's play with edge AI easier!
Stars: ✭ 125 (+861.54%)
Mutual labels:  jupyter
dockernel
Dockerized Jupyter kernels.
Stars: ✭ 34 (+161.54%)
Mutual labels:  jupyter
flowtorch
flowTorch - a Python library for analysis and reduced-order modeling of fluid flows
Stars: ✭ 47 (+261.54%)
Mutual labels:  jupyter
Self-Driving-Car-Steering-Simulator
The aim of this project is to allow a self driving car to steer autonomously in a virtual environment.
Stars: ✭ 15 (+15.38%)
Mutual labels:  jupyter
ipython2cwl
IPython2CWL is a tool for converting IPython Jupyter Notebooks to CWL Command Line Tools by simply providing typing annotation.
Stars: ✭ 15 (+15.38%)
Mutual labels:  jupyter
jupyterlab-heroku
JupyterLab extension to deploy applications to Heroku
Stars: ✭ 20 (+53.85%)
Mutual labels:  jupyter
p5-Devel-IPerl
🔬📚 Perl5 language kernel for Jupyter <http://jupyter.org/>
Stars: ✭ 75 (+476.92%)
Mutual labels:  jupyter

Working with Python: functions and modules - course materials

Materials for the course run by the Graduate School of Life Sciences, University of Cambridge.

If you wish to run the course on your personal computer, here are the steps to follow to get up and running.

Clone this github project

git clone https://github.com/pycam/python-functions-and-modules.git
cd python-functions-and-modules

Dependencies

Install Python 3 by downloading the latest version from https://www.python.org/. For Mac OSX, just run brew install python3.

Python 2.x is legacy, Python 3.x is the present and future of the language.

Create first a virtual environment using the venv library. Update pip if needed, install jupyter and RISE to get a slideshow extension into jupyter.

Note A virtual environment is a Python environment such that the Python interpreter, libraries and scripts installed into it are isolated from those installed in other virtual environments.

python3 -m venv venv
# activate your virtual environment
source venv/bin/activate
# update pip if needed
pip install --upgrade pip
# install jupyter
pip install jupyter

# slideshow extension
pip install rise
jupyter-nbextension install rise --py --sys-prefix
jupyter nbextension enable rise --py --sys-prefix

# matplotlib
pip install matplotlib

# biopython
pip install biopython

# pandas
pip install pandas

On mac OSX you may need to run this command to accept the XCode license, before installing biopython:

sudo xcodebuild -license

Usage

Go to the directory where you've cloned this repository, activate your virtual environment and run jupyter.

Your web browser should automatically open with this url http://localhost:8888/tree where you see the directory tree of the course with all the jupyter notebooks.

cd python-functions-and-modules
source venv/bin/activate
jupyter notebook

To shutdown jupyter, type ctrl-C into the terminal you've ran jupyter notebook, answer y and press enter.

You may wish to deactivate the virtual environment, by entering into the terminal:

deactivate
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].