Skip to main content

Downloads Downloads Downloads pypi version

mercury-ocip-fast

mercury-ocip-fast is a lightning fast and async-first Python SDK for BroadWorks OCI-P. It uses connection pooling and concurrent request batching to handle bulk operations efficiently.


from mercury_ocip_fast import Client
from mercury_ocip_fast.commands import UserGetRequest21sp1

async with Client(
        host="broadworks.server",
        username="admin",
        password="secret"
    ) as client:
        # single request
        response = await client.command(
            UserGetRequest21sp1(
                    user_id="user@example.com"
                )
            )

        # bulk requests - batched and processed concurrently
        users = ["user1@example.com", "user2@example.com", "user3@example.com"]
        responses = await client.command(
                [
                    UserGetRequest21sp1(user_id=u)
                    for u in users
                ]
            )

Async vs Sync Performance ^ mercury-ocip vs mercury-ocip-fast - This test included retrieving 2000+ users from a Group, and resulted in a 67x speed increase compared to mercury-ocip!


This is a backend focused tool, made to be lightweight, fast, and stable as a counterpart to mercury-ocip. Not intended for general scripting and automations.

Checkout our automation focused library here!

Testing has shown that the tool can negatively impact BroadWorks infrastructure, as it allows a very high volume of requests to be sent within a short period of time. The extent of the impact will vary from cluster to cluster, depending on hardware specifications, network capacity, and other general factors. Please use this responsibly, high capability requires careful consideration.


Mercury is an independent, open-source project and is NOT affiliated with, endorsed by, or supported by Cisco Systems, Inc.

BroadWorks is a product and trademark of Cisco Systems, Inc. Mercury provides a client interface to interact with BroadWorks systems via the Open Client Interface Protocol(OCI-P).

Mercury does not bypass, circumvent, or provide any additional permissions or licenses. To use Mercury, you must:

  • Have an active, licensed BroadWorks system from Cisco
  • Possess valid credentials and appropriate access permissions
  • Comply with all Cisco licensing terms and agreements

The OCI-P commands implemented in Mercury are generated from XML schemas. These schemas are:

Copyright © 2018 BroadSoft Inc. (now part of Cisco Systems, Inc.) All rights reserved.

Mercury implements these publicly documented interfaces and does not include any proprietary Cisco code or intellectual property. All command structures follow the official OCI-P specification.


Metadata

Release files for mercury-ocip-fast 3.1.0

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

Source distribution (sdist)

Source distribution for mercury-ocip-fast 3.1.0
File Size Uploaded Provenance Actions
mercury_ocip_fast-3.1.0.tar.gz 688.5 kB Without provenance Details for mercury_ocip_fast-3.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mercury-ocip-fast 3.1.0
File Interpreter ABI Platform Actions
mercury_ocip_fast-3.1.0-py3-none-any.whl Python 3 none any Details for mercury_ocip_fast-3.1.0-py3-none-any.whl

Total release size: 1.4 MB

Release files / mercury_ocip_fast-3.1.0.tar.gz

Download URL mercury_ocip_fast-3.1.0.tar.gz
Size 688.5 kB
Tags Source
SHA-256 checksum
How to use checksums
99fc58b738cf82dd66bbebb34c30fd7d4a0ff45386ab32a42b69ba5f274bb0b9
BLAKE2b-256 checksum
How to use checksums
ad909db4856c5855ebe05bff3a5db424110097d2b0b1f75255cb52b955ba15c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mercury_ocip_fast-3.1.0-py3-none-any.whl

Download URL mercury_ocip_fast-3.1.0-py3-none-any.whl
Size 692.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09df2ce2a401c4312716003daf69c5e63b792af0c85539aa3120b21842386240
BLAKE2b-256 checksum
How to use checksums
c31f9dec80844d793a13c8079d2ed95faa8b17d765f8d735ab278ccb93bceda2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for mercury-ocip-fast 3.1.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.

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