Skip to main content

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

toolos-3.3.5.tar.gz (118.9 kB view details)

Uploaded Source

Built Distribution

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

toolos-3.3.5-py3-none-any.whl (126.1 kB view details)

Uploaded Python 3

File details

Details for the file toolos-3.3.5.tar.gz.

File metadata

  • Download URL: toolos-3.3.5.tar.gz
  • Upload date:
  • Size: 118.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for toolos-3.3.5.tar.gz
Algorithm Hash digest
SHA256 0b2dbbec003b0089fb56bd8a558f986154cdbc8d07de39a2cde2be3c805c6ab4
MD5 e6e005512d71812d0f0a462eb1e26f03
BLAKE2b-256 ec830efb70121494283dbb66d7ca1da4f421cdb5a9ee3a1f508e29e3e8f720ab

See more details on using hashes here.

File details

Details for the file toolos-3.3.5-py3-none-any.whl.

File metadata

  • Download URL: toolos-3.3.5-py3-none-any.whl
  • Upload date:
  • Size: 126.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for toolos-3.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 87ad90ebf7d5c194d2457286e3f7f5426adb80940ff973254262944ed275c608
MD5 98a4a30b03c8f55fa6df0dcf4a82e27d
BLAKE2b-256 e7973e578da390c68f105d8fbcb1df24fa903d4e7228e5f4ab0e41d2a39cffcc

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