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

Metadata

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 Provenance Actions
pconsole-0.4.1.tar.gz 359.3 kB Without provenance Details for pconsole-0.4.1.tar.gz

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

Security for pconsole 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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