A JupyterLab extension for rendering and editing xircuit files.
Project description
Docs • Install • Tutorials • Contribute • Blog • 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[full]
If you would like to install just the core functions, use:
$ pip install xircuits
Launch
$ xircuits
Download Examples
$ xircuits-examples
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
Running
Start up xircuits using:
xircuits
Xircuits will open automatically in the browser.
If additional arguments required, launch xircuits using:
jupyter lab
Rebuild
Rebuild Xircuits after making changes.
# Rebuild Typescript source after making changes
jlpm build
# Rebuild Xircuits after making any changes
jupyter lab build
Rebuild (Automatically)
You can watch the source directory and run Xircuits 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 Xircuits in watch mode in one terminal tab
jupyter lab --watch
Preview
Machine Learning
PySpark
AutoML
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.3.0.tar.gz
.
File metadata
- Download URL: xircuits-1.3.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9150481c44a3b8ac1e457795623ab7948b73ad6eca41685256ee57cae44bbe38 |
|
MD5 | c67d7f523486410904d19e004ca62332 |
|
BLAKE2b-256 | 6241f9935ff0b7f4cf4220b68da4c66875b49855023def415ec9f472c1a58f63 |
File details
Details for the file xircuits-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: xircuits-1.3.0-py3-none-any.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9161e51856fbea6aaaa0eac30e8f36051aabbaf0d96a20fa3fe673454398baa8 |
|
MD5 | 885135ff0e5a49211128d6dbf4755b21 |
|
BLAKE2b-256 | a668796753aa61483c03b4f1ebac8256f4afb0ba4b6e64e78f62b80d7810bb61 |