Skip to main content

Actxa Insights SDK Package 🏥📊

Actxa Insights SDK is a lightweight and easy-to-use Python library for integrating health data, including:
✅ Blood Glucose Monitoring 🩸
✅ VO₂ Max Estimation 🏃‍♂️
✅ Sleep Tracking 💤
✅ Heart Rate Analysis ❤️
✅ Stress & Recovery Tracking 😌

Designed for developers, health tech startups, and researchers, this SDK simplifies API integration for wearables, fitness apps, and health analytics platforms.

🚀 Features

✔ Unified API Interface – Connect multiple health metrics with a single SDK.
✔ Secure & Configurable – Uses .env for environment-based API handling (dev, uat, staging, production).
✔ Fast & Efficient – Optimized for real-time and batch processing of health data.
✔ Compatible with Popular APIs – Works with health devices & cloud-based health platforms.

🔧 Building the Package

If there are new code changes in SDK, you need to create new version, here are the steps:

  • in setup.py file, create new version
  • rename existing folder dist to dist_.[previous version]
  • do these commands in your terminal
python -m pip install --upgrade build twine
python -m build
twine upload dist/*
  • it will show input text to input your pyPi API token

📦 Installation

Install via pip:

pip install actxa-insights-test

🛠 Usage

In your python, write this code to use the Actxa Insights SDK

from actxa_insights_test import predict_bgm_range_app

response = predict_bgm_range_app(
    env="dev",
    application_id="186d1e95-4fbe-4f74-802d-8a52b4637aaa",
    device_id="ec4a2e2a-51e9-4d9c-8ae6-b058a6975154",
    serial_number="serial-number",
    user_id=10015678,
    req_body={
        "start": "2024-09-12 09:53:22",
        "end": "2024-09-12 09:58:33",
        "fasting": True,
        "within2HrsMeal": False,
        "nBit": 23,
        "ppgData": [
            {
                "ppg": [
                    5956031,
                    5949472,
                    5942943,
                    5938014,
                    5934479,
                    5931011,
                    5926540,
                    5923345,
                    5927220,
                    5932507,
                    5939766,
                    5941773,
                    5937539,
                    5931266,
                    5930365,
                    5934972,
                    5939528,
                    5942112,
                    5942775,
                    5942079,
                    5941772,
                    5943387,
                    5946278,
                    5948828,
                    5950833,
                    5952108,
                    5953774,
                    5955423,
                    5956630,
                    5955560,
                    5952499,
                    5948385,
                    5943319,
                    5938611,
                    5934377,
                    5931351,
                    5930841,
                    5932269,
                    5933340,
                    5934956,
                    5934820,
                    5933561,
                    5933664,
                    5935126,
                    5936672,
                    5937250,
                    5936315,
                    5935839,
                    5936298,
                    5937964,
                ],
                "timestamp": "01:44:46",
            },
            {
                "ppg": [
                    5956036,
                    5949473,
                    5942946,
                    5938016,
                    5934479,
                    5931011,
                    5926540,
                    5923345,
                    5927220,
                    5932507,
                    5939766,
                    5941773,
                    5937539,
                    5931266,
                    5930365,
                    5934972,
                    5939528,
                    5942112,
                    5942775,
                    5942079,
                    5941772,
                    5943387,
                    5946278,
                    5948828,
                    5950833,
                    5952108,
                    5953774,
                    5955423,
                    5956630,
                    5955560,
                    5952499,
                    5948385,
                    5943319,
                    5938611,
                    5934377,
                    5931351,
                    5930841,
                    5932269,
                    5933340,
                    5934956,
                    5934820,
                    5933561,
                    5933664,
                    5935126,
                    5936672,
                    5937250,
                    5936315,
                    5935839,
                    5936298,
                    5937964,
                ],
                "timestamp": "01:44:46",
            },
        ],
    },
)
print(response)

✅ Success Response

If your request was successfull, then it will print out the response like this

{
    "data": {
        "measurement_id": "e42d84d2-44f0-4f24-b8ac-b406d2d82c3d"
    },
    "status": {
        "message": "Success",
        "success": true
    }
}

Metadata

Release files for actxa-insights-test 0.0.6

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

Source distribution (sdist)

Source distribution for actxa-insights-test 0.0.6
File Size Uploaded Provenance
actxa_insights_test-0.0.6.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for actxa-insights-test 0.0.6
File Interpreter ABI Platform
actxa_insights_test-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / actxa_insights_test-0.0.6.tar.gz

Download URL actxa_insights_test-0.0.6.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9c5344c90fee1cf9cd12292b4edbc2e7ef523e2d3eccb798a3c1404b4ff4aee4
BLAKE2b-256 checksum
How to use checksums
d58753dcadd6eac00a90427ace1027d90fdfc2e13be5e45e2e21c9d55b7e717f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Release files / actxa_insights_test-0.0.6-py3-none-any.whl

Download URL actxa_insights_test-0.0.6-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
019ed133060a2fb471510e12863d21b1144e94fc34baa40ad9642d1c8587ffc1
BLAKE2b-256 checksum
How to use checksums
a4bc5f766123a6c9c3af2cf802f48487923cf810c20f9649978b700b9778e5be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Security for actxa-insights-test 0.0.6

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