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 .

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

Uploaded CPython 3.14Windows x86-64

panda3d_steamworks-1.63.7-cp314-cp314-manylinux_2_39_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.7-cp314-cp314-macosx_15_0_universal2.whl (346.8 kB view details)

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

panda3d_steamworks-1.63.7-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

panda3d_steamworks-1.63.7-cp313-cp313-manylinux_2_39_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.7-cp313-cp313-macosx_15_0_universal2.whl (346.5 kB view details)

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

panda3d_steamworks-1.63.7-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

panda3d_steamworks-1.63.7-cp312-cp312-manylinux_2_39_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.7-cp312-cp312-macosx_15_0_universal2.whl (346.3 kB view details)

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

panda3d_steamworks-1.63.7-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

panda3d_steamworks-1.63.7-cp311-cp311-manylinux_2_39_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.7-cp311-cp311-macosx_15_0_universal2.whl (340.4 kB view details)

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

panda3d_steamworks-1.63.7-cp310-cp310-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.10Windows x86-64

panda3d_steamworks-1.63.7-cp310-cp310-manylinux_2_39_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.7-cp310-cp310-macosx_15_0_universal2.whl (342.3 kB view details)

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

File details

Details for the file panda3d_steamworks-1.63.7-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 767bb44843ce0172e727b73a8273970bdb30fd250cd16b574ffed52e889f38ef
MD5 130abd895e2de6c0f325ad14ab79db44
BLAKE2b-256 3ef1c6d26c2fb938db3c18c10c963e8dbf313a6926201cd844a8de3e2ad675f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4c74d0111ffa41732b1c47333e8124368e469a5a0dd470b724ef2cf4959ff142
MD5 699cc2a13a7fc8f1df871ebb5a50498f
BLAKE2b-256 59998e2756aad2f622915f1d234e323a4415ae8c5d79cd5502acc27672803bff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 0d27ed88f9dca8ca4efc8616ed128e51891ac0457af0ff5f1b3514ade7bfeacf
MD5 fc722616d7a0529926bb764390455fc7
BLAKE2b-256 0ed90535aa9dafcd9620c9fe2db65c41589693b59006a3c4fc212839407071aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 50afd262eee0d9a6835138613fab06b1f3cfecc00ae7f7730d5dfe8eefe13fd9
MD5 ceace0bd8584050231f45e30d50647b1
BLAKE2b-256 907a09097ac32732c9b020782ebaaa9d8ed530fcb43f0f883bf65a7fe1c999fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7d77cad30af14bf9dd56fb64cdfe71ce153aa1b6b70109dd4d802b0cfae2ecc8
MD5 76771a8e79e0b10c3d53c8b52d87a60f
BLAKE2b-256 f43a8c95e833867002c13a6404e725618430c2c1b6447b60a324fafaa684a61e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 f2c9edfd68fb39153a672b2fb688a655d0025ed8f538050e708b1f94c553610e
MD5 a60ffa7baf40a4efd40f16380a9a26a7
BLAKE2b-256 7f87adda4887b5444263fbae15ccb9c9ebb768a0cb197faca29029721c463e66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 24c9e46ad5d38a644f974501c4b829d796d7f9e6e8e91b29e4bdbd69740e69bb
MD5 502140d941dcb55029b1f3e04e28969d
BLAKE2b-256 279d4dcbcbfc8d305fd99f5dc299e2ed94741ce0dbb0c76a631f5c56cbeb8223

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e7626f02793c2154c8c0eeb06fe1c8428febf659c826298e732d86b331a68f53
MD5 3e10ad4d5fbbaadbcf49589dbba30c9a
BLAKE2b-256 b71a67be7b34dfcc7b7e9beb03633b121cfc88fa82067e820a0e9208ae3dc495

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 8e438705c650e589b9aec17a13cee95350eb7b993964683f4ad6c158036fdbb1
MD5 fc3157d52afda33f1bd1377d19cdfdd4
BLAKE2b-256 4a70436bc273f5bfb9d6be562189c84adaaf15b2005836ee8c70816e2f199f07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 501e83321cb41c8132a55774e5341b01f1229375df6453ba181d724e1e6ec53f
MD5 c2ee3da47b05c6d90cacf36e41a1106a
BLAKE2b-256 e358770026c400fbff75ea4162aaf475a099e95b6b6726933eef7b612ffd977a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 738f985f8034cd1bcb39a95f37405774bf8612d16eb2bb2a0e513da6be04f131
MD5 a0ba69e6e168239900434519b475d1db
BLAKE2b-256 ffdca0b3bf593eac1167e23b6417f38e1e5e386c256456b7bfb652252d4f112f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 47825066d36a311d1474c480d33c919b7d830bbd18d552733b6724b9101f218f
MD5 1004f5908070135f51e7b592c3ab6f14
BLAKE2b-256 bcac02426e253ba4b1e94facf0dd96cbd319c1b391915f06c97b5736ec2c1d04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 96f3678f81adc3e53f84e8418c805f9879c4641b3ea669c9f9a04118c8a2526b
MD5 b340d49c84949ea8584dfdda8ffa06a8
BLAKE2b-256 25eaa4a0cd42298bd13fd3649ba9570fdfc536505ced1971404dc455df116eca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 1023766265f2b52daf6b7ed1e6139400b203e96a659ecca78ae9bfc27c0e37eb
MD5 d97012fd647745e719d063a6ce1e0052
BLAKE2b-256 594fc9a23882685367ecc36ed0b7bf42fb524ef398f2f68c59e8be71638f586e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.7-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 0751768692ed966bfff5ee948050af5144dcb56fca545c59451414bf2f69ad70
MD5 65780d0186eb8fbd821bf146910b0dff
BLAKE2b-256 58b4e9742396ff5de8134f4f505b4a2b50a55f68878e16a6d38425e30db4277e

See more details on using hashes here.

Provenance

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