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
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
File details
Details for the file korth-spirit-0.0.110.tar.gz
.
File metadata
- Download URL: korth-spirit-0.0.110.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de69526ea98446ee38a853921440dcfe691b2697fe5b9235a68618b373942f5e |
|
MD5 | 26b0df68a8cce5524ef80c6a08976bad |
|
BLAKE2b-256 | eb9759ac713c6aaebb1a0f3433a670a1711df552875de26da305f2886e3f68a5 |
File details
Details for the file korth_spirit-0.0.110-py3-none-any.whl
.
File metadata
- Download URL: korth_spirit-0.0.110-py3-none-any.whl
- Upload date:
- Size: 91.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5d1e8514ad0df248d44f48c0946d7e6cd55c88fa2c505564b85869545451aac |
|
MD5 | e9d821a30ee7ff05972a4a64742a88ac |
|
BLAKE2b-256 | d29b7de1d6d89969c64e40d9f2b5eb23354449befb71ac98263b834be33d0563 |