/physfs.py

PhysFS.py is a python wrapper for the PhysicsFS library.

Primary LanguageC++OtherNOASSERTION

PhysFS.py

github-stars

CI status
Linux/macOS Travis Travis-CI
MSVC 2019 AppVeyor
pip builds Pip Actions Status
cibuildwheel Wheels Actions Status

PhysFS.py is a python wrapper for the PhysicsFS library.

Installation

  • pip install physfs.py

Requirements

CMake for building, and, of course, the PhysicsFS library.

Features

physfs.py provides an encapsulation of the basic interface of PhysFS, including init, deinit, mount, mount_memory, unmount, ls, read(cat), stat.

Enables python to use PhysFS at a minimum.

License

pybind11 is provided under a BSD-style license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.

Test call

import physfs
physfs.init()

physfs.mount("./example.zip")
physfs.ls()