Skip to main content

No project description provided

Project description

Cloudbian_Helper

Graphics Module

Authors: Cloudberry Pi Foundations

A simple Python library that makes data visualization easier using Matplotlib with a clean API and built-in 2D + 3D graphs.

Table of Contents

Example Usage

from graphs import Graphs

g = Graphs(
    title="Animal Balance",
    theme="ggplot"
)

g.pie_chart(
    labels=["Humans", "Animals", "Insects"],
    values=[80, 50, 40]
)

g.bar_graph(
    labels=["Humans", "Animals", "Insects"],
    values=[80, 50, 40]
)

g.horizontal_bar_graph(
    labels=["Humans", "Animals", "Insects"],
    values=[80, 50, 40]
)

Password Entry Module

A lightweight Tkinter-based password prompt utility that creates a simple GUI window for password input and validation.

Example Usage

from password_entry import start_password_entry

start_password_entry(
    required="mysecretpassword"
)

Function Reference

start_password_entry(required="abcd1234")

Creates a password entry window and validates user input against the required password.

Parameters

Parameter Type Description
required str The password that must be entered correctly

Default Value

required="abcd1234"

Basic Usage

from password_entry import start_password_entry

start_password_entry()

Uses the default password:

abcd1234

Custom Password

from password_entry import start_password_entry

start_password_entry(
    required="admin123"
)

How It Works

  1. Creates a Tkinter window.
  2. Displays a password input field.
  3. Masks entered characters using *.
  4. Waits for the user to press Submit.
  5. Compares the entered password with the required password.

Source Example

from tkinter import *

def start_password_entry(required="abcd1234"):
    root = Tk()
    root.title("Enter your password")

    password = Entry(root, show="*")
    password.pack()

    def submit():
        passw = password.get()

        if passw == required:
            return True
        else:
            return False

    Button(root, text="Submit", command=submit).pack()

    root.mainloop()

Notes

  • Password characters are hidden while typing.
  • Built using Python's standard Tkinter library.
  • The current implementation validates the password but does not display success or failure messages.
  • Can be extended with dialogs, callbacks, or custom UI elements.

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

cloudbian_helper-0.1.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudbian_helper-0.1.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file cloudbian_helper-0.1.2.tar.gz.

File metadata

  • Download URL: cloudbian_helper-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.2 Darwin/24.6.0

File hashes

Hashes for cloudbian_helper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 65617c81610ff04607fff508d532fdc37933f4c685f1220e14968a1b0b6501fb
MD5 1ff1f5cfe9cb550317ba6ef6e456eaef
BLAKE2b-256 8e0d94aafc383f3866c9e8ab5426f255281123a11f21f08af13502f81da6442c

See more details on using hashes here.

File details

Details for the file cloudbian_helper-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cloudbian_helper-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.2 Darwin/24.6.0

File hashes

Hashes for cloudbian_helper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 258c17c045140712d615c88d420ab1671403631b72a584c7816b9dcdc5d148e8
MD5 04b676d74be54ff0f6b199916af54549
BLAKE2b-256 734e7344961e9b82c3ce05c688c20db0c8131d61e1e5329a92a657bdfb6c48d4

See more details on using hashes here.

Supported by

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