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.4.tar.gz (46.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.4-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toolos-3.3.4.tar.gz
  • Upload date:
  • Size: 46.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.4.tar.gz
Algorithm Hash digest
SHA256 ff0a45854e3751d1c27558ca6a5186373ffbdf00cd6d0db948690d919339cbd5
MD5 d24ff567e07e4e46f06655a128ba1ea4
BLAKE2b-256 61d38adb93a4683e38ed3ef374725000c1ded5097b89f03017d23cde8f154638

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toolos-3.3.4-py3-none-any.whl
  • Upload date:
  • Size: 51.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4b00187f1c7b96445931026bf589ef563e14aca93fc7ca0679170365180ccf13
MD5 df661cc4f33b15c6dedca0237d40baf7
BLAKE2b-256 d271174016bf39caf5bb259f6e77111712aacf0e455046fd8a4df7bc32f1132e

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