Skip to main content

A modern node based python editor and REPL for physics, education, and data analysis

Project description

ROON

A node bsed editor for python using with a modern svelte frontend UI

Development

Svelte Application

Uses rollup + svelte For development (live reload etc.):

npm run dev

For a production build:

npm run build

Note: the .env file is used to set the python backend:

PYTHON_BACKEND=auto

Options are: auto, pyodide, pywebview, jupyter - but pywebview is the primary target with others to be implemented later. Pyodide works for a fully browser based implementation, but the filesystem (needed for any real data analysis) is only supported in chrome and edge.

Make sure that production builds for the python package are setup with pywebview - because it takes some time for the js bridge to fully load, the automatic detection of the backend is slower than being set directly.

note: the svelte app is setup to write out the build files to a custom directory for integration with python app (in the roon/static/ directory) instead of the standard public. So you need to symlink to make development builds available in browser (if you want to work in the browser)

ln -s roon/static/svelte/public public

Python application

Use makefile for installing development builds and for building the package for publication

dev-build:
	python -m pip install --editable .

build:
	python -m build

We use twine to publish the pypi package (use Makefile target check and publish) Twine uses authentication in $HOME/.pypirc for pushing to PyPi.

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

roon-0.4.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roon-0.4.2-py3-none-any.whl (889.4 kB view details)

Uploaded Python 3

File details

Details for the file roon-0.4.2.tar.gz.

File metadata

  • Download URL: roon-0.4.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.18

File hashes

Hashes for roon-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f945dccde98411c0397f6da283e16228ddc282a2a13d8f9fc4fcc46b3a3cd766
MD5 4bbc4108db8c4662cb36e70b93ab5885
BLAKE2b-256 6f3355fc7d770e4cc3bdebe8d1c3d75d1739aa85867beda023c26b9eb7c440b3

See more details on using hashes here.

File details

Details for the file roon-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: roon-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 889.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.18

File hashes

Hashes for roon-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c10e545d1884d691c11364065848ef08df94a591f90675c9e7c846bf12e9dc5
MD5 74c40ada9d8a1c42ad68ec11c3d345c9
BLAKE2b-256 02878ce2bdbff3095b11244804ef62970f6f48b34c87e0f57d4194cf19934625

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page