Skip to main content

Nevu UI Intro Banner

alt text

Nevu-UI Documentation

Nevu UI is a GUI library for easily creating interfaces in Python, which provides a set of ready-made, customizable components and convenient tools for creating interfaces in games and applications.

Key features:

  • Layouts: Containers that automatically position elements inside themselves, for example Grid, VScroll.
  • Widgets: Ready-made graphical elements, for example Button, Label, Input.
  • Styling: Customization of the widgets' appearance via Style to suit your needs.
  • Animations: Support for animations via AnimationManager.
  • Different UI creation modes Support for declarative and imperative creation, with the ability to combine them.
  • Multiple backends: Support for Raylib and Pygame
  • Easy integration: Ability to embed nevu-ui into an existing game or application using InitializedWindow.


Style banner


Example1


Example2


Example3


Example: Button in a 3x3 Grid

Declarative approach

import pygame

# Import nevu-ui
import nevu_ui as ui

pygame.init()

window = ui.Window(size = (400, 300), title = "Nevu-UI application")

# Create a style with some visual parameters
style = ui.Style(border_radius = 20, colortheme = ui.ColorThemeLibrary.material3_dark)

# Create the main menu
menu = ui.Menu(window, size = ui.fill_all, style = style,
    # Create a 3x3 grid
    main_layout = ui.Grid(
        {
            (2, 2): ui.Button( # Create a button in cell 2, 2 (counting from 1)
                text = "Click me!",
                function = lambda: print("You clicked!"),
                size = (50 % ui.fill, 20 % ui.fill),
                style = style
            )
        },
        size = ui.fill_all,
        row = 3,
        column = 3
    )
)

if __name__ == "__main__":
    app = ui.Manager(window, [menu])
    app.run() # Run the main loop

Imperative approach

import pygame

# Import nevu-ui
import nevu_ui as ui

pygame.init()

# Create the main application window
window = ui.Window(size = (400, 300), title = "Nevu-UI application")

# Create a style with some visual parameters
style = ui.Style(
    border_radius = 20,
    colortheme = ui.ColorThemeLibrary.material3_dark
)

# Create the initial container
menu = ui.Menu(window, size = (100 % ui.vw, 100 % ui.vh), style = style)

# Create a 3x3 grid
grid = ui.Grid(size = ui.fill_all, row = 3, column = 3)

button = ui.Button(
    text = "Click me!",
    function = lambda: print("You clicked!"),
    size = (50 % ui.fill, 20 % ui.fill),
    style = style
)

# Add the widget to the cell at coordinates 2, 2 (counting from 1)
grid.add_item(button, x = 2, y = 2)

# Pass the grid to the menu
menu.main_layout = grid

if __name__ == "__main__":
    while True:
        events = pygame.event.get()

        # Update the window
        window.update(events)

        # Update and draw the menu
        menu.update()
        menu.draw()

        pygame.display.update()

Example Result:

Example1


Style banner


Declarativeness

  • Interface creation:
    # The layout's content can be specified directly when creating it
    my_grid = Grid({(1, 1): Button(...)}, ...)
    
    # The layout can be specified right when creating the menu
    menu_1 = Menu(..., main_layout = my_grid)
    
    # You can set up the draw loop in 2 lines
    app = Manager(window, [menu_1])
    app.run()
    
  • Size system: Allows using relative values to specify an object's initial height/width instead of pixels. Usage example:
    from nevu_ui import vw, fill
    Widget(size = (30*vw, 50*fill))
    
    you can also use %
    from nevu_ui import vw, fill
    Widget(size = (30%vw, 50%fill))
    
    Types of sizes:
    • vh / vw: Percentage of the window's height/width.
    • fillx / filly / fill: Percentage of the parent layout's height/width/size.
    • gc / gcw / gch: Percentage of the grid cell's size.
    • Prefix c: can be placed at the start of any value except auto (for example, cvh); it means the current size of the window/layout will be used, while without the prefix the original size is used.
    • auto: automatic sizing based on content.

