All Projects → vladpunko → notebook-environments

vladpunko / notebook-environments

Licence: MIT license
Manage python virtual environments on the working notebook server

Programming Languages

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

Projects that are alternatives of or similar to notebook-environments

rk
The remote Jupyter kernel/kernels administration utility
Stars: ✭ 53 (+23.26%)
Mutual labels:  jupyter-kernels, jupyter-notebooks
Nbdev
Create delightful python projects using Jupyter Notebooks
Stars: ✭ 3,061 (+7018.6%)
Mutual labels:  jupyter-notebooks, python-modules
BIT AI
No description or website provided.
Stars: ✭ 41 (-4.65%)
Mutual labels:  jupyter-notebooks
portfolio
Site built from fastpages: https://fastpages.fast.ai/. Deployed here 👉
Stars: ✭ 16 (-62.79%)
Mutual labels:  jupyter-notebooks
jupyterq
Jupyter kernel for kdb+
Stars: ✭ 87 (+102.33%)
Mutual labels:  jupyter-kernels
otter-grader
A Python and R autograding solution
Stars: ✭ 92 (+113.95%)
Mutual labels:  jupyter-notebooks
wildpwn
unix wildcard attacks
Stars: ✭ 119 (+176.74%)
Mutual labels:  unix-shell
icsharp.kernel
Roslyn based C# kernel for Jupyter Notebook
Stars: ✭ 26 (-39.53%)
Mutual labels:  jupyter-kernels
IOTA101
IOTA Developer Essentials
Stars: ✭ 38 (-11.63%)
Mutual labels:  jupyter-notebooks
ai-lab
Artificial Intelligence & Machine Learning Experiments by DevScope
Stars: ✭ 19 (-55.81%)
Mutual labels:  jupyter-notebooks
reinforcement learning course materials
Lecture notes, tutorial tasks including solutions as well as online videos for the reinforcement learning course hosted by Paderborn University
Stars: ✭ 765 (+1679.07%)
Mutual labels:  jupyter-notebooks
awesome-python-modules-as-script
Catalogue of useful python modules that run as script.
Stars: ✭ 137 (+218.6%)
Mutual labels:  python-modules
pycourse
A Python Course from MálagaAI
Stars: ✭ 13 (-69.77%)
Mutual labels:  jupyter-notebooks
omxware-getting-started
Examples to get started with IBM Functional Genomics Platform
Stars: ✭ 13 (-69.77%)
Mutual labels:  jupyter-notebooks
nbcelltests
Cell-by-cell testing for production Jupyter notebooks in JupyterLab
Stars: ✭ 66 (+53.49%)
Mutual labels:  jupyter-notebooks
HoI4ModdingPythonScripts
Various useful Hearts of Iron 4 modding Python scripts
Stars: ✭ 23 (-46.51%)
Mutual labels:  python-scripts
jupyter-offlinenotebook
Save and load notebooks to local-storage
Stars: ✭ 39 (-9.3%)
Mutual labels:  jupyter-notebooks
jupyter-notebook-on-servers
ever wondered how to run jupyter notebook on servers like ada?
Stars: ✭ 27 (-37.21%)
Mutual labels:  jupyter-notebooks
notebooks-ci-showcase
Fully Configured Example of CI/CD For Notebooks On Top Of GCP
Stars: ✭ 22 (-48.84%)
Mutual labels:  jupyter-notebooks
pydna
Clone with Python! Data structures for double stranded DNA & simulation of homologous recombination, Gibson assembly, cut & paste cloning.
Stars: ✭ 109 (+153.49%)
Mutual labels:  jupyter-notebooks

notebook-environments

Manage python virtual environments on the working notebook server.

usage-example

Installation

It is recommended to use this package together with virtualenv and virtualenvwrapper to work with python virtual environments more suitable. Make sure the installed python interpreters work without errors on the current operating system. To install this package as a standalone application with the command-line interface you are to run the following command:

sudo sh -c "$(curl https://raw.githubusercontent.com/vladpunko/notebook-environments/master/install.sh)"

Use the package manager pip to install notebook-environments without the command-line interface:

python3 -m pip install notebook-environments

You can also install this python package on your working machine (works for unix-like operating systems) from source code to /usr/local/bin as the standard system location for user's programs (this location can be changed at the user's discretion):

# Step -- 1.
git clone --depth=1 --branch=master https://github.com/vladpunko/notebook-environments.git

# Step -- 2.
cd ./notebook-environments/

# Step -- 3.
sudo install -m 755 n.sh /usr/local/bin/n

# Step -- 4.
sudo install -m 755 notebook_environments.py /usr/local/bin/notebook-environments

Basic usage

Using this program allows you to run one instance of notebook server on your working machine and add different python virtual environments as needed. It protects you from the trouble of installing notebook packages in a new environment and running multiple servers.

# Step -- 1.
nohup jupyter notebook > /tmp/notebook.log 2>&1 &

# Step -- 2.
python3 -m venv .venv && source ./.venv/bin/activate && notebook-environments --add

# Step -- 3.
notebook-environments --show

Contributing

Pull requests are welcome. Please open an issue first to discuss what should be changed.

Please make sure to update tests as appropriate.

# Step -- 1.
python3 -m venv .venv && source ./.venv/bin/activate && pip install pre-commit tox

# Step -- 2.
pre-commit install --config .githooks.yml

# Step -- 3.
tox && tox -e lint

License

MIT

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].