Fire-Prox
Setup
Before running tests or using the project, make sure to install all dependencies:
# Install Python dependencies
uv sync --frozen
# Install Node.js dependencies (for Firebase tools)
pnpm install
Testing
The project includes a flexible test runner that makes it easy to pass additional parameters to pytest while running Firebase emulators. The test runner launches a local Firestore emulator that Python code is configured to interact with by default and then tears down the emulator once the unit tests are done.
VSCode & Demo Notebooks
For running test in vscode or using the demo notebooks, you need to launch the developer emulator using pnpm developer-emulator.
Running Tests
You can run tests in several ways:
# Using the bash script directly
./test.sh
# Using npm/pnpm (calls the bash script)
pnpm test
# With additional pytest parameters
./test.sh -v # Verbose output
./test.sh -k test_specific # Run specific test
./test.sh --tb=short # Short traceback format
./test.sh -v -k test_fire_prox # Combine multiple options
The test script automatically starts Firebase emulators and runs your tests within that environment, then cleans up afterward.
Firestore Test Harness
Tests can rely on the firestore_test_harness pytest fixture (published in fire_prox.testing) to ensure the emulator database is fully deleted both before a test starts and after it finishes. The harness can also be used as a context manager when writing ad-hoc scripts:
from google.cloud import firestore
from fire_prox.testing import firestore_harness
with firestore_harness() as harness:
client = firestore.Client(project=harness.project_id)
# interact with Firestore here
Metadata
Release files for fire-prox 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fire_prox-0.4.0.tar.gz | 691.7 kB | Without provenance | Details for fire_prox-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fire_prox-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for fire_prox-0.4.0-py3-none-any.whl |
Total release size: 750.5 kB
Release files / fire_prox-0.4.0.tar.gz
| Download URL | fire_prox-0.4.0.tar.gz |
|---|---|
| Size | 691.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3999dd15b084eefc3aa274d614461aeb245b3dbb13f6180cc360dd4f932fdec
|
|
BLAKE2b-256 checksum How to use checksums |
4eba28c1cebad85e6d94ed15001c957e9719a06d7ab0706350b78f45d4113299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / fire_prox-0.4.0-py3-none-any.whl
| Download URL | fire_prox-0.4.0-py3-none-any.whl |
|---|---|
| Size | 58.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c811c3ee4edf8085f1c2c24f03d1c2232cf677bdd4434a4afd97c31cea37aaa0
|
|
BLAKE2b-256 checksum How to use checksums |
b6acdb1fa778d7fbd0814394ee9eeff3378869f87c59da054f6291f766a8c91e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for fire-prox 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.