Skip to main content

No project description provided

Project description

Nelsie

Build

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nelsie-0.14.0.tar.gz (6.0 MB view details)

Uploaded Source

Built Distributions

nelsie-0.14.0-cp310-abi3-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10+ Windows x86-64

nelsie-0.14.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ x86-64

nelsie-0.14.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (9.7 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ppc64le

nelsie-0.14.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (9.7 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARMv7l

nelsie-0.14.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.3 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARM64

nelsie-0.14.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (9.8 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.12+ i686

nelsie-0.14.0-cp310-abi3-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.10+ macOS 11.0+ ARM64

nelsie-0.14.0-cp310-abi3-macosx_10_12_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.10+ macOS 10.12+ x86-64

File details

Details for the file nelsie-0.14.0.tar.gz.

File metadata

  • Download URL: nelsie-0.14.0.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for nelsie-0.14.0.tar.gz
Algorithm Hash digest
SHA256 e74e87404f8ac38daf996d1f0c4316b10deddd8f271592aff0284e4b5359ff7f
MD5 1e9ba623bb54c1ccbba760aefe2ae405
BLAKE2b-256 35e14546052d5da66ce3793a2f64120760fd8cf3a8d369b9a8d9786f880abf68

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bcdaab6d976b296af67c7f3786c921be3a30baf802d39237ce93b900ce10d6d5
MD5 dc60438dadaab3af795b7e687916306b
BLAKE2b-256 f62f234137a7a112465f0f20cef71a18cf73de995ca91f75200adcd635d46c3b

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77a135186564ff71e26956ac0212af78aa866ba93a942ed2f0c090767568f164
MD5 668bfcfd90b1bb3bd20f5b44293a55b6
BLAKE2b-256 55adb90f10e64500c57da5b2a72e2cd646e75a8b09d7d7e74794b56abdc01fd7

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 4f13fae00a892417c98c9673468b0147099354e48a3815a571eb8eed4a53005d
MD5 02c728f9f4146bbd35caec61d1d66848
BLAKE2b-256 1d04ca1e2fd796e7a4a1c01010b3e00802327f4df3ae71a8ee84f476b6e414dd

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 0b8ff01fde6afad760efb0bd21067271a7659e26ce736504bd1768720da1be68
MD5 b333100516c35a9a141c0b3f53550192
BLAKE2b-256 0087df3ac234b3db2857fd9dc1151d2b70f828fee642fbfce23c763f3651e281

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 54e25de9983d681509e9e47269284c29ac6fe653b280a0a42435f17d3e097f3b
MD5 2dafe57bab97c5d32e5f888631a3b352
BLAKE2b-256 d374fd3f5acaafc00d62a8077d2bae9469a1bdafe1951b403ab5cd7eb06556cc

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 1f116a9a34eb4134c09a16ee8fdc42ecfd05780499efb115d1fac185cb204a62
MD5 ea60cd5e0ca35f02f3fa7083a3c4f603
BLAKE2b-256 49a2a2fa97a6fb1938908f7106050d1b2903c570e5d37a3dea7b2986cab646de

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bc67127f1b56059d7568b9433299380624f93121d06d810c3bdbc793c8ac1dbf
MD5 63b1ec9f790bc72c311c3fe8b9f07f27
BLAKE2b-256 8cb7c8094f1751839b31e67562400b0219abd3c667aab46460a4ea17926f25ec

See more details on using hashes here.

File details

Details for the file nelsie-0.14.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for nelsie-0.14.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9c7cfa1bd922ada90bdecc49d7709b36d27e65d536c7ba11e8911c80e7d92b1d
MD5 38935dc8a4222f3cfaf3ab67d44cb167
BLAKE2b-256 e9251119647b5fad4314d319ec5ccf682499f3cab05ae4c69d82e4e7167c5fa2

See more details on using hashes here.

Supported by

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