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.

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.0b2.tar.gz (88.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.0b2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sifi_bridge_py-2.0.0b2.tar.gz
  • Upload date:
  • Size: 88.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for sifi_bridge_py-2.0.0b2.tar.gz
Algorithm Hash digest
SHA256 cb05b80850f7fe67cb692cfc1dbccdf5b4c2412b7b28c6336b006e76cc2293ac
MD5 cd71148b7eb61f75564b9a44de0d0436
BLAKE2b-256 c697a51b2253410bb12ff73cfea3afedf1a182afc46d2ff884448a92d032859e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sifi_bridge_py-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 ae1bdf81d05654079ea45b84c5f20b3ea4941e6087e5a5b951f531b23388ff65
MD5 9bac17aa236e0027b2b9d33138df8d64
BLAKE2b-256 1e8ce40aaa017cf602751f601fb59794574bc9173468faf359652c79bd6e15ef

See more details on using hashes here.

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