Skip to main content

Inworld Wrapper for Python

Project description

inworld_python

Under construction! Not ready for production use. Currently experimenting and planning!

Developed by Edgelord and ChatGPT (c) 2023

Examples of How To Use (Buggy Alpha Version)

Installation

pip install inworld-python

Note: If you don't have node js installed also do the following

pip install 'nodejs-bin[cmd]'

Usage for dummies even.

from inworld_python import inworld_chat

chat_app = inworld_chat.InWorldChat('inworld_key', 
                       'inworld_secret', 
                       'inworld_scene'
                      )

# installs the inworld command in the current directory as iw.js
chat_app.setup()

# enter query, user_name, channel_id, and user_id
out = chat_app.chat("What did I just ask?", "blowhard", "3232323", "23232323")
print(out)

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

inworld_python-0.0.10.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

inworld_python-0.0.10-py3-none-any.whl (4.5 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