Animations:

25+ different animations

  • 2 animation modes:
    • Start: runs once after the animation has loaded.
      widget.animation_manager.add_start_animation(...)
    • Continuous: runs infinitely and in a loop.
      widget.animation_manager.add_continuous_animation(...)
  • 4 kinds of animations:
    1. Vector2Animation: a vector animation
      Example: from (0, 0) to (10, 10)
    2. FloatAnimation: a numeric animation
      Example: from 10 to 5.5
    3. ColorAnimation: a color animation
      Example: from (255, 255, 200) to (0, 0, 0)
    4. QueueAnimation: a compound animation
      Example: from animation1 to animation2, and from animation2 to animation3

Style banner


Dependencies:

Python >= 3.12

  • For Building:
    • setuptools
    • Cython
    • numpy
  • For Running:
    • numpy
  • Additional libraries:
    • pygame-ce
    • raylib
    • pyyaml

Installation via pip

pip install nevu-ui[all]

Style banner


List of available elements

Layouts

  • Grid
  • Row
  • Column
  • Scroll
  • HScroll
  • VScroll
  • Stack
  • HStack
  • VStack
  • Flex
  • HFlex
  • VFlex
  • CheckBoxGroup

Widgets

  • Widget
  • Button
  • Label
  • Input
  • EmptyWidget
  • Tooltip
  • ProgressBar
  • SliderBar
  • ElementSwitcher
  • RectCheckBox
  • Switch

Available Backends

  • Pygame-ce
  • RayLib

Backend Exclusives

  • Ripple effect on click — Raylib exclusive

Style banner


Nevu UI is distributed under the MIT license


Style banner


Nevu UI may contain bugs, as it is still in beta version.

If you find a bug, please report it in Issues


Style banner


Gmail: bebrovgolem@gmail.com

Creator: GolemBebrov / ГолемБебров

Metadata

Release files for nevu-ui 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nevu-ui 0.9.0
File Actions
nevu_ui-0.9.0-cp315-cp315t-win_amd64.whl CPython 3.15 CPython 3.15 free-threading Windows x86-64 Details for nevu_ui-0.9.0-cp315-cp315t-win_amd64.whl
nevu_ui-0.9.0-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for nevu_ui-0.9.0-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
nevu_ui-0.9.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for nevu_ui-0.9.0-cp315-cp315-win_amd64.whl
nevu_ui-0.9.0-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for nevu_ui-0.9.0-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
nevu_ui-0.9.0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for nevu_ui-0.9.0-cp314-cp314t-win_amd64.whl
nevu_ui-0.9.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for nevu_ui-0.9.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
nevu_ui-0.9.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for nevu_ui-0.9.0-cp314-cp314-win_amd64.whl
nevu_ui-0.9.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for nevu_ui-0.9.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
nevu_ui-0.9.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for nevu_ui-0.9.0-cp313-cp313-win_amd64.whl
nevu_ui-0.9.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for nevu_ui-0.9.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
nevu_ui-0.9.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for nevu_ui-0.9.0-cp312-cp312-win_amd64.whl
nevu_ui-0.9.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for nevu_ui-0.9.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Total release size: 60.4 MB

Release files / nevu_ui-0.9.0-cp315-cp315t-win_amd64.whl

Download URL nevu_ui-0.9.0-cp315-cp315t-win_amd64.whl
Size 2.2 MB
Tags CPython 3.15 CPython 3.15 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
594ffbc9ef1f71cfe6e920641d07f25573ba32b226e500ca01b046ca81648e8c
BLAKE2b-256 checksum
How to use checksums
bd363785f0fbf999a1ddfd9c3c8e37269a727061c8a05f865c5c22461d16ddb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nevu_ui-0.9.0-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 8.1 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fd8807c67eb0639cbdfec9ceb26fb40372e87d604418568b63ece1a0d5a39d3e
BLAKE2b-256 checksum
How to use checksums
57eb7ca2fbe2eb0b61c216634c4e5bda2d1a5ada160ed653ba658d49275dcd41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp315-cp315-win_amd64.whl

