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.119.tar.gz
.
File metadata
- Download URL: korth-spirit-0.0.119.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 882830a501332ed48576e303b5f3da8cfd21fc659906acb0ada21819eef6f1b2 |
|
MD5 | 71eed9ce45ec2b1cadba9408211be4a9 |
|
BLAKE2b-256 | b81cd81bd624de70a4374f350a517da9e68273a6f692a7d8aad8a7055f4c5925 |
File details
Details for the file korth_spirit-0.0.119-py3-none-any.whl
.
File metadata
- Download URL: korth_spirit-0.0.119-py3-none-any.whl
- Upload date:
- Size: 91.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c0abb960f55b315d9cc558daaf928878e42edb30b885e69de8fbedca377b93c |
|
MD5 | f0e548ea9df2aceb62c9d7185d19549d |
|
BLAKE2b-256 | 5e8e64f0f07ba53cb13bb75bfe83862d4cabec2d524629918ff0654e20ff339a |