A JupyterLab extension for rendering and editing xircuit files.
Project description
| Documentation | Dev Discord |
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
Machine Learning
PySpark
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
Built Distribution
File details
Details for the file xircuits-1.2.0.tar.gz
.
File metadata
- Download URL: xircuits-1.2.0.tar.gz
- Upload date:
- Size: 1.4 MB
- 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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43a308a9a47919abaf5517cd714ae1f16706ec637ac0b30d5ae6f10c23bbe97 |
|
MD5 | f683253dc0cf038a593295c88d13b2d3 |
|
BLAKE2b-256 | 6faf9cf7c9de461a2c9cf33248ea4d7480db26384fc1fb85cb6b6b595e1f04ea |
File details
Details for the file xircuits-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: xircuits-1.2.0-py3-none-any.whl
- Upload date:
- Size: 886.5 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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a8497e22cc4c931fe7a564ccafa2b1dd58c5c8642509c44c47feb636f339b2 |
|
MD5 | 39a111dcd478fc48e04a363d239590d2 |
|
BLAKE2b-256 | 51b41b19a92ba5c19273268228fa117bfce655401d6205b9d133303859bfbc49 |