Logging kernel for Jupyter
Project description
## logging_kernel
===========
``logging_kernel`` is an extension of a Jupyter kernel.
## Jupyter Version
```
jupyter --version
4.3.0
```
## Installation
------------
To install ``logging_kernel`` from PyPI::
```
pip install logging_kernel
python -m logging_kernel.install
```
## Using the Logging kernel
---------------------
**Notebook**: The *New* menu in the notebook should show an option for an Logging notebook.
## Installing and Enabling the logging_ext extension
### Change your folder to jupyter_extension
```
cd jupyter_extension
```
### Install and Enable
```
rm ~/.jupyter/nbconfig/notebook.json; jupyter nbextension install . --user; jupyter nbextension enable logging_ext;
```
### You should see the below text if everything goes well
```
Enabling notebook extension logging_ext...
- Validating: OK
```
## Remove the original python kernel options from the jupyter notebook
### Check the kernels with below command
```
jupyter kernelspec list
```
### Remove the kernel.json file from the python folder
```
rm ~/<>/jupyter/kernels/python/kernel.json
```
# Creating pip package
## Create setup.py file
```
from setuptools import setup
setup(
name='my-awesome-helloworld-script', # This is the name of your PyPI-package.
version='0.1', # Update the version number for new releases
scripts=['helloworld'] # The name of your scipt, and also the command you'll be using for calling it
)
```
## Set up PyPi account
```
python setup.py register
```
## Create ~/.pypirc file
```
[distutils]
index-servers =
pypi
[pypi]
repository: https://upload.pypi.org/legacy/
username:
password:
```
## Upload your package
```
python setup.py sdist upload
```
===========
``logging_kernel`` is an extension of a Jupyter kernel.
## Jupyter Version
```
jupyter --version
4.3.0
```
## Installation
------------
To install ``logging_kernel`` from PyPI::
```
pip install logging_kernel
python -m logging_kernel.install
```
## Using the Logging kernel
---------------------
**Notebook**: The *New* menu in the notebook should show an option for an Logging notebook.
## Installing and Enabling the logging_ext extension
### Change your folder to jupyter_extension
```
cd jupyter_extension
```
### Install and Enable
```
rm ~/.jupyter/nbconfig/notebook.json; jupyter nbextension install . --user; jupyter nbextension enable logging_ext;
```
### You should see the below text if everything goes well
```
Enabling notebook extension logging_ext...
- Validating: OK
```
## Remove the original python kernel options from the jupyter notebook
### Check the kernels with below command
```
jupyter kernelspec list
```
### Remove the kernel.json file from the python folder
```
rm ~/<>/jupyter/kernels/python/kernel.json
```
# Creating pip package
## Create setup.py file
```
from setuptools import setup
setup(
name='my-awesome-helloworld-script', # This is the name of your PyPI-package.
version='0.1', # Update the version number for new releases
scripts=['helloworld'] # The name of your scipt, and also the command you'll be using for calling it
)
```
## Set up PyPi account
```
python setup.py register
```
## Create ~/.pypirc file
```
[distutils]
index-servers =
pypi
[pypi]
repository: https://upload.pypi.org/legacy/
username:
password:
```
## Upload your package
```
python setup.py sdist upload
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logging_kernel-1.13.tar.gz
(3.1 kB
view details)
File details
Details for the file logging_kernel-1.13.tar.gz
.
File metadata
- Download URL: logging_kernel-1.13.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5df5598e3aa442ee405ed3dfa3c734bba6aed04e99fcec4141c5b5a22723f1f |
|
MD5 | 65269173ad5cc57442087eed074a7e11 |
|
BLAKE2b-256 | 03a82b1041960bab6a3fb6485f90c32d800bebea98393dada0319f004ec01399 |