Support for code that works interactively and in batch mode.
Project description
Notebook-like Executables
Python programs that allow notebook-like development.
- Free software: MIT license
- Documentation: https://nbex.readthedocs.io.
Features
- Switch between development and deployment modes
- Use development mode to configure smaller data tables, models, etc.
- Use deployment mode to run full deployment and training
- Switch between interactive and command-line usage
- Use interactive mode to interact with the code in a notebook, receive styled IPython output, etc.
- Use command-line usage to run the code in your CI system, etc.
Installation for Development
To develop nbex with a standard Python environment install it as
pip install -e .
from the root directory of the package.
If you are using conda, make sure that you have the conda-build package installed and then install nbex with
conda develop .
from the root directory of the package.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-11-11)
- First release on PyPI.
0.2.0 (2020-11-12)
- Try to guess a useful value for is_interactive without user intervention.
0.2.4 (2020-11-27)
- Add support for publishing a conda version
0.3.0 (unreleased)
- Improved algorithm for figuring out whether a session is interactive or not.
0.3.1 (2021-01-05)
- Add
session.forced_interactive_value
property to override automatic detection.
0.3.2 (2021-01-05)
- Improvements to build and release targets, no changes to Python code.
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
nbex-0.4.1.tar.gz
(14.6 kB
view hashes)