Skip to main content

Python bindings for the SiFi Bridge tool.

Project description

SiFi Bridge Python

PyPI - Version License pdm-managed

SiFi Bridge Python is a convenient wrapper over SiFi Bridge CLI.

The Python wrapper opens the CLI tool in a subprocess. Thus, it is highly recommended to implement threading, since reading from standard input is a blocking operation. To use the wrapper, start by instantiating a SifiBridge object. Documentation is provided as inline doc-strings. It is recommended to then deliver the samples with some sort of higher-level server-client scheme.

Documentation

Inline documentation is provided.

Examples

Examples are available in the examples/ directory of this project.

Tests

Tests are located under tests/. They can be ran with: python -m unittest -v from the root of the project's directory.

Installing

pip install sifi_bridge_py should work for most use cases.

Versioning

The wrapper is updated for every SiFi Bridge version. Major and minor versions will always be kept in sync, while the patch version will vary for project-specific bug fixes.

Local development

pip install path/to/sifi-bridge-py/

Deployment

NOTE If you add new enums or types to sifi-bridge-py, don't forget to re-export them in src/__init__.py.

First, run the tests: python -m unittest -v. Then, to deploy to PyPI, push a tag to the main branch. The tag must respect semantic versioning format: x.y.z, or for beta versions x.y.z-bn, where n is the beta number.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sifi_bridge_py-2.0.0b4.tar.gz (87.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sifi_bridge_py-2.0.0b4-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file sifi_bridge_py-2.0.0b4.tar.gz.

File metadata

  • Download URL: sifi_bridge_py-2.0.0b4.tar.gz
  • Upload date:
  • Size: 87.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sifi_bridge_py-2.0.0b4.tar.gz
Algorithm Hash digest
SHA256 6136f803f75274c975a9c4cb79d5a840d991c1ca05f0fbcb9384859d0951f7de
MD5 8f5a473b3c482ebd8cc3e75cc274d1f8
BLAKE2b-256 b9d6f5832207e393e4d9ee52490a9559ae0d489fe4ceb0b98c40e495724e2382

See more details on using hashes here.

Provenance

The following attestation bundles were made for sifi_bridge_py-2.0.0b4.tar.gz:

Publisher: release.yml on SiFiLabs/sifi-bridge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sifi_bridge_py-2.0.0b4-py3-none-any.whl.

File metadata

File hashes

Hashes for sifi_bridge_py-2.0.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 a5bc905758311490c7a0c85eee82ceba483607edef491e556bdf130d98779214
MD5 44bf84742a6ccc48d53a7cdc49fd5efa
BLAKE2b-256 d8765424912e00a6ebb23cb1173bd670499b6c208d6df7d90e8887d8eddb2e22

See more details on using hashes here.

Provenance

The following attestation bundles were made for sifi_bridge_py-2.0.0b4-py3-none-any.whl:

Publisher: release.yml on SiFiLabs/sifi-bridge-py

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