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.dev4-cp314-cp314-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.14Windows x86-64

panda3d_steamworks-1.63.8.dev4-cp314-cp314-manylinux_2_39_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev4-cp314-cp314-macosx_15_0_universal2.whl (415.3 kB view details)

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

panda3d_steamworks-1.63.8.dev4-cp313-cp313-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.13Windows x86-64

panda3d_steamworks-1.63.8.dev4-cp313-cp313-manylinux_2_39_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev4-cp313-cp313-macosx_15_0_universal2.whl (415.4 kB view details)

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

panda3d_steamworks-1.63.8.dev4-cp312-cp312-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.12Windows x86-64

panda3d_steamworks-1.63.8.dev4-cp312-cp312-manylinux_2_39_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev4-cp312-cp312-macosx_15_0_universal2.whl (410.5 kB view details)

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

panda3d_steamworks-1.63.8.dev4-cp311-cp311-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.11Windows x86-64

panda3d_steamworks-1.63.8.dev4-cp311-cp311-manylinux_2_39_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev4-cp311-cp311-macosx_15_0_universal2.whl (402.9 kB view details)

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

panda3d_steamworks-1.63.8.dev4-cp310-cp310-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10Windows x86-64

panda3d_steamworks-1.63.8.dev4-cp310-cp310-manylinux_2_39_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev4-cp310-cp310-macosx_15_0_universal2.whl (404.4 kB view details)

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

panda3d_steamworks-1.63.8.dev4-cp39-cp39-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.9Windows x86-64

panda3d_steamworks-1.63.8.dev4-cp39-cp39-manylinux_2_39_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev4-cp39-cp39-macosx_15_0_universal2.whl (404.4 kB view details)

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

