Skip to main content

Python Library to write N4L notes from Jupyter Notebooks

Project description

nbsstorytime

Usage

Installation

Install latest from the GitHub repository:

$ pip install git+https://github.com/chrphb/nbsstorytime.git

or from pypi

$ pip install nbsstorytime

Documentation

Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines on pypi.

To learn more about the N4L semantic format, see Mark Burgess’ SSToryTime

How to use

Just use a Jupyter notebook and edit your cells.

When you want to write some N4L notes, add a new cell of type raw that begins with:

    #| n4l

At the end of your notebook, add a Python code cell:

    import nbsstorytime; nbsstorytime.nbsstorytime_export() 

This cell will export the content of all your N4L cells content into a new file called with the same name as your notebook, but with a .n4l extension”

demonstration

  • my notes # you give it a title # and you can leave comments to yourself.

Mostly you just write notes ” (e.g.) This is a simple example that illustrates the line above

Developer Guide

Install nbsstorytime in Development mode

# make sure nbsstorytime package is installed in development mode
$ pip install -e .

# make changes under nbs/ directory
# ...

# compile to have changes apply to nbsstorytime
$ nbdev_prepare

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

nbsstorytime-0.0.9.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbsstorytime-0.0.9-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file nbsstorytime-0.0.9.tar.gz.

File metadata

  • Download URL: nbsstorytime-0.0.9.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nbsstorytime-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6aa0d995c25c00799caa7af12cd21b0bef055a0e6d517850721ee613517653dc
MD5 c5cd6d188362823d34a3cd2df4b3169e
BLAKE2b-256 8ff47b11e18b4aedde9db82429196ed02fab144fd30200180c7d4ce77cf00b85

See more details on using hashes here.

File details

Details for the file nbsstorytime-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: nbsstorytime-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nbsstorytime-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 64731e83652987d9c0992f60b68c20478bc4ed523fd55f8fa81acf98b88e7944
MD5 d3582874b3e7679981eea2f0b6a1c76a
BLAKE2b-256 968342a36852d2909446cae2f43ea52b038c4fd628ca7c81417662bf27a74624

See more details on using hashes here.

Supported by

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