Skip to main content

Steamworks SDK integration for the Panda3D game engine

Project description

panda3d-steamworks

Python bindings for Valve's Steamworks SDK for the Panda3D game engine.

Provides access to Steamworks features — app ownership, DLC management, language queries, and more — directly from your Panda3D Python code.

Installation

From PyPI

pip install panda3d-steamworks

From source

git clone --recurse-submodules https://github.com/DigitalDescent/panda3d-steamworks.git
cd panda3d-steamworks
pip install --no-build-isolation .

Quick start

from panda3d_steamworks import SteamApps

if SteamApps.init():
    print("Steam initialised!")
    print("Language:", SteamApps.get_current_game_language())
    print("Build ID:", SteamApps.get_app_build_id())
    print("Subscribed:", SteamApps.is_subscribed())

    # DLC
    print("DLC count:", SteamApps.get_dlc_count())

    SteamApps.shutdown()

Note: A valid steam_appid.txt file must be present in the working directory (or your game must be launched through Steam) for SteamApps.init() to succeed.

Requirements

  • Panda3D SDK (with headers — the pip panda3d package alone is not sufficient for building from source)
  • CMake 3.16 or higher
  • A C++ compiler compatible with your Panda3D build (Visual Studio on Windows, GCC/Clang on Linux/macOS)
  • panda3d-interrogate for generating Python bindings

Pre-built wheels include the compiled extension and the Steamworks shared library, so end users only need pip install panda3d-steamworks.

Building from source

# Clone with the Steamworks SDK submodule
git clone --recurse-submodules https://github.com/DigitalDescent/panda3d-steamworks.git
cd panda3d-steamworks

# Install in development mode
pip install --no-build-isolation -e .

# Or build a wheel for distribution
pip install build
python -m build --wheel

Build configuration

Build options are constants at the top of setup.py:

Constant Default Description
GENERATE_PDB True Generate a .pdb debug symbol file (Windows).
OPTIMIZE 3 Optimisation level (must match your Panda3D build).
VERBOSE_IGATE 0 Interrogate verbosity (0 = quiet, 1 = verbose, 2 = very verbose).
REQUIRE_LIB_BULLET False Require the Bullet physics library.
REQUIRE_LIB_FREETYPE False Require the Freetype library.

You can also pass options via setup.py:

  • python setup.py build_ext --optimize=N
  • python setup.py build_ext --clean-build — force a clean rebuild

License

This project is licensed under the MIT License — see LICENSE for details.

The Steamworks SDK is Copyright © Valve Corporation and is subject to the the rules outlined at Distributing Open source.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

panda3d_steamworks-1.63.8.dev1-cp314-cp314-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.14Windows x86-64

panda3d_steamworks-1.63.8.dev1-cp314-cp314-manylinux_2_39_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev1-cp314-cp314-macosx_15_0_universal2.whl (382.6 kB view details)

Uploaded CPython 3.14macOS 15.0+ universal2 (ARM64, x86-64)

panda3d_steamworks-1.63.8.dev1-cp313-cp313-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.13Windows x86-64

panda3d_steamworks-1.63.8.dev1-cp313-cp313-manylinux_2_39_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev1-cp313-cp313-macosx_15_0_universal2.whl (382.2 kB view details)

Uploaded CPython 3.13macOS 15.0+ universal2 (ARM64, x86-64)

panda3d_steamworks-1.63.8.dev1-cp312-cp312-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.12Windows x86-64

panda3d_steamworks-1.63.8.dev1-cp312-cp312-manylinux_2_39_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev1-cp312-cp312-macosx_15_0_universal2.whl (376.3 kB view details)

Uploaded CPython 3.12macOS 15.0+ universal2 (ARM64, x86-64)

panda3d_steamworks-1.63.8.dev1-cp311-cp311-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.11Windows x86-64

panda3d_steamworks-1.63.8.dev1-cp311-cp311-manylinux_2_39_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev1-cp311-cp311-macosx_15_0_universal2.whl (370.3 kB view details)

Uploaded CPython 3.11macOS 15.0+ universal2 (ARM64, x86-64)

panda3d_steamworks-1.63.8.dev1-cp310-cp310-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.10Windows x86-64

panda3d_steamworks-1.63.8.dev1-cp310-cp310-manylinux_2_39_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev1-cp310-cp310-macosx_15_0_universal2.whl (372.8 kB view details)

