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 that provides utility modules, class definitions, enumerations, and helper functions for the CSA Prediction Engine Python client. It standardizes and simplifies complex operations across the system.
Installation
Install from PyPI:
pip install csa-common-lib
Requires Python 3.11.
Package layout
csa_common_lib/
├── classes/
│ ├── float32_encoder.py # Float32 serialization helpers
│ ├── prediction_options.py # Prediction, MaxFit, and grid option objects
│ ├── prediction_receipt.py # Task receipt structures
│ └── prediction_results.py # Prediction result containers
├── enum_types/
│ ├── errors.py # Lambda error codes
│ ├── exit_flags.py # Execution exit flags
│ ├── functions.py # Function type identifiers
│ ├── job_types.py # Job routing types
│ ├── lambda_status.py # Lambda status codes
│ └── results.py # Result keys and categories
├── helpers/
│ ├── _arrays.py # Array utilities
│ ├── _conversions.py # Data conversions
│ ├── _os.py # OS helpers
│ └── _vault.py # Prediction Vault helpers
├── toolbox/
│ ├── _validate.py # Shared validation helpers
│ ├── _notifier.py # Notification helpers
│ ├── classes/ # Class-level utilities
│ ├── concurrency/ # Parallel execution helpers
│ ├── database/ # Lightweight DB utilities
│ └── npz/ # NPZ I/O
└── __init__.py
Usage
Example imports for prediction configuration types:
from csa_common_lib.classes.prediction_options import (
PredictionOptions,
MaxFitOptions,
GridOptions,
)
For end-to-end API usage, see the csa_prediction_engine package.
Contributing
Bug reports and feature requests are welcome. Reach out to the team at support@csanalytics.io.
License
Copyright (c) 2023–2026 Cambridge Prediction Analytics, LLC. All rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csa_common_lib-2.5.0.tar.gz.
File metadata
- Download URL: csa_common_lib-2.5.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74194ff8bf3301190adcf3fcac72bc8c2f1efbfc6e0d6779670c57c0f85c725b
|
|
| MD5 |
e6c2ed49ab4c5223e7e86a76681354ff
|
|
| BLAKE2b-256 |
b3a48ac803b1f1c26ee16874cd76ce7a2a87b5fc02967a11a508fb9ffbe748cd
|
File details
Details for the file csa_common_lib-2.5.0-py3-none-any.whl.
File metadata
- Download URL: csa_common_lib-2.5.0-py3-none-any.whl
- Upload date:
- Size: 62.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c191024f27b87befa19f78aa8b5b6b076f1cd3503fcc7657efe410afa743fff
|
|
| MD5 |
a204f2a7e0e8fddc90b90b234e759b8a
|
|
| BLAKE2b-256 |
65cb831141c1161f248121052444585be586619ec301a0e4f8c3b60559dbebee
|