
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
The Mito Spreadsheet
Run all the following commands in the Mito folder.
First create an enter a python venv, for replicability
python3 -m venv venv;
source venv/bin/activate;
Once the virtual enviornment is running, then install Jupyter and Jupyterlab and pandas and analytics python
pip install -r requirements.txt;
Then install the python package. This will also build the JS packages.
pip install -e ".[test, examples]";
When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend. For lab, this is done by the command:
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
jupyter labextension install .
For classic notebook, you can run:
jupyter nbextension install --sys-prefix --symlink --overwrite --py mitosheet
jupyter nbextension enable --sys-prefix --py mitosheet
Note that the --symlink flag doesn't work on Windows, so you will here have to run
the install command every time that you rebuild your extension. For certain installations
you might also need another flag instead of --sys-prefix, but we won't cover the meaning
of those flags here.
Make sure you run this from the Mito folder!
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt && pip install -e ".[test, examples]" && jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build && jupyter labextension install . && jupyter lab --watch
To continuously monitor the project for changes and automatically trigger a rebuild, start Jupyter in watch mode:
jupyter lab --watch
And in a separate session, begin watching the source directory for changes:
npm run watch
After a change wait for the build to finish and then refresh your browser and the changes should take effect.
If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.
There are both manual tests and automated tests.
Run automated tests with
pytest
Automated tests can be found in mitosheet/test. These are tests written using standard pytest tools, and include tests like testing the evaluate function, the MitoWidget, and all other pure Python code.
Run manual tests by opening examples/manual_tests in jupyter lab, and selecting each workbook. Each workbook contains instructions on how to run the test and the expected outputs.
To write a manual test of your own, simply create a new notebook in the examples/manual folder and write a test here - or in a subfolder, if it fits better there.
These tests should be run before releases - but need not be run to merge things into the dev branch.
This project has linting set up for both (Python)[https://flake8.pycqa.org/en/latest/index.html] and (typescript)[https://github.com/typescript-eslint/typescript-eslint].
Run typescript linting with the command
npx eslint . --ext .tsx --fix
To learn more about writing documentation, see the README in the /docs folder!
TODO! These instructions will apply in the future.
You can install using pip:
pip install mitosheet
Or if you use jupyterlab:
pip install mitosheet
jupyter labextension install @jupyter-widgets/jupyterlab-manager
If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:
jupyter nbextension enable --py [--sys-prefix|--user|--system] mitosheet
FAQs
The Mito Spreadsheet
We found that mitosheet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.