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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f3aa16d38513c32d65a0e018e161737a316ecd228f32493f69b6405a922cb8df
MD5 a80d6c66b5bc1dce5f4e7455f6dfc3b3
BLAKE2b-256 c6e54379546ae9b8124bb04b8f4a889266b16c4e59874f763e9856db25b224b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4df724a763caac2bddbfc157e600b2136d30e2fda51d6d41c2e034e3f2987303
MD5 600f8ef4ef6e14f19cc5f2664a47da5e
BLAKE2b-256 5ce77c2e620ba9ccdd60a20fba51a8acc5817e2aa3e4b9c2e99f24af8feb892f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 588b82537d01fa92c3b81631873d6c319db379a530fcc6a81cfe437ae3e3ad80
MD5 37e3ee94a84d1e3e5c5a5bc00408d83c
BLAKE2b-256 73ca09a7d723ba08a8c727954243c4b9b5f90a1db49e248c77896f96b1a312e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 72a56d35b8151361db1c87d05ec5b2352c7fc21e9585ac9892fe8ed3c546996f
MD5 3548eab4d1deac332ca7184868a47d30
BLAKE2b-256 b5790205bcd98511aae460d4831eb8765e00659125d594d29bb7d48c19d6c5bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ac7a38230b3a6b91a2395f6ad6089c4cff0523c953fbd47084ff285a21357a54
MD5 ff55e66156f933ca511772cb8d49d25e
BLAKE2b-256 cc193e68d7ea91edd8ae5e134ca0ed6eb084792adb60d791ee8680d44de87abd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 6d7376f9810e53ffd3d7593f7a71d0dcde9cfd5a969523f3aac51b942118f132
MD5 703b4a2ae9c12f793c5bb01db35657cf
BLAKE2b-256 04c476b57f392937a04c5670632deecb67d3ff4f5a9578d2ba64650ead46c95a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aaf43a530a482c1baa4dc68ad7e40b5e0408d3549b6cfe9702926fe4de214f02
MD5 d9aa67fc6a13cc6ad8ab49392d2db1ae
BLAKE2b-256 9ccf28c8f8b8ace5f1684c6ec1fa86d560d026b032badd380a3709f4543bf157

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2d361553bdc7b26889505e252b75ef5d2512a6f7de4905aa8507d02e84fb67cb
MD5 47f96e01f8554fcd2f025e48d4ee0332
BLAKE2b-256 d7fdc84d5fe68c6b78b0c7a7cb9806f842af809e8e40f7ec11bfb142dab50da5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 8c6568056a68967bb6ba2587ff199a11f17cb21d93c0619af3524d78fcd1ee1f
MD5 c647186111cb6d1a9d443824be00e3ad
BLAKE2b-256 fbf292b7465629db00dd640b4d35c2d78f19a2726125027e1e3c830f3aee1592

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c8264ca664387be612b7c6f6e9dd9a757c63084c58206f7b0ce4823313fd782f
MD5 157c41a676743ac0ba22295347ce0525
BLAKE2b-256 8e07bce7b9fb07f4526af7e329075e2fbd522dc79eb304b710bee95c99c7ffb2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 fbda8101f9d132fc1409f8e647fba491a0e7017e4d5508a66e90f7a105a269e3
MD5 1f553a6d3c07f43614d4b4ecce726d9b
BLAKE2b-256 5b36f759c6e85c70ef341c787fa4c2fb967df867e92883b53d5cd44a0ed88ffb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 1312c070e30e00151d8a5f8525f7cb93cc4a2c50532b2e727511abe114995a24
MD5 b1c00fa2910eccc75634ee69cfe193af
BLAKE2b-256 22d5209ae130bc44825723e467cd304d13699976c3db2b02b399f26ebcde405a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8a321f75aef2b8fdcb9d7b96ac4a8fd992bb378e91bf18decc75325d64a2dd57
MD5 ed4f882926110be8422530760470d332
BLAKE2b-256 540faddce3ca870be7461c904dca0beaba581a7430e7ad081343da14f0634b39

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 a755214a4f0232b53d41c7e527d8be8c896d0cee8eb421778e1e97de4aa3a08c
MD5 5c24a21eb3a529b3a2137c9c6cc8d689
BLAKE2b-256 ed80befdbb51c670fe4d6e06903e8246e6dc2aec3a5459ed28e414fdc725ad21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 158d84dbc6f409daeaacfd02a29d913d97d810a63478cedaab122a1a6719bacb
MD5 451dc07755fe8bfaf2b1fcefc88f9bcb
BLAKE2b-256 c9529f480813d690182d303337d90c52e4cd7a8c5362da2f5d3b7c3e48cb5860

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5543cc5c4c86bcd6b00d122e59294b9977a051f97793baf36f40c29268dec40e
MD5 f846d330f5c834995a69d401d6ddb77f
BLAKE2b-256 1f10593d977e23f285b27c9e36768d48d69cfc04a7967a0badc6280243955b1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp39-cp39-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e8ce17ac4254e5cd489df0011e85894bf65039e6b704eaa58a9551f08113285e
MD5 a12752e89afd1ccb7adc95751e99bf23
BLAKE2b-256 c3b4f642fde63aae16e72403a8c517ddaea99b229218dd2117b1bf3fc51031b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev9-cp39-cp39-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 9dd0119753a4059e8e320223fdb27a74888022f98c598746fe3f2ab3824a7dd9
MD5 7450b9c36871aadb8fbb94e3424cf4d3
BLAKE2b-256 97430611df8b0481a683f34b84857076ad1f19fe306bea3d0014a27d057cfe92

See more details on using hashes here.

Provenance

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