A very Usefull API-Framework for All-Type Python Projects
Project description
🚀 ToolOS SDK
Lightweight Python Framework for fast, easy and efficient application development. Code Your Apps with StateMachine, Multi-Language Support, Caching, Logging, Sound, Sequence System, Drivers, App Management and more.
Latest Changelog v3.3.4
Bugfixes
- Fixed BasepathCollision
Features
- Added SettingsAPI BasepathLoading
INFO: ModSDK Still under Development
🔧 Installation
pip install toolos
🎯 Quick Start
Settings Setup
{
"version": "1.0.0",
"language": "en",
"cachepath": "data/cache",
"temppath": "data/temp",
"logpath": "data/logs",
"languagepath": "data/lang"
}
or as a dictionary in your code:
settings = {
"version": "1.0.0",
"name": "MyAppSDK",
"settings_path": "path/to/settings.json",
"standard_language_library": True
}
app = MyApp(settings=settings)
...
Basic App
import toolos as engine
class App(engine.Api):
def __init__(self):
super().__init__()
# Sprache ändern
self.Settings.Global("language", "de")
self.Settings.AddLanguagePackage('de', path)
self.Language.Reload()
# States verwalten
self.StateMachine.sSetState("game_running", True)
self.StateMachine.
# Sound abspielen
self.Helper.Sound.PlaySound("assets/music.mp3", loop=True)
# Fenster erstellen (PyQt6)
window = self.Helper.PyQt.CreateWindow("main", "Meine App")
btn = self.Helper.PyQt.CreateWidget("button", text="Klick mich!")
# 3D Scene (Ursina)
scene = self.Helper.Ursina.CreateScene("game")
player = self.Helper.Ursina.CreateEntity("player", model="cube")
# Event-Handler
self.Event
self.Event.setHandler()
self.Event.Trigger()
...
# Memory Management
self.Memory
self.Memory.KnowThis()
self.Memory.Forget()
self.Memory.Learn()
self.Memory.Remember()
self.Memory.MakeGlobal()
...
# Built-ins
self.UpdateAPI()
self.New()
self.Collect()
self.Insert()
self.Fork()
self.Delete()
self.Quit()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toolos-3.4.1.tar.gz.
File metadata
- Download URL: toolos-3.4.1.tar.gz
- Upload date:
- Size: 114.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
478dbcd9c0673ef9c158f0afb684f49dd36d61ca9c82f6faf9a643afa1320a7b
|
|
| MD5 |
04e2f0b506c8589b82f10e234219a0b2
|
|
| BLAKE2b-256 |
e80e65819ffe5552144987539c1aa9c54bc5950d1b1eddcf7b928a56bdf89aad
|
File details
Details for the file toolos-3.4.1-py3-none-any.whl.
File metadata
- Download URL: toolos-3.4.1-py3-none-any.whl
- Upload date:
- Size: 121.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81fc9eef29f6a65192988350b3e51869e9eb623cae5e6b199f879e823f90ae36
|
|
| MD5 |
6f5af794140f496b63076dfd46400e42
|
|
| BLAKE2b-256 |
04288bf2c00987b27f2450e892d9ed1d6ad2153139ebb86212b73e455b9b51a1
|