A Python test fixture that manages a fake-gcs-server subprocess, with pre-built binaries bundled in platform-specific wheels.
No runtime downloads or containers are required.
from fake_gcs_server_python_wrapper import FakeGCSServer
# As a context manager (recommended)
with FakeGCSServer() as server:
print(server.url) # http://127.0.0.1:<port>
# STORAGE_EMULATOR_HOST is set automatically
# Or manually
server = FakeGCSServer(port=9023)
server.start()
# ...
server.stop()- macOS 12+ (Intel and Apple Silicon)
- Linux x86_64 and ARM64 (glibc-based)
- Windows x86_64