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)
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:
Installation
$ pip install nelsie
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
Hashes for nelsie-0.7.0-cp39-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6eecc5875dd772400d051f8339de794a0b9e2a3b8b435b0e36252dca88881d |
|
MD5 | 525c24015238f0d757600a700ea8ec2c |
|
BLAKE2b-256 | 2f2f3b380d443d0363a29f5b126aab56d6c1e7f572e8bb2b92cc649e8b5f3219 |
Hashes for nelsie-0.7.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562c4156b51a9eec6ce72242b72feac89f0a2bafb688510d8b86c563d4eb79df |
|
MD5 | 9533ee006cab9744645c3ce694d0a9b4 |
|
BLAKE2b-256 | 1be11364490b5b176a20e41d2e1dd49633ddd00d87e91d8c52167a419ae9aae5 |
Hashes for nelsie-0.7.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be8d24a5adb0e186f1607820d92fc358a2a47244b6371480aeaa9125dacd23d7 |
|
MD5 | c38b93e37c4982f6fe559a335d3e6275 |
|
BLAKE2b-256 | c3b8b0d261256dab61749229cf545ee2f4793ee2a42ef9f3194e8e516d3b9b16 |
Hashes for nelsie-0.7.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cebae258f70b98fb8602952f8bad2f6fa99bc150f979c765ce7a6ec6176c917 |
|
MD5 | 7b2da76041bcb1381d415cb3c5b956fd |
|
BLAKE2b-256 | 1db46f6ef1e32debd58c317daa55aeeca3806226705a4b5fbbd17c2feecba158 |
Hashes for nelsie-0.7.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a34aa8a6ff4db6c3171cec7212810948712e05e2d918f28160d3c09df9e00932 |
|
MD5 | 430cd9857f799d080e5f6a9603954dae |
|
BLAKE2b-256 | 09b8b452b34f2531071bf681bc43c34534965615a260cab8e6ee9d51bb89f10d |
Hashes for nelsie-0.7.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ad3498b2e1391110b5a5138cfa250209b1135d90e58ae4e8467019422415b37 |
|
MD5 | b4cd95e92389aeea1f713595ea273852 |
|
BLAKE2b-256 | b8f6a345df897b0446abbbef10fa95c72ce5d749900e66e0804ce89965a8675c |
Hashes for nelsie-0.7.0-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287f443294c8ad93781fde1a780e002d3ab8e6b3ccb0512c476ee6bc3b4a2c12 |
|
MD5 | a0512fca49f49d0415b8b56828460db0 |
|
BLAKE2b-256 | c3169b78bcd19a40fbcfb01944b7a34ae33af2feeaea31de7ec7d160c3f08672 |
Hashes for nelsie-0.7.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b3a3ac70f4373bb69d670f2fc619a4f0d3bec68fc27d26853843050cde35f3a |
|
MD5 | b1510554e54c542d068575b1ae131801 |
|
BLAKE2b-256 | 0c2b87b6ccdcf1f6738b104ddd9510e600e459be3ed1f897dfdd7d728acdf432 |
Hashes for nelsie-0.7.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6a6e5c71686a57432014583296d20f9050f8a502618ca80880d66630473a4c |
|
MD5 | 535e9588d05b7af6c57834c4a88e9162 |
|
BLAKE2b-256 | 2919c4292db93cd6dc31b4e6bdee40aba07f897a8edda0059b768754385bbac5 |