Uploaded CPython 3.10macOS 15.0+ universal2 (ARM64, x86-64)

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 cef9da240a8a58e1ab95b107f06c927bf38884e4592cc5314ec922b890d0a60a
MD5 84f20747185cfc0d6a6cdff073390856
BLAKE2b-256 ac2fc0e9583924d0c4547f256828472240b50c436b30311722fc53816e5758c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp314-cp314-win_amd64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp314-cp314-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e99df94f1d29e727de49ed5283410c3a689e4e645d54e2dec1121275f648a39e
MD5 08d6eb5a48920de6ea3246dde7c72101
BLAKE2b-256 8468aa6b91a530eb7e6ce9f47a609765946df6ac236901b7dd5b913c198d8724

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp314-cp314-manylinux_2_39_x86_64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp314-cp314-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 d9f486000900b53aac1d4d657796ea1d4d0d3a31a6e363ee9b0569a132d7fb18
MD5 35d11c422dbf6187fcd5aa04a0a4e76a
BLAKE2b-256 4ff29aa45be2fd696480e66741b820248d409a92491515a3610175eff4d2ed96

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp314-cp314-macosx_15_0_universal2.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3262f1bbd9bd53882a8d174942b184ff7c16546df562b916c16b0baafac6083f
MD5 354776b778d955b4635e89d02dc56352
BLAKE2b-256 463ebbce715f7572d56196acdd9a02e9477e94b0e84a0ec1177008e746ecb6b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp313-cp313-win_amd64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5ecbfb0370bf2517cf11ebf90d13e32da45605d108f0d7e5b4977a29ea3cc3ea
MD5 56705b66ada6510ff92b76cbb31eea57
BLAKE2b-256 9d6a476ca0cb456d5310b248da2590a1029f96170f8ccb7cf4a7f9708805fc0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp313-cp313-manylinux_2_39_x86_64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp313-cp313-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 a7ee11e147d60045bf55e280139452d756aeb6da54cb6ecd2b4f5e1f481c7423
MD5 4e52860fcf33625a78635643b8eb032b
BLAKE2b-256 89ea650bece125d15f04f59563ae3a9eebdf6896cd25029ed99f26e29c084c94

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp313-cp313-macosx_15_0_universal2.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 53b2f0d230916d4231aeb4d60222a0858a83e508e1f04551c0985efc03088f95
MD5 e3299ec3df0e71ddda5482c09992ca2e
BLAKE2b-256 5633a78fd1331eb42b9725d4fa54e796eb9b3b092bdf0dd158f3232da250e10d

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp312-cp312-win_amd64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ce535ee9b3c5cb75bb194a75a0df5019abee04a8a01f095a706c5a638e96a4ca
MD5 ea3c5027bda3338a641db512bfbc1ef9
BLAKE2b-256 9eb32ac37435dfa1d33bc930b8f7223766fe3092fde58b3e43be1bceccdb56d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp312-cp312-manylinux_2_39_x86_64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp312-cp312-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 6981cfbc9e54499f16fc6cff76a56c6ddd44748494d3e3c423d37f2680b98522
MD5 580cb9352df3cabcd440aedbb73d2039
BLAKE2b-256 8650e19d8113ebff2d57c9920b55c7178876e4350a91efdce72fe59ea5d78e4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp312-cp312-macosx_15_0_universal2.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b6c0aa3dd8d6ba4468c674df7ca29f00a8bf7ca711fce8c8ca0104ed0c4547ee
MD5 1d6c83137a9defa48aeb054b467a3214
BLAKE2b-256 0974f03271c83db11b5abb89a549d0ecb2196f57b5d044c00914d3788710a915

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp311-cp311-win_amd64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8202960a20993fbd34afd64956f34113c1f7f3c7df6bd0eb8e10ef8777300d9d
MD5 1656f7bb6fa23092dd4caad830063d1f
BLAKE2b-256 de5215e2d24ea39a2f2078590da1dd665e58dad6e6de48e9b5d67a1b93f15f2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp311-cp311-manylinux_2_39_x86_64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp311-cp311-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 c117443c3f00a45f6766a50c4f7dbd8ca937cc864a64ab2fbd1ee180d0fc4101
MD5 c08d6e044b819192421055928917e444
BLAKE2b-256 e384729b9c15461d88324335575936b2e8c90c3773e2fcc928e514bbe0be6503

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp311-cp311-macosx_15_0_universal2.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c562438721b36d511de553a9c89ba0acaf4c5c585ec911cb6433511e54617e9d
MD5 0c1de6944f734139da8e0cb6218150d9
BLAKE2b-256 6122dc8dede7fefeded68be0314c34e22c9775ac605a5a760032cedbcbc02c15

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp310-cp310-win_amd64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 fb6e75fd8bfa71792856aa2abcb0f2a76e88322e8cefa5f5fdf34452d038bfe2
MD5 0b8e920da526c93bb944b5e04e129f05
BLAKE2b-256 60971204fff8cf13e9f49b294dbfb107aa8ea55792668871c017c609dd56bc95

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp310-cp310-manylinux_2_39_x86_64.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panda3d_steamworks-1.63.8.dev1-cp310-cp310-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev1-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 7dcb408f3337fe8983877b2ab5516216596345b7a18523b6f843f3e942784ee2
MD5 9d12fb13188836e79e3710e3c9192571
BLAKE2b-256 cda8ea3826422a7969f76a9c4bb498f9a02aca03bb3d42b3ca3f99acd0ee51cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev1-cp310-cp310-macosx_15_0_universal2.whl:

Publisher: build.yml on DigitalDescent/panda3d-steamworks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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