Skip to content

JupyterPhysSciLab/JPSLStudent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JPSLStudent

(aka Jupyter Physical Science Lab Student package)

This package installs almost all packages in the Jupyter Physical Science lab suite, their dependencies and the Algebra_with_SymPy package into the current python environment. The InstructorTools package is not included. The installed packages can then be used in a Jupyter notebook to do assignments. See the overall documentation and the descriptions of each package for more details.

If you have an example notebook to upload you can try it on binder: Binder

Installation

  1. Install python3+ on your system, if you have not. See python.org for instructions.
  2. Install a tool for managing and using virtual environments. This allows you to have multiple independent sets (virtual environments) of python packages installed. Use this "student" environment on computers students will use and for testing assignments on instructor computers. I personally like using pipenv. You can install it using the command $ pip3 --user install pipenv. See the website for more information.
  3. Once you have the correct python and a virtual environment system, create a directory for your "Student" environment. Navigate into the directory. Then:
    • Create the empty virtual environment $ pipenv shell. This will create the environment, activate it and leave you inside it.
    • Still within the environment use pip to install this package $ pip install JPSLStudent. This will take a while to run. There are a lot of packages to download and install.
  4. To exit the virtual environment just type "exit" on the command line $ exit.
  5. To enter the virtual environment: first make sure you are in the proper directory; then issue the command $ pipenv shell.
  6. To update you must be in the virtual environment. Use $ pip install -U JPSLStudent.