nteract
Users | Contributors and Development | Maintainers
Overview
Edit code cells, write markdown, visualize!
Checkout our Medium blog post to see what amazing things you can do with nteract.
Note: There will be
nteract is a literate coding environment that supports Python, R, JavaScript and other Jupyter kernels. It wraps up the best of the web based Jupyter notebook and embeds it as a desktop application that allows you to open notebooks natively on your system. Double click a .ipynb
on the desktop, use Spotlight on the Mac. It Just Works™
Scope and goals
- Notebook environment to explore and get things done
✅ - Standalone cross-platform desktop application
✅ - One notebook document/narrative per window
✅ - Work with any Jupyter kernel using message spec v5
✅ - Easy install with pre-configured Python3
❌ and JavaScript✅ runtimes - Grow an ecosystem of tooling to allow others to build their own platforms relying on the Jupyter specifications
✅
Installation - Users
Head to the Releases page and download the version for your OS.
Installation - Contributors and Development
The contributors are listed in contributors
To learn how to contribute, head to our contributing guide.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to rgbkrk@gmail.com.
Feel free to post issues or chat in Slack (request an invite) if you need help or have questions. If you have trouble creating an account on Slack, either email rgbkrk@gmail.com or post an issue on GitHub.
Development
To get started developing install a python runtime then install nteract
in dev mode.
Python runtime
At least for now, we need the python 3 kernel installed when hacking on nteract:
python3 -m pip install ipykernel
python3 -m ipykernel install --user
nteract
in dev mode
Install Requires Node.js and npm 3+.
- Fork this repo
- Clone it
git clone https://github.com/nteract/nteract
cd
to where youclone
d itnpm install
npm run start
As you make changes, close the entire app (cmd-q on OS X, or ctrl-c at the terminal) then run npm run start
again.
Progressive Webpack build for the notebook
In separate terminals run:
npm run build:desktop:watch
and
npm run spawn
The webpack build will keep occurring as you modify source. When you open a new notebook, you'll get the freshest copy of the notebook app.
Build Documentation
You can run nteract's documentation generator by running
npm run build:docs
And then opening docs/index.html
in your favorite browser.
Troubleshooting
I upgraded my developer installation and things are broken!
- Try
git clean -xdf && npm i
I want to debug redux actions and state changes.
- Enable redux-logger by spawning the application with
npm run spawn:debug
.
I keep getting 'Do you want the application "nteract Helper.app" to accept incoming network connections?' while developing or using a custom build of nteract on macOS.
- This is how the the macOS firewall behaves for unsigned apps. On a signed app, the dialog won't show up again after approving it the first time. If you're using a custom build of nteract, run:
sudo codesign --force --deep --sign - /Applications/nteract.app
. You will have to do this again every time you rebuild the app.
For maintainers: Creating a release
Bump the version
npm version {major, minor, patch}
git push
git push --tags
npm publish
Create the package
It is recommended to run npm run reinstall
before packaging a release.
To package a release for your current platform run:
npm run dist
To package a release for all platforms run:
npm run dist:all
Make sure you have the required dependencies for a multi platform build installed.
The OS X release has to be signed with an Apple developer key. Currently only Kyle (@rgbkrk) has this set up.
Then verify that the copy of nteract in dist/
works
properly (mostly ad-hoc basic notebook loading and execution).
Sponsors
Work on the nteract notebook is currently sponsored by
We're on a common mission to build a great notebook experience. Feel free to get in touch if you'd like to help. Resources go towards paying for additional work by seasoned designers and engineers.
Made possible by
The nteract project was made possible with the support of
If your employer allows you to work on nteract during the day and would like recognition, feel free to add them to the "Made possible by" list.