Skip to main content

A client library for accessing live data through the SparkWorks Websocket API.

Example Application providing the token directly

from sparkworksws import SparkWorksWebSocket


class MyMessageHandler(SparkWorksWebSocket.SparkWorksWebSocketClientProtocol):
    def messageReceived(self, message):
        print message


if __name__ == '__main__':
    ws = SparkWorksWebSocket(token='your-token', handler=MyMessageHandler)

    ws.start()

Example Application providing credentials

import sparkworks_client

from sparkworksws import SparkWorksWebSocket


class MyMessageHandler(SparkWorksWebSocket.SparkWorksWebSocketClientProtocol):
    def messageReceived(self, message):
        print message


if __name__ == '__main__':
    configuration = sparkworks_client.Configuration("username", "password", "client_id", "client_secret")
    ws = SparkWorksWebSocket(configuration=configuration, handler=MyMessageHandler)
    ws.start()

Metadata

Release files for sparkworksws 0.0.14

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

Source distribution (sdist)

Source distribution for sparkworksws 0.0.14
File Size Uploaded Provenance Actions
sparkworksws-0.0.14.tar.gz 2.7 kB Without provenance Details for sparkworksws-0.0.14.tar.gz

Release files / sparkworksws-0.0.14.tar.gz

Download URL sparkworksws-0.0.14.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bbabf04d36f3fb580b7843484040179103cd81a0f87c4b8e3038a2012967debb
BLAKE2b-256 checksum
How to use checksums
f1c761eb4922ca84f5d1ea7c0252adf236fd00ac99dd2b1c8c83a5cf4dc5afb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for sparkworksws 0.0.14

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