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==2.93.*
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.0.* to get the latest
snapshot of the module.
As for UPBGE, stubs are available for the upcoming 0.3 release, which you can install as follows:
$ pip install upbge-stubs==0.3.*
You can also install it using Pipenv. Note that it is required to set allow_preleases option
in case the target application has no stable release (i.e. UPBGE 0.3 branch). 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.*"
[requires]
python_version = "3.9"
[pipenv]
allow_prereleases = true
Also, it would be more correct to use [dev-packages] instead of [packages], 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 blender-stubs 3.0.0.25.dev1344125321
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 | |
|---|---|---|---|---|
| blender-stubs-3.0.0.25.dev1344125321.tar.gz | 450.6 kB | Without provenance | Details |
Release files / blender-stubs-3.0.0.25.dev1344125321.tar.gz
| Download URL | blender-stubs-3.0.0.25.dev1344125321.tar.gz |
|---|---|
| Size | 450.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ffb0db9a2d2a3e3aeb126e5f0fc7b48a5f4d0d1f8610ba506fd62093724937a
|
|
BLAKE2b-256 checksum How to use checksums |
590b5938d58531e17fbfc9e5d397ee5f8e95f9646718dbf67f02c46ed19bece1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for blender-stubs 3.0.0.25.dev1344125321
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.