Skip to main content

SDK Python package for Actxa Insights

Project description

My Package

This is the SDK package for actxa-insights clients.

Create new version

in setup.py file, create new version
rename folder dist to dist_v.[previous version] (contain previous version)

Build package

python -m pip install --upgrade build twine
python -m build
twine upload dist/*

Installation

pip install actxa-insights

Usage

from actxa_insights import predict_bgm_range_app

response = predict_bgm_range_app(
    "dev",
    "186d1e95-4fbe-4f74-802d-8a52b4637aaa",
    "ec4a2e2a-51e9-4d9c-8ae6-b058a6975154",
    "serial-number",
    10015678,
    {
        "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)

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

actxa_insights_test-0.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

actxa_insights_test-0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file actxa_insights_test-0.0.1.tar.gz.

File metadata

  • Download URL: actxa_insights_test-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for actxa_insights_test-0.0.1.tar.gz
Algorithm Hash digest
SHA256 15bfb353190b4b25b75ece1626f9f5712ef9cf280c94e13768ec4cff28df513e
MD5 ef7a9ea09ac7aaa3d5c945d28028546d
BLAKE2b-256 96796acef4166eca05d11440e07c6c7f638c5c9aea66ec5b00e2cf77097b9214

See more details on using hashes here.

File details

Details for the file actxa_insights_test-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for actxa_insights_test-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d1bf434c11828181cbf23c6b093b6ed8fafc5f649667e6f13eb1f25b1d92b37
MD5 05c74f70278a3506de6e01a5b922ef7e
BLAKE2b-256 26d8ff9ff140b991d1aa1c25d0a723235d9e366a34d7d22a2b0005331c912be6

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