Skip to main content

Support for code that works interactively and in batch mode.

Project description

Notebook-like Executables

https://img.shields.io/pypi/v/nbex.svg https://img.shields.io/travis/hoelzl/nbex.svg Documentation Status Updates

Python programs that allow notebook-like development.

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


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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file nbex-0.4.1.tar.gz.

File metadata

  • Download URL: nbex-0.4.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for nbex-0.4.1.tar.gz
Algorithm Hash digest
SHA256 529cecfd4a00d7621957abd5b98212b0529fa4d28798f82a4ecb726cd3374f0c
MD5 ff5a9c439ca0b1ed21315db0a317bd67
BLAKE2b-256 c085e289a54e6b25f0c8ad6eb5bb1b7a10beec793dacceb27610a28fca27941a

See more details on using hashes here.

File details

Details for the file nbex-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: nbex-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for nbex-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 97e4047109980c62a7616b35342de9227cbc401febf5a06743240812a3efa8ed
MD5 6ea8b681e411080ba73fa4aad677f186
BLAKE2b-256 f9d75b4be5dce6e8cd2c5686f19a26666aeae02da92fb241ca52d73474c101bd

See more details on using hashes here.

Supported by

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