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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cubicweb-notebooks-0.1.0.tar.gz.

File metadata

  • Download URL: cubicweb-notebooks-0.1.0.tar.gz
  • Upload date:
  • Size: 77.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for cubicweb-notebooks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 949e27c0a143ca9636deaa42b8bfe58fd48eb0f62e55821c970476bf23fbb162
MD5 53b24b32924722d8a35beea75e8430a8
BLAKE2b-256 636d72af8d6ec7390c38c2b288b2ddb75dbfe4d0c1e64c033905c9ac238aafc5

See more details on using hashes here.

File details

Details for the file cubicweb_notebooks-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cubicweb_notebooks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb6371bf2b8377cdb1d6fcfc28972d55c51794f40b29c67a1b5bf9c5971b2945
MD5 a6ffc556c2516ccd23ff694f04a6bafd
BLAKE2b-256 aefae1c0d0ebec9208dae225a305412e596d1bfbead19e73ba4bee8d2d57639d

See more details on using hashes here.

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