Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Allow JupyterLab user to save content to Oracle Object Storage.
# You may want to install it in the virtualenv you created for your JupyterLab
pip install caspercm
# Edit your jupyterlab config file
# e.g. vi ~/.jupyter/jupyter_notebook_config.py
# add following
from caspercm import JupyterCasperCM
c.NotebookApp.contents_manager_class = JupyterCasperCM
c.NotebookApp.JupyterCasperCM.fstab = '/root/.oci/fstab.json'
The example above shows your fstab.json is located at /root/.oci/fstab.json
, it can be placed other places as well.
Here is an example of fstab.json
{
"/": {
"namespace": "bmcdw",
"bucket": "beta_jupyterlab_notebook",
"prefix": "stonezhong/",
"api_config": "/root/.oci/config"
},
"/public": {
"namespace": "bmcdw",
"bucket": "beta_jupyterlab_notebook",
"prefix": "public/",
"api_config": "/root/.oci/config"
}
}
/
) is at stonezhong/
of bucket beta_jupyterlab_notebook
in oci namespace bmcdw
/public
is at public/
of bucket beta_jupyterlab_notebook
in oci namespace bmcdw
/root/.oci/config
Here is how /root/.oci/config
looks like: (the content is just an example, secret part has been altered)
[DEFAULT]
key_file=/root/.oci/oci_api_key.pem
region=us-phoenix-1
tenancy=ocid1.tenancy.oc1..xyz
user=ocid1.user.oc1..xyz
fingerprint=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Note, it points to key file /root/.oci/oci_api_key.pem
which shuold exist.
FAQs
JupyterLab Content Manager Using Oracle Cloud Object Store
We found that caspercm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.