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
- Installation
- Creating a Graph Object
- 2D Graphs
- Realtime Graph
- Save Graph
- 3D Graphs (Value-Only API)
- Themes
- Full Example
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
- Creates a Tkinter window.
- Displays a password input field.
- Masks entered characters using
*. - Waits for the user to press Submit.
- 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.
Release files for cloudbian-helper 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudbian_helper-0.1.2.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudbian_helper-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / cloudbian_helper-0.1.2.tar.gz
| Download URL | cloudbian_helper-0.1.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65617c81610ff04607fff508d532fdc37933f4c685f1220e14968a1b0b6501fb
|
|
BLAKE2b-256 checksum How to use checksums |
8e0d94aafc383f3866c9e8ab5426f255281123a11f21f08af13502f81da6442c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.2 Darwin/24.6.0
|
Release files / cloudbian_helper-0.1.2-py3-none-any.whl
| Download URL | cloudbian_helper-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
258c17c045140712d615c88d420ab1671403631b72a584c7816b9dcdc5d148e8
|
|
BLAKE2b-256 checksum How to use checksums |
734e7344961e9b82c3ce05c688c20db0c8131d61e1e5329a92a657bdfb6c48d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.2 Darwin/24.6.0
|