Skip to main content

sconext-bambon-negotiator

A SingularConnector negotiation service extension that wires the BAMBON Bayesian Negotiator into the scontoolkit.interfaces.dsp.negotiator.INegotiationService interface.

The package implements BambonNegotiator, a thin adapter around the bambon.negotiator.Bambon class. It delegates the actual contract negotiation logic to BAMBON while taking care of:

  • persisting / restoring the negotiator instance through MongoStorage using dill-based serialization,
  • converting between the DSP 2025/1 Offer / Agreement / MessageOffer / ContractOfferMessage / ContractRequestMessage Pydantic models and the plain dict payloads BAMBON works with, and
  • tracking provider / consumer roles via NegotiationControl.

Installation

pip install sconext-bambon-negotiator

bambon is fetched directly from GitHub through the dependency entry in pyproject.toml:

bambon @ git+https://github.com/isotiropoulos/BayesianNegotiator

Usage

The class is registered as a sconext entry point so that the SingularConnector core can discover it dynamically:

[project.entry-points."sconext"]
BambonNegotiator = "sconext_bambon_negotiator.negotiator:BambonNegotiator"

Tests

Run the local test suite (which spins up two BambonNegotiator instances and lets them negotiate against each other through an in-memory MongoStorage stub):

pip install -e .[test]
pytest -q

Metadata

Release files for sconext-bambon-negotiator 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sconext-bambon-negotiator 0.0.1
File Size Uploaded Provenance
sconext_bambon_negotiator-0.0.1.tar.gz 29.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sconext-bambon-negotiator 0.0.1
File Interpreter ABI Platform
sconext_bambon_negotiator-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 kB

Release files / sconext_bambon_negotiator-0.0.1.tar.gz

Download URL sconext_bambon_negotiator-0.0.1.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
98400626f28dd60115dc1a11e60f83f95b430a312d520dfb4df29dcf3945ee01
BLAKE2b-256 checksum
How to use checksums
674732bd114a1b507b46a161f7327a91756ce1a760fda31a7704ecbbda6577e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Release files / sconext_bambon_negotiator-0.0.1-py3-none-any.whl

Download URL sconext_bambon_negotiator-0.0.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3258618de6638ee40efd91b80ccd710dfcb95bb63f7e89fce885118208aa7363
BLAKE2b-256 checksum
How to use checksums
727d8690b314495eadca6e8112ae783b6d963f32897357b0dcbdbe73b27397aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Security for sconext-bambon-negotiator 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page