Download URL nevu_ui-0.9.0-cp315-cp315-win_amd64.whl
Size 2.1 MB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
f998c9258316e9c80d1307da11b81e1e0419ee10984e50e7ad2db798f638ba0b
BLAKE2b-256 checksum
How to use checksums
6b5c5484d6cf57e18c14803053163143b534013d400ee61d81a43307f3818856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nevu_ui-0.9.0-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 7.8 MB
Tags CPython 3.15 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a081e9b71f913033f68232c58562a4ea07af1231b48acc18496179b67a5cd68d
BLAKE2b-256 checksum
How to use checksums
a0f9a039c4855005e087a0782f1a0f0f78f42c9831ed2d680d5195b0df82beba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp314-cp314t-win_amd64.whl

Download URL nevu_ui-0.9.0-cp314-cp314t-win_amd64.whl
Size 2.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
1c3385589bd642249db0dc3e86b67f46914ab7345ec4719ff1948a46bff17412
BLAKE2b-256 checksum
How to use checksums
51d1beb0b5c23352ca7cfae177f15fcdeaece3f2cbe2ab02e3afc8c77b3bfcf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nevu_ui-0.9.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 8.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
00cfd155f01a021e37a63f73ee03328837dac097cfb0b8a114937c534d001e8f
BLAKE2b-256 checksum
How to use checksums
c1d4519549d4b1faad90a111c3b48a05c5003943e53e49bee0cb718bfb5fff14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp314-cp314-win_amd64.whl

Download URL nevu_ui-0.9.0-cp314-cp314-win_amd64.whl
Size 2.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
d3f1280708fcc07ccca02009de1da418166ce4379bc16e13e0995e38270fa403
BLAKE2b-256 checksum
How to use checksums
90c81af4abd244365847706ee114d905d033ac58183471878eb1c799f097d06c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nevu_ui-0.9.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 7.8 MB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
43e211fa60bfef48622bb7f43d4f796d6b6007691e3c22d07b3d4632927a757e
BLAKE2b-256 checksum
How to use checksums
aa337f0801b6de8760dcff172e329e53f87e393bd1a918af0f9e16299bd13f8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp313-cp313-win_amd64.whl

Download URL nevu_ui-0.9.0-cp313-cp313-win_amd64.whl
Size 2.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
d4c22643e2e0fde0edb2b7f307f049bac684957bc64cfdae1591c7f71e9c8e6d
BLAKE2b-256 checksum
How to use checksums
43c9f5bdff8485a8bcac6078f60d27bf6d64783e6def25a2cfbebdbc16c835b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nevu_ui-0.9.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 7.9 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a5c4e5e562f1c7a2a0821806c7bb1ffb1ebb05a6fea4bd0e7419cc243cb7ddca
BLAKE2b-256 checksum
How to use checksums
ab181059928561cbb27ce96267bfc53427406f8b087351a1fd8ce8d9553e2116
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp312-cp312-win_amd64.whl

Download URL nevu_ui-0.9.0-cp312-cp312-win_amd64.whl
Size 2.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f6969bac971955392592bc72348c08ed46bfc9b9139a2551abb3a89ee8dc3662
BLAKE2b-256 checksum
How to use checksums
d198391534d80e78abf673c0ab6bc832f754471bef1f00e1c770658fa2cef610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / nevu_ui-0.9.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nevu_ui-0.9.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 7.9 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
08abd40df7bb1f6308c7f89c32377df13694253526a9ca0de426052254e51577
BLAKE2b-256 checksum
How to use checksums
8716309fb41db1c5539798f113736b1465f8308268b606a48f57d8bebf0302de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for nevu-ui 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for nevu_ui-0.9.0-cp315-cp315t-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

12 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page