No project description provided
Project description
Nelsie
Nelsie allows you to create slides programmatically using Python. It is a library with a Python API and a renderer written in Rust. The output is a PDF file or a set of SVG/PNG files.
There is no DSL or GUI; presentations created with Nelsie are fully programmed in Python. We believe that creating presentations in a programmable way makes the process of creating slides smoother and more reliable.
Nelsie focuses on controlling what the audience sees, so you can continuously reveal fragments of the slide, or simply manage which parts are highlighted.
Quick links
- Documentation
- Demonstration of features (PDF, source code)
Installation
$ pip install nelsie
Hello world
from nelsie import SlideDeck
deck = SlideDeck()
@deck.slide()
def hello_world(slide):
slide.text("Hello world!")
deck.render("slides.pdf")
Steps revealing
Nelsie allows you to easily reveal parts of slides:
@deck.slide()
def steps_demo(slide):
semaphore = slide.box(width=100, height=300, bg_color="gray")
semaphore.box(
y=InSteps([20, 110, 210]), # Set "y" coordinate for each step
width=80,
height=80,
bg_color=InSteps(["red", "orange", "green"]), # Set color for each step
)
slide.code(
"""
fn main() {
// Print text to the console.
println!()"Hello World!");
}
""",
"Rust",
show=4, # Show in 4. step
m_top=80,
)
The code generates four PDF pages:
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 Distributions
File details
Details for the file nelsie-0.12.0.tar.gz
.
File metadata
- Download URL: nelsie-0.12.0.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d15ffd2a7c600c49d0b1ea873bc1681bd0ce80241ea8dd90e0d343c233a6f2 |
|
MD5 | ef478afbd75112b53166069e53d02dd3 |
|
BLAKE2b-256 | 4598208dd12825ee2d64f47f6bbf359051d1433fdbcce2770bbb790d6e1152a7 |
File details
Details for the file nelsie-0.12.0-cp310-abi3-win_amd64.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21914494b54d5406447552ef9a826cd68955e0acd1d0aaa0495545cc50a3aad7 |
|
MD5 | c52272b8f3f6ab35f8af68294f64e7b7 |
|
BLAKE2b-256 | 0cc5879c4a1d9a04f0d113e654961dcee71dca21e9ca91dfe418cb336a5428e7 |
File details
Details for the file nelsie-0.12.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 22.7 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003582bf8597d03bd6250b46754b3914140a8b43edb99069c2f1af5afe87b890 |
|
MD5 | f18fb04c780a8592b126be992c9df1fd |
|
BLAKE2b-256 | f72723a351488b634bff8b99559e640399b1efa3e7fab04a994c5a775dfe247c |
File details
Details for the file nelsie-0.12.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 22.4 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257c54cd950f5c0495e236c15e257d442058eb1716a9761bc31d04624a2532a3 |
|
MD5 | 030f4c8bb4cc7555585e638cbf6c0dcd |
|
BLAKE2b-256 | 404003e9fa83aca808d1ef2f7a577085f67ff3d60b965962818d15b89197a2ed |
File details
Details for the file nelsie-0.12.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 22.5 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a27f99bd356356a5908ca4063c68ac39f8927fd2c20c0c1b97ea158794a4df7a |
|
MD5 | 6cda72b8bfa4a360321f004c5e8b9234 |
|
BLAKE2b-256 | 398f07abf45cacbe7b5298386acc926ed46e60388e000dd6bf4f7f5cba9338e5 |
File details
Details for the file nelsie-0.12.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 21.8 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5614dc22ea29920e79757f79731af5c794be6bbc3726455f280032629c2d93c0 |
|
MD5 | 511569fd48f227d329573e3d53c7ce15 |
|
BLAKE2b-256 | 1f0da628038c22a3bdead80216033a785f3990639022de4192448313d26f48c9 |
File details
Details for the file nelsie-0.12.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 22.3 MB
- Tags: CPython 3.10+, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0628412a509ae499085cf588f3a8369092625169d7964eac7583a516df521ea5 |
|
MD5 | 72f79b062862e3a607f3ad87fc996f66 |
|
BLAKE2b-256 | b9c039a01f995d391ad7a6b636bbd1b284126174766448144ebe714da6c820d7 |
File details
Details for the file nelsie-0.12.0-cp310-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60715ec82a2f8c3796302937faa801ccffda549b606ab244d0f7c1be0a18b28 |
|
MD5 | 6097effb763173ff3bfcb6e962914ee8 |
|
BLAKE2b-256 | a9445433d62bf466a90e9eeab9eb237a571d8a4e0f37a40984d33df6e277ce94 |
File details
Details for the file nelsie-0.12.0-cp310-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: nelsie-0.12.0-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a6e57360b30db8b8661f3f07bd56047df57a4ff3aff23d38415aac96496e112 |
|
MD5 | eeaebf4466607a0b6ec176b4db32f625 |
|
BLAKE2b-256 | 5d67e0585bc64fd11f628e5b5ddb88906c389bb0349bb44bdbb837b5cab5bbce |