Skip to main content

Support for code that works interactively and in batch mode.

Project description

Notebook-like Executables Documentation Status Updates

Python programs that allow notebook-like development.


  • 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.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


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

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)

Uploaded source

Built Distribution

nbex-0.4.1-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page