File details

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 829f7e1cf8d3ac9a96cb1d039be95b88d301e262ae92b92b6fbec5ea2c28fe48
MD5 ccff4291ce07263debf8f4023a43387f
BLAKE2b-256 958b3bbbe7a7c568362021b6a49fa3c799686df974db258d0fc7d097eab42554

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp314-cp314-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 63514833f809be3a7944d632d2ef30627665fff6e0a316a6a3603cd80f46d081
MD5 0adace4f6a26fc20b1853721d2246281
BLAKE2b-256 08935b1aa2783c8fd24783cc11f644b7b0f27bfe96cddf54c0f2cd5c3e1d6da8

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp314-cp314-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 30baded2e508b47c5752219f60ed2176e27b7fe29cd397e0cb4baac1bcff6f31
MD5 86f8ddeaff39b6fcf91a7ae0a68960fb
BLAKE2b-256 bd424ddc45f98db9594577403624a33d2979a8749414b6706d6b2d70216aadc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c41f2da9f514511110da6b794ccbbfecc653884f3f8c47aa29c4298de0063ea0
MD5 80fd140c0de1c6ca1b4840d081308c93
BLAKE2b-256 708cb6db6e99afcbf76a85d8ffcb3d6b2788aaef3955860a72bdbc8f7f3a47b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 b36df003e08a212b008f9e67224d60309345901a5f0ac057ae0a090f237e9e57
MD5 ee87a65ebaafc267f4e5a90683ecb6ca
BLAKE2b-256 97adccefe2f3e0aa08bca3dc0b7b7edb7063ccde2d1b1be22226dc57507ef2ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp313-cp313-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 fa5285e0f2336f696128bd30ef691d79cb40eccbed45626e6e75f0c694f85728
MD5 92de323b44cd74ec93182519e8afcd98
BLAKE2b-256 5624993740308322a39498d0e50006a90794325b99ace72c41b401bc3ee74959

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0f1fd9f1617adb9d03177033b9f77a59e843905b58d641d89baed24e9eaef4e2
MD5 73ac98c59da69afd823564b5ce20e567
BLAKE2b-256 06751b6c4aa8820c3f7593b4887923013839b813bd8ea6b963674f7e404fc9fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 d25516b03e7c2d1bd49c0453fdc315cfa01b61199a370eca11802ec91662fb82
MD5 6caef8bed32447497e41eda228a5456c
BLAKE2b-256 a22b814f0867ad994de67e56f200393151c92262268b408459d765a0f66daae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp312-cp312-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 468201a2fa0373ea371c4cdc2b2d7704b2781cdfe72056ec17c1ff5cf8c49251
MD5 6dc2829ca1598c4f89b5082b03ab602f
BLAKE2b-256 28fc8eb3fafafe620cad3d7f97d2de1969d755eb15f7ee6e38ae51f11693f581

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4ec1f42b79495e87f998a835fa9a99b457d2e9a37f2bb17adfb172f998da2db8
MD5 44f5ae29e4da0cc3b8edb158e81ac1bb
BLAKE2b-256 8155de1cefdf5744af439b85e597177945747afc157405f3e9231c616ee63f84

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 caaec7d53ca8031dcacfc65e317c9b41e65eba3496a3e8eca0d2b005c5a92a6d
MD5 a8dde458cc3f0f30b13f520e28c635f1
BLAKE2b-256 e6b43893090e4f2efb04d688d59143fe85296817ec161db9a84b553e6fd95d6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp311-cp311-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 6363e0a394ec1934adb73576ebdf2ac7bdb1d4971637e92978e202f24fcb8c4e
MD5 b8bf448f4a503480e4b2554eb95dc627
BLAKE2b-256 0f1462f61e19b9d378924f3aa943a98744581b1ca2c90ccac061f9d1d45d304c

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4a9349a930ca9378c828e1236530d9708bdd6bbad884fe01ca4a4f1d4c9eb21f
MD5 f470197693eaa9cb71f3c6d79fb8da08
BLAKE2b-256 2614284672ef3a1c2ae6327b6d607419540ed05582b7a62e0de293cffa5ab92a

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 cdfb538d1d5baec877f2737df6a696dbd43c51e7c235031a95df752e6dbcb4fe
MD5 c97f5f03ff9c8fe9fb3bfa848660ac4e
BLAKE2b-256 4f138ea7b68a6028137e30339641caa8cd72735d3c9f336e573fd078d880a78c

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.dev4-cp310-cp310-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 a5b6d47c59ad453c062898de6dfa4d16bb71f25820fd3136c1ebe550b0298113
MD5 2fb5e6cdebd293d9bd99c019b81cff60
BLAKE2b-256 0771686f26dcd6c3df65b063eef5302c3595c155d7c73c473fc9800804170a16

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-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.

File details

Details for the file panda3d_steamworks-1.63.8.dev4-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a89a00ef7d4cf22c00ca0706dbb18073f4e7a8137202757496197171e5805acb
MD5 4d460abda3ef1bfacb98ccee01e2e4b9
BLAKE2b-256 2e0a5317a6af36dad021918d7bf8f96697b0417c050a9f6fe33ab08b759e4130

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-cp39-cp39-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.dev4-cp39-cp39-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp39-cp39-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8843a2d8bd164e557db8d2e6327f8bac1564de0497d4c7a5ed411d9899600668
MD5 deeb229f3ecfa7bee08e2de0a16c756d
BLAKE2b-256 dbb29432ab4c1078fb3adad4ef5c1f87f726100e960a587073e2166607f4d650

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-cp39-cp39-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.dev4-cp39-cp39-macosx_15_0_universal2.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev4-cp39-cp39-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 9f635d0b648bc6f7367304087d2cf97731a53305385f0129d8942a5789ba0a17
MD5 5a29919b661970ece1c94a9548e73304
BLAKE2b-256 3d70fda9643504403fd532f2eeb92fd343c41a00c657e23010467a8508544043

See more details on using hashes here.

Provenance

The following attestation bundles were made for panda3d_steamworks-1.63.8.dev4-cp39-cp39-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