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.13.0.tar.gz (6.0 MB view details)

Uploaded Source

Built Distributions

nelsie-0.13.0-cp310-abi3-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10+ Windows x86-64

nelsie-0.13.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

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

nelsie-0.13.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (10.4 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ppc64le

nelsie-0.13.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (10.5 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARMv7l

nelsie-0.13.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.1 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARM64

nelsie-0.13.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (10.5 MB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.12+ i686

nelsie-0.13.0-cp310-abi3-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10+ macOS 11.0+ ARM64

nelsie-0.13.0-cp310-abi3-macosx_10_12_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10+ macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: nelsie-0.13.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.13.0.tar.gz
Algorithm Hash digest
SHA256 03f7cba6e5a8cb042ea5d9f174f45266c2e6181d769af028575b66e3c2e15b6c
MD5 0e18eaeceba04be1cd932955eb4246a2
BLAKE2b-256 896e7b2671df6f75c10a3f312358f919938181898c27fbc5c75eb0a432c4a7d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b221e65257ead6a663ded2fb7bd27c8e1856c9b4981883a6ec690ff1b84d1985
MD5 0a8d0456be884b5d32fa2bf82c91f362
BLAKE2b-256 b46a85d051ea534eb4f1320346ba9a958764d6e1f37c8c27ddff96d08d20b7a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e8350783d8abc1b5ca785e5114307a62c87b11012c73f15403abcc0870e49d2
MD5 e98a6a51a2f4b6b6c7e438113089a3ec
BLAKE2b-256 1480b5bd76be8b51823bde85dd1fc68f550364d9a15ad5c1b73945e282164d0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 f435b7ea1831b4b9794904db336c9e2cfc32423a2e800560e3370434c27f05de
MD5 8568040d57e8211996f35cdd095de2ee
BLAKE2b-256 75438c01e0292378acffd8b804294f99a5b8af5846928aa733d6e8ad4e0a8435

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 71b16a6c4063e49e5d997f0f272aaad7488a8ca73f92222595674c79ac8990c2
MD5 7d41f6e46fcf729acccea7b0592b9c30
BLAKE2b-256 758e05798a3a4caaa2861fe9bf4b5f4e967a45907e9d9fe3945ffa4ee539dd46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa78946010685234c312e7bb469bc1f960ebbea195dbc84c56984bedf1dc1f22
MD5 6f9ca5cabca3db34d3cd39f17380aa64
BLAKE2b-256 1ff6aa0a90d2c83c9d67c79cf5ec316bf55722c8789b2542325575e87c601544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 47150771e35837cbbcebb716d72ae67e38ae57b6ca64f2a89f2b972f47252323
MD5 d92dd868edb3690d18eaaca3f3fc9888
BLAKE2b-256 8fc060e6930620e9ec2229ad902ced8b77b1e8c2de6be5294433cc660d302c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 edcdad0e2768c45521db7dd5e92da5f1dcefaaf2f763c988d371e9d4df384f74
MD5 098def016c91f1ad79cea5a241fce80a
BLAKE2b-256 65304f4ba9ad9b014f7b69eb2331568f076db9c71f25c03e776d037fa916c771

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nelsie-0.13.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ec3282b3f7a66e57e666411d5026036edd8bcb4b793929f97d2d3f0a36b2057a
MD5 f9c98d47ad724afc6017f28f4647424f
BLAKE2b-256 058508a363c025d573264b07da36e7ce3242b27049ce0494f481ae1e249efa27

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