Skip to content

QubitPi/jupyter-notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter Notebooks

Notebooks badge Python Version Badge Apache License Badge

Notebooks

Setup

Getting Source Code

https://github.com/QubitPi/jupyter-notebooks.git

Navigating to A Notebook Directory

cd jupyter-notebooks/notebooks

Each subdirectory in notebooks is a standalone Jupyter notebook. Choose and navigate into one of them. For example

cd housing

Creating an Isolated Environment

It is strongly recommended to work in an isolated environment. Install virtualenv and create an isolated Python environment by

python3 -m pip install --user -U virtualenv
python3 -m virtualenv .venv

To activate this environment:

source .venv/bin/activate

or, on Windows

./venv\Scripts\activate

Tip

To deactivate this environment, use

deactivate

Installing Dependencies

pip3 install -r requirements.txt

If we created a virtualenv, we need to register it to Jupyter and give it a name:

python3 -m ipykernel install --user --name=python3

Starting Jupyter Server

Now we can fire up Jupyter by typing the following command:

jupyter notebook

A Jupyter server is now running in our terminal, listening to port 8888. We can visit this server by opening our web browser to http://localhost:8888/

Open up one of the notebooks

License

The use and distribution terms for jupyter-notebooks are covered by the Apache License, Version 2.0.

Releases

No releases published

Packages

No packages published

Languages