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.1.tar.gz (4.9 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.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudbian_helper-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 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.1.tar.gz
Algorithm Hash digest
SHA256 89911d1874a525ab383cbbf2209986fb5ea3f2b00ecd11f43ec39f059fcd5266
MD5 432e78c2f5c1d77340bfba353e7779b0
BLAKE2b-256 b08213e5e70eb8280fa447d95009ba02d4da8309c34771f11cadb8e86eb34b97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloudbian_helper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1479adb5abe8bbe7396488dca2b82d1f8f58b7fe80f3ef250d5a95467ec201cc
MD5 1a9eba5db003592e375703ac7a934d78
BLAKE2b-256 9b1c2aef39ea86b61368dbe4be57478a9a6ded32029941c88fe9a5055e7ec2a3

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