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)
- Blog post why Nelsie was created
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.15.0.tar.gz
.
File metadata
- Download URL: nelsie-0.15.0.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc0235fa274a0974b52baae6b9b29f065d069d1b0a7b03d86e80ac605c3686f |
|
MD5 | 50403a9da2de2a151665810ffab34a93 |
|
BLAKE2b-256 | 5318baa5eb8208898f96fb88c031865fccd4cf4b32a78722f683d1cdc0b8421a |
File details
Details for the file nelsie-0.15.0-cp310-abi3-win_amd64.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 7.2 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a70200196d4d498ac4e6b260884e9fed7b07b4906ddc7a524c991ea5efeaf4 |
|
MD5 | 4edb6949196c6863779c0f237a11de28 |
|
BLAKE2b-256 | 229f7de3b41b9e076a19e9f0af6ad9b29385a95db155fca29d73ffdda9622b99 |
File details
Details for the file nelsie-0.15.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.2 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12d0d75980bfcacb0d9ad5ebb423d3d42a6c2284748cc2646e7a8157a303338 |
|
MD5 | a57850880a07aad338f19bfe1a5db833 |
|
BLAKE2b-256 | 15b08685f85ebcec392af5c18a974300e01cd4394330e1ad5b698f367779d89c |
File details
Details for the file nelsie-0.15.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 14.5 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467218d273afed67b7662f3cc34b5c76291da3fea9baf64423be684bb9cfaeb7 |
|
MD5 | 098762fa9375f05dbb0b4dd0aecc7394 |
|
BLAKE2b-256 | 10c7ea5729378c2e4e629a4646df5337a14b54eed1d5f97b57048b14f46a33dc |
File details
Details for the file nelsie-0.15.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 14.4 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6520799b9048fb37f2aeaa8e86cb7f6ad56d2d81812f831362702312503ea321 |
|
MD5 | 0d8a9943a29c42f665e7eec6b607e937 |
|
BLAKE2b-256 | bdab808814b30f7dff06eb7a0d86fcba43bc849cc440f64639d4bae740251255 |
File details
Details for the file nelsie-0.15.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 14.0 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af0abc2c2e75b0030411edc58f8b3068746c0b57910daef4e1ee8ba44fb224c |
|
MD5 | 67273122d63cd18904e6fc76c6dcfd2d |
|
BLAKE2b-256 | 073382d252ca4b89a40626e9e8889bbc68198755443aaee5d20ecd9b018e371f |
File details
Details for the file nelsie-0.15.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 14.6 MB
- Tags: CPython 3.10+, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e030012fe36c3ab174ab8b6adbf1206b406240e68f40f2de0cf990ce1b52dae3 |
|
MD5 | f97171acc851857815e96046086806c4 |
|
BLAKE2b-256 | 3674dcac7037a6bc15445afac77544034a564891faa35f9c9e3d8cbb55980377 |
File details
Details for the file nelsie-0.15.0-cp310-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 7.1 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abd00da2c3bf008fb7680cfe00c6bd3581c76fdf9c1a685f99e856b3fcaa1fe1 |
|
MD5 | 66917e64810707a20413137c31aabd4f |
|
BLAKE2b-256 | 09f479e399f0a8a3de63d1346d74558977e2ba86451c5f94b782f6cded45356c |
File details
Details for the file nelsie-0.15.0-cp310-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: nelsie-0.15.0-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 7.5 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4963ae2f0e389e4539918b3bcbbd69cddd309f6b3f91edcc4fa340ba9eb6a1cf |
|
MD5 | 6310f190464605936c18e50617a924a2 |
|
BLAKE2b-256 | 9d0d4bb9a719ccd0635ce3e2ef07f96d8d85973c5d53f45c2e4d55d75bd3f45b |