Skip to main content

csa_common_lib is a shared library designed to provide utility modules, class definitions, enumerations, and helper functions for the CSA Prediction Engine Python client. It standardizes and simplifies complex operations across different parts of the CSA Prediction Engine.

Project description

Cambridge Sports Analytics Common Library

csa_common_lib is a shared library designed to provide utility modules, class definitions, enumerations, and helper functions for the CSA Prediction Engine Python client. It standardizes and simplifies complex operations across different parts of the system.

Folder Structure

  • classes/: Contains class definitions for prediction-related data structures.

    • prediction_options.py: Defines options and configurations for predictions.
    • prediction_receipt.py: Structures data related to prediction receipts.
    • prediction_results.py: Contains classes for handling prediction results.
  • enum_types/: Contains enumerations that categorize various elements of the system.

    • exit_flags.py: Defines exit flag states used during execution.
    • functions.py: Enumerates available functions in the system.
    • job_types.py: Enumerates different job types for concurrency.
  • helpers/: Provides helper functions for common low-level tasks.

    • _arrays.py: Array manipulation and utility functions.
    • _conversions.py: Data conversion utilities.
    • _os.py: Functions for interacting with the operating system.
  • toolbox/: A general-purpose set of utilities.

    • classes/utilities.py: Utilities for class objects.
    • concurrency/: Tools for concurrent execution.
    • database/: Database related tools and utilities.
    • npz/: NPZ utility functions.

Usage

Here is an example of how to use the prediction class options from the common library:

from csa_common_lib.classes.prediction_options import {
        PredictionOptions,
        MaxFitOptions,
        GridOptions
    }

🤝 Contributing

We welcome feedback, feature suggestions, and bug reports. Reach out to our team 📧 support@csanalytics.io

⚖️ License

Copyright c) 2023 - 2025 Cambridge Prediction Analytics, LLC. All rights reserved.

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

csa_common_lib-2.4.1.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

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

csa_common_lib-2.4.1-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file csa_common_lib-2.4.1.tar.gz.

File metadata

  • Download URL: csa_common_lib-2.4.1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for csa_common_lib-2.4.1.tar.gz
Algorithm Hash digest
SHA256 bd10a274df9f35c9d56387b944595905a95c233f1d7d39c72c32323b091c8f8a
MD5 26e58e804cb120bdf47a95df9951127f
BLAKE2b-256 670a7b04d575009260cb101fcbda53504091d62d36e03668b5352e9719019c35

See more details on using hashes here.

File details

Details for the file csa_common_lib-2.4.1-py3-none-any.whl.

File metadata

  • Download URL: csa_common_lib-2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for csa_common_lib-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a57e4895ab6f37f84fa456b8b27d0790c20ec3509fa9d0845324df4b8056cd28
MD5 6749803bfb0f7c1df53f5bcad00eb0bc
BLAKE2b-256 2bcd52147b893f12d9e5dcc54efc40cfb89c51061e1bdbc01c2f210a90d1eee7

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