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

Uploaded CPython 3.14Windows x86-64

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

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

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

Uploaded CPython 3.13Windows x86-64

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

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

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

Uploaded CPython 3.12Windows x86-64

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

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

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

Uploaded CPython 3.11Windows x86-64

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

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

panda3d_steamworks-1.63.8.dev0-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10Windows x86-64

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

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

File details

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 08754271fa83342030b8cddcf199b042b917e7cf836e8f6956606bb053ea43d7
MD5 5c19a1f8247edbbf2959e774e96082e8
BLAKE2b-256 1e6128bd3a8ddad127bc1e51416e69dfa58c36b81b1207cfd5eb2fb4531cdff0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 98ffc91cf51fa649e9b8f13c6ef50eb68a4c9193b5616a0977fd33922ddf19da
MD5 3946c388428730dab232030183ba2a4c
BLAKE2b-256 cb9cf6284790b3fb4a0758e30214135fa3666935314593a25bcf50c3c2b6d478

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp314-cp314-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 ab29edcb682497efee01d2caaa000d6ab38112964cb123c9f0e96558c4fa987c
MD5 b30a8810007f883134e372b09d71917f
BLAKE2b-256 8539a1c9d8b63b21ae53172c0d116b8f4e83889d67d702fdb6530dc438d5b0ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0e783d4006244d7f0de5de6a583d921ed19b71c6aaf5cf78e1264b59c0d423bb
MD5 5bc320cae7df10a4dce8009c06d39995
BLAKE2b-256 b9bfbd468acfbe81af40751efe7c3e8eb4817f1b645fad7ef97ac7a6694acbb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7b7292d7e5937ec60f152466769a4787e1c4ce4d67576babdd8514b4cc532d4d
MD5 01aed87b040716f687d4077abd07f33f
BLAKE2b-256 93d52f9f78596887b478d7116212f89f31ff757f8f4968cc02f5009ba548ca1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 a51c80b7b08680daf398309ff907951f4b17adbbd1d5f18217719c77d50ee2dc
MD5 9ea147f5eae8485cf559a4c78d830884
BLAKE2b-256 42dd5ff88c91dc97c5c957056e8f0359ec7905b8242aac70d0914f16367d657e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ae7f7029387d7513a6ee4bf70f274adaa13601e1af9441981a18a46e9e20f9a0
MD5 f257c2dafa8873e07339a5e286b55f5c
BLAKE2b-256 dce2ef731d38254f3cf709d877c8597727b75ca889a5501a3e2eddf2086db6d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e3fa44abe09e020ccdff448da5d81c4b3395a295ea105e387ea2138454c7ab42
MD5 ff0b0189d3fffa07264ada57a7ce6fbc
BLAKE2b-256 e270c8f403657ffa942811593a7c4b1bc143c8ff0a020b305435221df4500f64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 5119600e005efccb40f9952a10380fcda462e67f45a6997bf098e2db10615a77
MD5 09a04fa303487baa140ac6878296954b
BLAKE2b-256 25dfb18bbdb9c9395cbb3379fc20542aae7c81b27a10c31d09c4c882c039e8e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3d153fb8ec05c1edbd8fcb96edfcf99e1e8b81a1857be796bc9797ab8af4cfec
MD5 e8dafbef603183bc58ee6c2b5d4d6fcd
BLAKE2b-256 e02ba810c2448bee910edbaf47ffae1c773c8c806e5363a542bba536273f2bdd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5d795afe86d4846592d59abf2e031b48f978b26684395d468c3b0e08c8424743
MD5 816be9396df5fac051569b631290280f
BLAKE2b-256 d08d431df7782ace6c5c1648aaf8ea57caae0457634ec2ac6057c06442719fc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 e20b1a2a193394821b8ee16833968f6a28623c874a61c094905275c152d9e898
MD5 df1d34241ee0d41ef3541a1a6bd3dfa4
BLAKE2b-256 5e226742697cab447850c7f6ab74e855403418fdb48440be3d7df8dd8cdddf51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 182e5676144dfb9ee29b830fd74a40767a4d8f0d0ef31580006892016d856f43
MD5 a801b78824823a42d047ca62566b32b2
BLAKE2b-256 427cd3262971ab5bbb27a572bb6c5fb418c551745d83e30317aa9e8e0fd24370

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 0ecdc4c00373c7fd89df6a7dc4cda2fd8d0768d5b9d1daa30833b5526db73fbe
MD5 d59d55f30ea14b94716695ee61ff6ab7
BLAKE2b-256 90f5667d52210b45dc1f2921d46e4600e233e7d61e99125b964a0fce809918f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.8.dev0-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 8a7794c8b512a07faf488a681789ee4db80ff614c36308ea43978ac174809098
MD5 425e7cc8cbcf617cfa7d49fa7b382f85
BLAKE2b-256 81ce6ec5782af05b284508368d21ddecae696c69e9e0f56364a8f92ea8d9c63a

See more details on using hashes here.

Provenance

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