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.6-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

panda3d_steamworks-1.63.6-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.6-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.6-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

panda3d_steamworks-1.63.6-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.6-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.6-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

panda3d_steamworks-1.63.6-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.6-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.6-cp310-cp310-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.10Windows x86-64

panda3d_steamworks-1.63.6-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.6-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.6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 537256f152c6a14eaaac1b7ddba40f8c41fb039c0c239fdac28f0b45bb6dce10
MD5 f64da95855783ba04757f67f033171a5
BLAKE2b-256 731f348848c4cd5cd57907e1769fa9176733f7e582a9838cc4092dbf383c6cb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 69d1fbaf32d723688a5689fe9688fa84d9a06dce55a66b88d3fa2de4ff8a2ad7
MD5 3558ff0f9288997d9d088d8febec74f1
BLAKE2b-256 6279cbed74de76c269650ee3d28dcfa98bc124845e0995f8aa7bfff9a374de1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp313-cp313-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 fd1543651085a371e2c4d947bb10a43985d246e3a37392c150ada759ba817eed
MD5 755448c50530af0333ce98fec4659a17
BLAKE2b-256 191d901bb9a2e360cba6ac4c9fcf76c81059627693bfaeb2b445d06320512883

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 180777f8942eee8b2018c06da5595a57939e8d3e3d4af1d7615bc3601981bdcf
MD5 b62f54190ebc83b7070230c1235f66db
BLAKE2b-256 74c5857f72226841605803d1f115ea40750cba657a6916b67f43ec079e87c593

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 b2fed0f0800bd25b24da4745de8daa9b27a180eafc6a5a583ff774b9e224b121
MD5 1e4b6a7d7e6c524ec821218e0da5432e
BLAKE2b-256 6ed3b4b108739370b301101044ada20d489cbe99689c9f5e8f3bd43ee3c993f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp312-cp312-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 423836d66e70bf14fab65c4798443c28103fc1c994be714df94422cf5d8bba8c
MD5 0690cb35cb86802e55966180dac12754
BLAKE2b-256 ae2e062854ce1176405b5883d19aea42ec0811a1ec0c49b05a06583561532b0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6afe66c76a52212239b75d6e25f64563e7147f3281b2b81ee3be5eeef14200a7
MD5 b7f25271655fd7cc6eadc6a2c2ef1b1d
BLAKE2b-256 7e1b26d2b918c04fa87641514cc270a3360d68a790a98d34d07440805bb82096

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ec38801a2f51cf145685cbb737ab5acbabe704b04be0cb03fdb439499350a05c
MD5 93f58be13e4846138c3e564f5ca6b0d3
BLAKE2b-256 f0cdebad5d29c6f3ecfbe9d143ae9d4ac53924cee14baa6c083d8d12abe73898

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp311-cp311-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 9e18631ba83f0c30f5a776a567a0af36c382259a53cec4ea4946ced2578d3fc5
MD5 8e2e88eeb3c77bff237b7e071ceb4025
BLAKE2b-256 5835e61da58e553bdd07658f5548d0019ceba7dd27c97b6a29f048316171d6bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2d1d4d89ccacc312c242cae25f92b592502f86ca2f079a6900dee07daca58992
MD5 4072daeaecfdb51146061267d5223b58
BLAKE2b-256 5fc536719797e629f84c6e9dc847dddb0d803b8f18351bdaa0c617379856880c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 97d205e87ff06c3ebfe7079434eeaf6780df103447736cfdba154859a5f215ea
MD5 85f767a5cef8b5fd81d48cc09cc936ed
BLAKE2b-256 d2b3ea408e9c64245b40bee58e329c5eee2bad2a97d6ce68a358fc76b933ce3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for panda3d_steamworks-1.63.6-cp310-cp310-macosx_15_0_universal2.whl
Algorithm Hash digest
SHA256 af24696ef5c81646d0397386ab547f794cd741f3d84c7597f7e53c3d64cc007d
MD5 01a96af750f0b381b0e3894acc4e0833
BLAKE2b-256 5b138cc9d5e194a8056deaf811bf376bfcfd77f83cd0e530a672d6c140247b4a

See more details on using hashes here.

Provenance

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