Skip to main content

DaVinci Resolve Python API stubs

Project description

DaVinci Resolve Python API stubs

Using these stubs you can have type hints and autocompletion in your Python IDE when using DaVinci Resolve Python API. No more stumbling in the dark, yay!

Installation

$ pip install fusionscript-stubs

Alternatively, drop fusionscript.pyi somewhere your IDE will find it and adjust your import statements accordingly.

How to use

Add this on top of your script:

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from fusionscript import Resolve  # ...and/or other types you want

You may then use these imported types in your code and get type hints, but they have to be quoted, for example:

def GetResolve() -> 'Resolve':
    ...

Happy scripting!

Patches are welcome to fix any errors in the stubs!

About versioning

The stubs package major and minor version numbers (e.g. 19.0) indicate compatibility with the corresponding DaVinci Resolve version and is based on the documentation (scripting README.txt) shipped with that version. The patch version number is incremental and does not correspond to DaVinci Resolve releases.

The current stubs are based on the documentation marked as "Last Updated: 3 October 2024".

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

fusionscript_stubs-19.0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

fusionscript_stubs-19.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file fusionscript_stubs-19.0.tar.gz.

File metadata

  • Download URL: fusionscript_stubs-19.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fusionscript_stubs-19.0.tar.gz
Algorithm Hash digest
SHA256 784515fcec7a02e24584c71d3ce4ce31404967bcf43e5e09785898b8c404c5aa
MD5 7854acbe1aadfbed358b6761a5c426ff
BLAKE2b-256 c160197887ab21f4baa82fb9fc496f75839a6c6b34499146525b00df2d00189c

See more details on using hashes here.

File details

Details for the file fusionscript_stubs-19.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fusionscript_stubs-19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42f2a837c53866c2693071ae2fabbdfbd121f2d6738be814c102e095fe60e74f
MD5 088a899d0c7ff6c7c432f65228ae21e9
BLAKE2b-256 b45708d0c7407223804a160782abe0c15025c0044d780f6bed757e326de023ce

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