Skip to main content

Python Wrapper for the Active Worlds Software Development Kit (SDK)

Project description

The Spirit of Korth

The Spirit of Korth is a python wrapper for the Active Worlds Software Development Kit (SDK). Active Worlds is a trade mark of Active Worlds Inc. The SDK is a set of tools for developing games, bot, and extensions for the Active Worlds platform. The SDK and its license are available at http://www.activeworlds.com/sdk/download.htm. This project is not affiliated with Active Worlds Inc.

The Spirit of Korth is licensed under the MIT license. All other code is owned by the author. The Spirit of Korth is not affiliated with Active Worlds Inc.

Installation

This package is provided as a python package. To install it, run the following command:

pip install korth-spirit

You will also need to inlcude the SDK with name 'aw64.dll' in the same directory as executing script. There were unexpected issues when calling aw_create when accepting an dynamic path to the library.

Usage

Please know this package is in alpha and a work in progress. The API is subject to change. The spirit of korth is not yet ready for use. You may attempt to use it, but you should not expect it to work.

Greeter Bot example using the Korth Spirit wrapper for the Active Worlds SDK.

from korth_spirit import ConfigurableInstance, EventEnum
from korth_spirit.configuration import (AggregateConfiguration,
                                        InputConfiguration, JsonConfiguration)

with ConfigurableInstance(
    AggregateConfiguration(
        configurations={
            JsonConfiguration: ('configuration.json',),
            InputConfiguration: (),
        }
    )
) as bot:
    bot.bus.subscribe(
        EventEnum.AW_EVENT_AVATAR_ADD,
        lambda e: bot.say(f"Salutations {e.avatar_name}!")
    )
        
    bot.main_loop()

License

This project, the Spirit of Korth, is licensed under the MIT license. All other code is owned by the author. The Spirit of Korth is not affiliated with Active Worlds Inc. This project is not affiliated with Active Worlds Inc. The license for Active Worlds Software Development Kit (SDK) is available at http://www.activeworlds.com/sdk/download.htm.

Contribution

This project is open source. Feel free to contribute to the project by making a pull request, creating an issue ticket, or sending an email to Johnny Irvin. This project, the Spirit of Korth is not affiliated with Active Worlds Inc. Johnathan Irvin is not affiliated with Active Worlds Inc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

korth-spirit-0.0.119.tar.gz (37.1 kB view hashes)

Uploaded Source

Built Distribution

korth_spirit-0.0.119-py3-none-any.whl (91.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page