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.


Important Legal Notice

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.


Download files

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

Source Distribution

mercury_ocip_fast-3.0.0.tar.gz (688.3 kB view details)

Uploaded Source

Built Distribution

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

mercury_ocip_fast-3.0.0-py3-none-any.whl (691.8 kB view details)

Uploaded Python 3

File details

Details for the file mercury_ocip_fast-3.0.0.tar.gz.

File metadata

  • Download URL: mercury_ocip_fast-3.0.0.tar.gz
  • Upload date:
  • Size: 688.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for mercury_ocip_fast-3.0.0.tar.gz
Algorithm Hash digest
SHA256 4856a6091a7e64202f03ec4d57a27390674e112addc69001f489e1c441d9d52b
MD5 e6d994c74f079de118040ca1e264c042
BLAKE2b-256 b0bd658e8f7cd0e1f4abdda0c2f9fa3768e3b7dd87fd617fa1b65e993415c9c2

See more details on using hashes here.

File details

Details for the file mercury_ocip_fast-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: mercury_ocip_fast-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 691.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for mercury_ocip_fast-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1f7eaf23754359d6adb4a809e06a6ef7962f088dc9279ca4e4cdc8e46f4b502
MD5 403b9eea9e9755da4935186b0ae34a9d
BLAKE2b-256 4aa9407dd383fbb789a04e1c1179dfbc8c2413ab4246ddcb017dd41247d2ded8

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.1

2 files

This release

3.0.0 This release

2 files

2.1.0

2 files

2.0.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

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