Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crosscompute

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosscompute

Automate your Jupyter notebooks and scripts as tools, reports, dashboards.

  • 0.9.4.13
  • PyPI
  • Socket score

Maintainers
1

CrossCompute Analytics Automation Framework

Automate your Jupyter notebooks and scripts as web-based reports, tools, widgets, dashboards, forms. Use this framework to create your own automations, then serve locally or deploy on your own instance of the CrossCompute Analytics Automation System.

  • Reports are documents that update when the data changes.
  • Forms are step-by-step questions that generate a specific web-based report.
  • Tools are forms that transform input variables into output variables.
  • Widgets are interactive visualizations that update when the data changes.
  • Dashboards are widgets in a layout.

Here are some available extensions:

Here are some available views:

  • link
  • string
  • number
  • password
  • email
  • text
  • markdown
  • image
  • radio
  • checkbox
  • table
  • frame
  • json
  • pdf
  • file
  • map-mapbox (crosscompute-views-map)
  • map-mapbox-location (crosscompute-views-map)
  • map-deck-screengrid (crosscompute-views-map)
  • barcode (crosscompute-views-barcode)

Here are the currently supported configuration options.

Usage

# Upgrade package
pip install crosscompute>=0.9.4 --upgrade

# Initialize configuration
crosscompute

# Serve automation
crosscompute automate.yml

Here are some examples and tutorials:

Development

# Clone repository
git clone https://github.com/crosscompute/crosscompute

# Install with dependencies for tests
cd crosscompute
pip install -e .[test]

# Run tests
pytest --cov=crosscompute --cov-report term-missing:skip-covered -n auto tests

# Build package for PyPI
pip install build
python -m build --sdist --wheel

# Publish package on PyPI
pip install twine --upgrade
python -m twine upload dist/*

Troubleshooting

SyntaxError: Invalid Syntax

If you get the following error, you are running on an older version of Python:

$ crosscompute

    while chunk := f.read(CHUNK_SIZE_IN_BYTES):
                 ^
SyntaxError: invalid syntax

To solve this issue, create a virtual environment using python >= 3.10.

sudo dnf -y install python3.10
# sudo apt -y install python3.10

python3.10 -m venv ~/.virtualenvs/crosscompute
source ~/.virtualenvs/crosscompute/bin/activate

pip install crosscompute>=0.9.4

Acknowledgments

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc