Skip to main content

Python Package made by Mhadhbi Issam .

Project description

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydefoldapi-1.0.7.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

pydefoldapi-1.0.7-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file pydefoldapi-1.0.7.tar.gz.

File metadata

  • Download URL: pydefoldapi-1.0.7.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pydefoldapi-1.0.7.tar.gz
Algorithm Hash digest
SHA256 88f3e65c52b336f965247cee892b0600c65d766324faa223b5ef1d546a855c9f
MD5 730242e883f6178e358a479a3d78cd65
BLAKE2b-256 c8ec446765684da35ff377ac6dfd685a52bc9571b889fec5a6523c72fc650944

See more details on using hashes here.

File details

Details for the file pydefoldapi-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: pydefoldapi-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pydefoldapi-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 528e00ea648e669a302bd267e108288abf026b2deafbfe765ee493ac5e6d9a3c
MD5 dcf92f1124bc7a34fb4a82a63e211523
BLAKE2b-256 0a87064e588e0854522c683f9df23a79a12eadab311b9993f0b0ca603beeffdc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page