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

Uploaded CPython 3.14Windows x86-64

panda3d_steamworks-1.63.8.dev6-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.dev6-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.dev6-cp313-cp313-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.13Windows x86-64

panda3d_steamworks-1.63.8.dev6-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.dev6-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.dev6-cp312-cp312-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.12Windows x86-64

panda3d_steamworks-1.63.8.dev6-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.dev6-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.dev6-cp311-cp311-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.11Windows x86-64

panda3d_steamworks-1.63.8.dev6-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.dev6-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.dev6-cp310-cp310-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10Windows x86-64

panda3d_steamworks-1.63.8.dev6-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.dev6-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.dev6-cp39-cp39-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.9Windows x86-64

panda3d_steamworks-1.63.8.dev6-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.dev6-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.dev6-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 76041eef3f712aba7fe3d8d13f407f2141a030ac96ddbdb31417c135b0c47ddd
MD5 c40ccac249e966ccf12253365e677609
BLAKE2b-256 b731342a03629e75b34540c61b9695568a2d54d300bf405b27c0f057308c3e64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2c503fad93c0738f8ae86eadbb69d296fac45e05be0d92b5d2c9db2915f3fdfb
MD5 bd9b301e731085b2878bff4cd172c4be
BLAKE2b-256 a341b7e560e2a45f63660b356fc29ef1e5df98841a1c7b520a46871049e3bbf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 a7c30dd2b4cada17f91489205eb616eec83f35d98ce132672c7c44a2290c438a
MD5 b12bffefbf5f7373540d2c0c5d3d563e
BLAKE2b-256 4409a3052b30148ce469358752cab8b0f17c6881daa0b4b83bb93ff9e39f30f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 80a47237da01b1efd96b4a76ba71d33b4faaaa2d2add8f916d72afe044aae460
MD5 4a48dcdc82fbcb36326ed4fc1083b801
BLAKE2b-256 aeb39462c76d1bff32c0b39d029958502c976b8b19b53832485dc61da00ff737

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 89b137bb10ce3b39bd5bc6831e2c69beb138cce8d6f6a0490ffd180f75d9374e
MD5 57878d8d4cdb629d7d529ceef1809c8b
BLAKE2b-256 6b603dcbf982eb5db7268cd2f0a1e6d4b216b2b37aa1c2cff0ef74d03827f364

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 49e03715d9310a350f28247407dacfadaed351436d823063ca3b185bc43fadec
MD5 529e7c1eefeec3dad979ef765ef4d1f3
BLAKE2b-256 d181489a49bc10ff2603bb0806aa3775b1730c492d4939f094b55cc8c13335da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fe76a8ff2f355cf91163943e8226cbd6714a64086733e95d14f1323d164a854b
MD5 0e251c7089ccacd0253b3ca687efdc4f
BLAKE2b-256 e4c533e1d72061c2adf744fa4e86bd04634d4e4b09f4b5b54a23b5cb47028290

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 d774d5123b37c123c70beecc0acb413fa84156da59e56df5adef17f9aecba103
MD5 12684b33ed907427ce39dc8b48263555
BLAKE2b-256 30d3bacb8828d86a33e2979ebb0b0c0d831c9607553e314b2d0070be7bf3f9b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 a6e2a7afaa236b117829a9604e5207e6afcb8928eb2f49cf23dbcfb742ad4317
MD5 4756e7f922e665d9894ecbcc93c86623
BLAKE2b-256 fccc40c9d61f037a7c08b6a41ff0ec3b4c371ff6c147e9c91ee01224ef0d0d15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b3d59ffb4bdd0270d493acdfd237a4133c7316281a84267fe60e4dd1a482122b
MD5 fcdc5e5dbd8317f932e285fe20888a80
BLAKE2b-256 f0b91d8d342bc9ddb6fb3b6a9880cbf169d65e5723713ca57842a98ab717347d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e44d839268f332effb17823181852cfd25cf272bc06834843aa460340f7fb4fe
MD5 84efc9854ada8475487a0317c672e7b6
BLAKE2b-256 a18d3dda1612df2ae7b4e3f395216a1ec8c3e9d91d44db91c8d8b32561433a23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 ab155629da35c0de7a69d591aa30327e5592f2b07e0831ef2bf83810514e610d
MD5 faa3d27dcb813fee1e4f4ff742c928f6
BLAKE2b-256 95b8b2fc3d84b5a54b91d0e2d854a8aad987bcf4d137c419bb0cb3f40c55edaf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4ce5abf5d34e1ab40e8e57fbe39b8982adf8e59c53dece58545da7f91751c9be
MD5 21310d0dd9b6aa6139ab39941579928d
BLAKE2b-256 3aa7d93210a093170710d40ff6f1c8ed8191129f89b3fd3fbec78aeabc4b1ddd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e1188546a369f2d7e2ce28dcbc850fe75ba89c619581499de1b8a032af5b2e0c
MD5 e818c0c050fb3a1607a1e52e09cfa9f0
BLAKE2b-256 8b049ef21868d17db29c389c1bfc2bd2c3b4ffc1b7c4475f7a199049da7dd5f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 ef8e1bec88d77c7121a84a660a03228223ca0719cf1dd706ac0fa42c87da5ec0
MD5 aebd938d41362aee8d757a617cdbfde7
BLAKE2b-256 80720762b59af57d4dc60a21dcff4375033ae1e88c98aac577085c2b5a315c03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 be539e7b12a37705a73b23219df2b3fca58138bdaa609b8a9cfbca2fcbb732db
MD5 fb957f4b2b0a2715426c528a588ed6ce
BLAKE2b-256 d79214d772425808fcdc4be539dc7dbf035afdba8209916489759284a312fee3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp39-cp39-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 541b03fefd6ab1affee1e576d660b3e719902e870358e4fb4034fa6a76014047
MD5 371fad041153defa527824d28409f3e5
BLAKE2b-256 472c3e655b0b5bb76f047b22a011e6290c32bf7b996f11ebae7f3d460b17d9e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev6-cp39-cp39-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 5f15d490c63e6d95424e5ce0e7eb636c888a2e6e2ceccdd03b307f7734db9f93
MD5 81eab98871514841707cd27378759427
BLAKE2b-256 2f2226639accf741b479e7e3fb6eabd333d89e828d78ac403d1417e9d90434b8

See more details on using hashes here.

Provenance

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