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”
- 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aa0d995c25c00799caa7af12cd21b0bef055a0e6d517850721ee613517653dc
|
|
| MD5 |
c5cd6d188362823d34a3cd2df4b3169e
|
|
| BLAKE2b-256 |
8ff47b11e18b4aedde9db82429196ed02fab144fd30200180c7d4ce77cf00b85
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64731e83652987d9c0992f60b68c20478bc4ed523fd55f8fa81acf98b88e7944
|
|
| MD5 |
d3582874b3e7679981eea2f0b6a1c76a
|
|
| BLAKE2b-256 |
968342a36852d2909446cae2f43ea52b038c4fd628ca7c81417662bf27a74624
|