Skip to main content

PyPI version

panda3d console

a tiny and easy-to-use runtime console for panda3d-powered apps

Installation

pip install pconsole

Initialize console

import pconsole
commandDic = {"func1_string":func1, # "associated string" : function name
              "func2_string":func2
}
key = 't' # this key will toggle the console, by default, pconsole will use 'f1'
myConsole = pconsole.Console()
myConsole.create(commandDic, event = key)
# command line is now up and running

default commands

  • help: lists all available commands

  • usage: specific help

additional features

use the 'app' argument when creating the console in order to be able to access attributes and variables from your main class in the python interpreter:

myConsole.create(commandDic, event = key, app = self) # the self keyword will be refered to as 'main' in the interpreter

Release files for pconsole 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pconsole 0.4.1
File Size Uploaded
pconsole-0.4.1.tar.gz 359.3 kB Details

Release files / pconsole-0.4.1.tar.gz

Download URL pconsole-0.4.1.tar.gz
Size 359.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1119d958bca5374f19d1c2a62b16bc2c3f4199b0e8c25955b7b8b7fd70b3c09a
BLAKE2b-256 checksum
How to use checksums
abc39e1d5f24bf77682a3d6d2c4c7d85e8fab112c2995413d49e92d2e84991d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file

0.4.0

2 release files

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page