Skip to main content

A cube to deal with Jupyter-notebooks and voici view

Project description

A cube to deal with Jupyter-notebooks and voici view

Installation

Open the project in a terminal and run:

pip install -e .

This will install the cube in your active virtual environment as cubicweb-notebooks.

The following sections indicate additional steps when you install this cube as a dependency or as an instance.

As a dependency

If you plan to use this cube as a dependency for your own cube, add it to your __pkginfo__.py as follows:

__depends__ = {
    # ... Your previous dependencies
    "cubicweb-notebooks": None,
}

If the target cube is already used as an instance, you need to migrate it with the help of its python shell (replace YOUR_INSTANCE_NAME by your instance name):

cubicweb-ctl shell YOUR_INSTANCE_NAME

In the python prompt, enter the following command:

add_cube("notebooks")

Press Ctrl-D then restart your instance. The cube should now be available in your instance.

As an instance

If you plan to use this cube directly as an instance, create and start your instance with the following commands (replace notebooks-instance by the name of your choice):

cubicweb-ctl create notebooks notebooks-instance
cubicweb-ctl start -D notebooks-instance

Learn More

Visit the official documentation to learn more about CubicWeb.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cubicweb-notebooks-0.1.0.tar.gz (77.8 MB view hashes)

Uploaded Source

Built Distribution

cubicweb_notebooks-0.1.0-py3-none-any.whl (78.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page