Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csa-common-lib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csa-common-lib

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.

  • 2.1.0
  • PyPI
  • Socket score

Maintainers
1

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
    }

License

(c) 2024 Cambridge Sports Analytics. All rights reserved.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc