Skip to main content

A JupyterLab extension for rendering and editing xircuit files.

Project description

| Documentation | Dev Discord |

Xircuits

Xircuits is a Jupyterlab-based extension that enables visual, low-code, training workflows. It allows anyone to easily create executable python code in seconds.

Installation

We recommend installing xircuits in a virtual environment.

$ pip install xircuits

Launch

$ xircuits

Development

Prerequisites

Xircuits requires nodejs and yarn to build. The test nvm version is 14.15.3. You may also want to set yarn globally accessible by:

npm install --global yarn

Build

git clone https://github.com/XpressAI/xircuits

Make and activate python env. The tested python versions are 3.9.6

python -m venv venv
venv/Scripts/activate

Download python packages.

pip install -r requirements.txt

Run the following commands to install the package in local editable mode and install xircuits into the JupyterLab environment.

# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Enable the server extension
jupyter server extension enable xircuits

# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

# Watch the source directory in another terminal tab
jlpm run watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch

Preview

Normal Workflow

HelloXircuits

Machine Learning

XircuitKeras

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

xircuits-1.1.0.tar.gz (386.1 kB view details)

Uploaded Source

Built Distribution

xircuits-1.1.0-py3-none-any.whl (436.7 kB view details)

Uploaded Python 3

File details

Details for the file xircuits-1.1.0.tar.gz.

File metadata

  • Download URL: xircuits-1.1.0.tar.gz
  • Upload date:
  • Size: 386.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for xircuits-1.1.0.tar.gz
Algorithm Hash digest
SHA256 09f5e443b9cf76542e1220eac8db4fe6367a589f803cfe1aec94d1277ad00ee9
MD5 131270785e842785bc8bcc8e5abb66ea
BLAKE2b-256 895a16ea59bd940fb1bbcfc09941c870c4cbbfff540ffe4cbaa10432191fa074

See more details on using hashes here.

File details

Details for the file xircuits-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: xircuits-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 436.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for xircuits-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df91354c37e25960a3550177d2f3a19d09d44de81995d68672f90b35db2234dd
MD5 ebc80fdce93774a1824b62f25da93b2d
BLAKE2b-256 9b6c1a07b9aebde781f3fcc21762308584ff9d953c8140378bfb5759675469c0

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