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

Uploaded CPython 3.14Windows x86-64

panda3d_steamworks-1.63.8.dev2-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.dev2-cp314-cp314-macosx_15_0_universal2.whl (383.3 kB view details)

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

panda3d_steamworks-1.63.8.dev2-cp313-cp313-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.13Windows x86-64

panda3d_steamworks-1.63.8.dev2-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.dev2-cp313-cp313-macosx_15_0_universal2.whl (382.8 kB view details)

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

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

Uploaded CPython 3.12Windows x86-64

panda3d_steamworks-1.63.8.dev2-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.dev2-cp312-cp312-macosx_15_0_universal2.whl (377.0 kB view details)

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

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

Uploaded CPython 3.11Windows x86-64

panda3d_steamworks-1.63.8.dev2-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.dev2-cp311-cp311-macosx_15_0_universal2.whl (370.9 kB view details)

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

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

Uploaded CPython 3.10Windows x86-64

panda3d_steamworks-1.63.8.dev2-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.dev2-cp310-cp310-macosx_15_0_universal2.whl (373.5 kB view details)

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

panda3d_steamworks-1.63.8.dev2-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9Windows x86-64

panda3d_steamworks-1.63.8.dev2-cp39-cp39-manylinux_2_39_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.39+ x86-64

panda3d_steamworks-1.63.8.dev2-cp39-cp39-macosx_15_0_universal2.whl (373.6 kB view details)

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

File details

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0a02ac0698aa678438f53e15e48c5e69ed8517b2798378679f693b5d2ff4f503
MD5 4ce8d75e4677f31f00a0c8ab509209f6
BLAKE2b-256 e39aebfb1aaa8da011cd9d7e906280d16948b4145fe753c34475518e55d55e6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 cceb75763b8ca4df66a7420fbf405368d5a907c19c72ea394249edb5a02a3818
MD5 bc4d1b944e141052e956f0742ca4a566
BLAKE2b-256 da6fc8484b088df0d9ed9afed16ad3d2d20ca92bee346a34abc1658860fda001

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 fdb8213462843048df79adc09e2370c4957d1d785046b3fc39fdf30a3d3c1d36
MD5 718bedb64d0dafafb3f9a2612859e28a
BLAKE2b-256 7742edd5cca6486b9f4526b16b7079e21ff719db993d03d430cd913b66f736a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b68b59ae64e38d97a1c6f8e0eadb9c5b93915ee63860a2200a284c9a9dd017ed
MD5 c1becbe2dee3da1ef6f5e9b604ffb044
BLAKE2b-256 11273d784081def839370497f41f4fa3d1415a5844293def7ebcafda8d788759

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5827663b76ace50439c51bbe69a64dff9dd0a90f6837df9fda02dd54da1bc4d0
MD5 77eccbcd4e7c285e2388f28ddd5955e7
BLAKE2b-256 79ae99233c970601a249b579dedaa3abe8d7752e29a4a7d9bd15ee1c6c0e79bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 9156c6c8ff4b92a6482201720571ee3d5cd84cccdd10a97e664e010f91af2753
MD5 e4d817805309c781300f46c6ddec9c1e
BLAKE2b-256 effd2a7f47b7dd122436fa41348620ad7bc82e8f7db11871db515c2aca3300b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d7e8cb9d762eb2030a452cc2331f11b52165363029c118909ed2432183acd36d
MD5 f3bdd26ab5ea4c48408189a906fd6074
BLAKE2b-256 4ec6d16cbad586841aabf6bfd02261c58fefda85cf5244c736991773a04da2ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 edb8d69e2f97746e05e356ef65303a7831f6ab9c364212ff2a58473d0278478a
MD5 08e6106f515f789a3ef16a390830c0dc
BLAKE2b-256 d18ecc5dfdb57843707643bb01067f5a98aea6dfff3cbc19ad7763257c98713d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 8bdaad1262d21f6ef8530d8ef89dae25a0f5cff0233477bae9b6f76b2888eb19
MD5 46dd7d6927136c67ca49a35d68d8319f
BLAKE2b-256 64e74328e3f390c31c3c9ff959062e5cb3d58f0991db054b0158761f1180501b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 55c545f533b6f98f53bc573f2074cda8faa734b32d90dd8b5aa5e16978731c58
MD5 67b300981f01c3d80a64f6fa6d1ec2b3
BLAKE2b-256 ee8f82f020623b08550f723f6269a8c80c85949fe552daf07368c1a8b4cca231

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 57fc9aafd0eb426a592f42c5fd9fdce241123dbed4528d4194abf28aca7f4ec6
MD5 865fe49012dd0f343ebcc65e9191322c
BLAKE2b-256 623b38ae9f30a6c07c5749a67ff4d33fa1ca673ffe27883868c41ba621558ee4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 4631be1a6b6f7162ea7cf20992d3054672d0e80bf6ddd5bb85f61a9fbc2beb4d
MD5 192e9ca0fde09fc402f52ba742288735
BLAKE2b-256 2b9d113ac640ea37fa771de203e7e8d0bf9b32a397698a97cdbe3fa7ff2d6a9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 788a52d134899604094f4cbcfb4b2d85d945310af5aca19a3d420cee98e62992
MD5 bd3b735f4511f2a568ae8624ac96c49a
BLAKE2b-256 ae6554b9718da0f90ab44dded6ad79b70340f70977eab54abf2d630196efe1bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7f6b824713a6f7279b2c121e4d52ecaef0a21c68532b10a73a6b9b3777043a7a
MD5 2eb3ca3e7ada774a354c610628ff6ee6
BLAKE2b-256 992cf49b1920e629278814fef6e43aa50e07e76f599425cb2f10b3310ce13a78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 fdacb7ef13adfd0794139285072bf7a2fd63af92954f183f47d7b40b6477b1a4
MD5 fc1ac619dd3575a1617e926ae8831a7a
BLAKE2b-256 f5ee98c4c20b6e002425fa4152a0953c66d88f904a14e6e763fab392b428c387

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a16a4ac69787275ab3aeef643dd97fbc349f93700350187c58a8f14b89122fa7
MD5 fd61feed7dbf2ad5a09fee89c5355157
BLAKE2b-256 ad330fc31afbdc3bac4cb549902821a489c8931a33a42ee4311af21e5a07f88e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp39-cp39-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 9199dfd199a12437c460fd808479e0d5709fa4cc67aa148d8c326a713e90a860
MD5 a902dd5d9cce313fcc44cae2b63dfbb7
BLAKE2b-256 b620f2081591861d830621c3ad03483d5b2b91451e68a1fd6483931894e4dde7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev2-cp39-cp39-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 cc75f0c69c8bc8f92ef0bf1e75ab7920b23719d274106de2d14efe071e76b4d4
MD5 82e595763d98b97bbe56a951bbdc9c81
BLAKE2b-256 57ab6c60f41f0f9d5f7eff60da128673dc5619b99a59790d5e9e5151104256b4

See more details on using hashes here.

Provenance

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