pydefold-api
Getting started
Install :
pip install pydefoldapi
Usage :
- Example 1:
from PyDefoldApi import DefoldApi
c =DefoldApi.CollectionDesc(name = "main")
c.name = "main"
o =DefoldApi.EmbeddedInstanceDesc(id = "go")
c.embedded_instances.append(o)
print(c.to_dict())
c.update({"name" : "ffffffff"})
print(c)
- Example 2:
from PyDefoldApi import DefoldApi
cam = DefoldApi.CameraDesc()
cam.update({
"aspect_ratio": 0.0,
"fov": 150,
"near_z":15,
"far_z": 0.0,
"auto_aspect_ratio": 0,
"orthographic_projection": 0,
"orthographic_zoom": 1.0
})
print(cam.to_dict())
Metadata
Release files for pydefoldapi 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydefoldapi-1.0.9.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydefoldapi-1.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.7 kB
Release files / pydefoldapi-1.0.9.tar.gz
| Download URL | pydefoldapi-1.0.9.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea5151ff68355a2e1f1bb8adca3ee60e13e56eab1060594f98b2ce8eac9b5e19
|
|
BLAKE2b-256 checksum How to use checksums |
aff668433b2021d50bdd13b91e2d2108f829093668118c040813f76290402548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / pydefoldapi-1.0.9-py3-none-any.whl
| Download URL | pydefoldapi-1.0.9-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0b5db5fe4260b51cbf5bf5e3a39f0a20e675c3c12965f3008fefed4e25bcbfe
|
|
BLAKE2b-256 checksum How to use checksums |
8943e073304ddc6f403321d7d399e040d13a03d1f7d5465ed17f37dd25b653f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|