This release is a pre-release and may not be stable for production use.
Blender / UPBGE API Stubs
This module provides type information for Blender and UPBGE's Python API, following the PEP-561 standard.
It was generated using BPY Stub Generator which is also available on PyPI as a separate module.
Screenshots
Auto-completion at work in PyCharm:
Pop-up documentation support in VSCode:
Installation
There are two variants of the API stubs, one for Blender and the other for UPBGE. For Blender,
you can install blender-stubs module with appropriate version qualifier as follows:
$ pip install blender-stubs==3.1.27
This will install the latest module for Blender 2.93, and for now stubs are provided for Blender
2.80 and onwards. You can also specify the next unreleased version as 3.1.* to get the latest
snapshot of the module:
$ pip install blender-stubs==3.2.*
A stub module for UPBGE 0.3, as well as pre-release versions for the master branch are also available on PyPI repository. For the stable version, you can install it as follows:
$ pip install upbge-stubs==0.3.0.27
And for the latest snapshot,
$ pip install upbge-stubs==0.3.1.*
You can also install the module using Pipenv. Note that it is required to set allow_preleases option
in case you want to install a snapshot release (e.g. UPBGE 0.3.1.*).
You can use the following content as a template for your Pipfile:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[packages]
"upbge-stubs" = "==0.3.1.*"
[requires]
python_version = "3.10"
[pipenv]
allow_prereleases = true
You may want to use [dev-packages] instead of [packages] as it's more appropriate to do so,
in which case you can install or update the stubs using the -d flag like pipenv update -d.
License
This project is provided under the terms of GNU General Public License v3 (GPL3).
Metadata
Release files for upbge-stubs 0.3.1.27.dev4002231552
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| upbge-stubs-0.3.1.27.dev4002231552.tar.gz | 589.2 kB | Without provenance | Details |
Release files / upbge-stubs-0.3.1.27.dev4002231552.tar.gz
| Download URL | upbge-stubs-0.3.1.27.dev4002231552.tar.gz |
|---|---|
| Size | 589.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40c227c7254eebe668eef87a4b6c62eb9642164f5f5655e8d7a5b99188ed157f
|
|
BLAKE2b-256 checksum How to use checksums |
ceb2b3e477b737b3121f228394e549762ecb5b841fc31e0ac9335e628f099cf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Security for upbge-stubs 0.3.1.27.dev4002231552
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.