Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2dae569
Added a host of widgets, a default root object, default styling methods
Felix-Mallinder Feb 20, 2026
98aa1b9
renamed filing
Felix-Mallinder Feb 20, 2026
7b91664
included bhom branding
Felix-Mallinder Feb 20, 2026
3c8b30e
fixed style sheet
Felix-Mallinder Feb 20, 2026
c1fb71d
wip hand over to felix
Tom-Kingstone Feb 23, 2026
a1b97d9
improved theme methodology
Felix-Mallinder Feb 23, 2026
0dbb249
Improved default root use
Felix-Mallinder Feb 23, 2026
f05f88a
add a multi tick selection widget
Felix-Mallinder Feb 23, 2026
784a6a5
Added colour picker tool
Felix-Mallinder Feb 24, 2026
5a47506
Improved widget config with _widget_base inherited class
Felix-Mallinder Feb 24, 2026
1691431
Add warning message box window
Felix-Mallinder Feb 24, 2026
1f44ff8
Improved default methods uses in window tools
Felix-Mallinder Feb 24, 2026
2eb28c4
Improved packing, added documentation, added drop down widget
Felix-Mallinder Feb 24, 2026
5975e3e
updated file naming to snake case, added init file imports, improved …
Felix-Mallinder Feb 25, 2026
bb5fc6a
added button and labels
Felix-Mallinder Feb 25, 2026
a146acf
fixed small errors, added testing script, added adaptability to cala…
Felix-Mallinder Feb 25, 2026
78df46c
smaller calendar changes
Felix-Mallinder Feb 25, 2026
66f7e84
init change
Felix-Mallinder Feb 25, 2026
09f6020
Added widget level validation
Felix-Mallinder Feb 25, 2026
6f3bee6
improved label support
Felix-Mallinder Feb 25, 2026
2a89156
bug fixes
Felix-Mallinder Feb 25, 2026
8b9419a
top_most default arg
Felix-Mallinder Feb 25, 2026
0b36be4
fixed processing window
Felix-Mallinder Feb 25, 2026
e412d93
Merge branch 'develop' into Python_Toolkit-#202-Tkiner-UI-BHoM-Standa…
Felix-Mallinder Feb 26, 2026
bd67979
updates to cmap selector & relative paths for images & icons
Felix-Mallinder Feb 26, 2026
d29aad9
small update
Felix-Mallinder Feb 27, 2026
f7b86f7
added init to use bhom.mplstyle for plots
Tom-Kingstone Feb 27, 2026
72047ef
delete temp test files
Felix-Mallinder Feb 27, 2026
28c9945
fixed font styling issue. removed duplicate tick box widgets
Felix-Mallinder Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Python_Engine/Python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies = [
"pytest-cov>=6.0.0",
"pytest-order",
"virtualenv",
"darkdetect"
]

[urls]
Expand Down
24 changes: 24 additions & 0 deletions Python_Engine/Python/src/python_toolkit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""Base module for the python_toolkit package."""
# pylint: disable=E0401
import getpass
import os
from pathlib import Path

import matplotlib.pyplot as plt

# pylint: disable=E0401

# get common paths
DATA_DIRECTORY = (Path(__file__).parent.parent / "data").absolute()
BHOM_DIRECTORY = (Path(__file__).parent / "bhom").absolute()
HOME_DIRECTORY = (Path("C:/Users/") / getpass.getuser()).absolute()

TOOLKIT_NAME = "Python_Toolkit"

if os.name == "nt":
# override "HOME" in case this is set to something other than default for windows
os.environ["HOME"] = (Path("C:/Users/") / getpass.getuser()).as_posix()


# set plotting style for modules within this toolkit
plt.style.use(BHOM_DIRECTORY / "bhom.mplstyle")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading