Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Using pypy sandbox for indie game for scripting game assets #13

@MartyMcFlyInTheSky

Description

@MartyMcFlyInTheSky

I'm looking for a secure and relatively performant environment to run python scripts that influence the game mechanics of my game. The user should be able to mod the game and create python scripts along with other game assets and be able to upload these assets to a server where others can download it. Needless to say these scripts should be run in a contained environment to not cause harm for the unsuspecting end user.

I was led here by this and thought I might look into it. My setup is a bit different that the game will be written in C++ and have pyhton c API bindings for the game API.

As I get from the wiki the sandbox is currently deprecated and a new one is in development progress. I have now two questions:

  1. Is pypy sandbox suitable for my use case?
  2. How is develpment coming along? Can the new sandbox be reliably used alredy?

I like the intricacies of the pypy sandbox as opposed to the not really viable alternatives. Maybe someone knows more as well, I'm open.

Sorry for opening an issue here but I didn't find a discussion thread :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions