Skip to main content

JLAB Dev

Develop python packages using jupyterlab.

This library allows you to develop regular python packages while writing your code in jupyterlab. You can create notebooks to develop your code and in these notebooks, simply annotate your cells with #export if you want them to be put in the library. (A notebook must be marked for conversion with #convert in the first code cell.) Other cells will be used as examples in your doc (together with the markdown of your notebook) unless marked with #hide.

Image of nb_convert notebook

Of course JLAB Dev itself is completly implemented as a notebook in jupyterlab (see here).

Installation

It is as simple as a pip install.

# For stable version
pip install jlabdev

# or for bleeding edge
pip install git+https://github.com/penguinmenac3/jlabdev.git

Usage

Basics

Simply create your notebooks and add a code cell with #convert as the first cell and annotate all cells you want to export with #export.

Now you can compile your notebook into python and markdown doc by saving it and then running these commands at the root of your project folder:

nb2py  # Creates python files next to the notebooks
nb2md  # Creates markdown doc in docs

When you edit your python file (e.g. refactoring) and want to update the notebook from the python file.

py2nb

Documentation

Documentation can be found in docs it will be automatically generated there. The README.md is an overview over all packages availible.

License

The MIT License (MIT)

Copyright (c) 2020 Michael Fuerst

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for jlabdev 20201010

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jlabdev 20201010
File Size Uploaded Provenance Actions
jlabdev-20201010.tar.gz 8.3 kB Without provenance Details for jlabdev-20201010.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jlabdev 20201010
File Interpreter ABI Platform Actions
jlabdev-20201010-py3-none-any.whl Python 3 none any Details for jlabdev-20201010-py3-none-any.whl

Total release size: 16.9 kB

Release files / jlabdev-20201010.tar.gz

Download URL jlabdev-20201010.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
05c38ad5cbbd81893f32bb3c32e649dfd40c754042c149352d97b46711628eef
BLAKE2b-256 checksum
How to use checksums
ae1f19660d43fd8ffc18ad5a38bd679dbf35e4d85403b22388f60d7e4c95b547
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / jlabdev-20201010-py3-none-any.whl

Download URL jlabdev-20201010-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d68d33fbcf81cbd622ad5978cdc42d18bb82aa710bd8dd4d540f1813103eea9
BLAKE2b-256 checksum
How to use checksums
d40e877fa9f50d50f864b2246757c384958858bf88ecba562aaf8f4a52fbf5a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for jlabdev 20201010

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page