Skip to main content

Health Universe Python Client

PyPI - Python Version

This Python package provides a simple way to interact with the healthuniverse.com API. Specifically, it allows you to add applications to HealthUniverse through a simple python interface.

Installation

You can install the package via pip: pip install healthuniverse

Quick Start

from healthuniverse.client import HealthUniverseClient

client = HealthUniverseClient()
response_status, response_data = client.create_app(
    app_name='My App', 
    app_desc='An awesome app', 
    app_category='0', 
    app_sdk='SL', 
    gh_account='<github_account>', 
    gh_repo='<github_repo>', 
    main_file='main.py'
    )

Documentation

HealthUniverseClient

client = HealthUniverseClient(base_url='https://healthuniverse.com/')

This creates a new HealthUniverse client. The base_url parameter is optional and defaults to 'https://healthuniverse.com/'.

create_app

status, response = client.create_app(
    app_name, 
    app_desc, 
    app_category, 
    app_sdk, 
    gh_account, 
    gh_repo, 
    main_file)

This sends a POST request to the HealthUniverse API to add a new app. Returns the HTTP status code and the JSON response.

Parameters:

  • app_name (str): The name of the app.
  • app_desc (str): The description of the app.
  • app_category (str): The category of the app. (0-10)
  • app_sdk (str): The SDK version used by the app: 'SL' or 'FA' are acceptable.
  • gh_account (str): The GitHub account where the app's source code is hosted.
  • gh_repo (str): The GitHub repository where the app's source code is hosted.
  • main_file (str): The main file of the app in the repository.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Metadata

Release files for healthuniverse 0.1.2

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

Source distribution (sdist)

Source distribution for healthuniverse 0.1.2
File Size Uploaded Provenance
healthuniverse-0.1.2.tar.gz 2.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for healthuniverse 0.1.2
File Interpreter ABI Platform
healthuniverse-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / healthuniverse-0.1.2.tar.gz

Download URL healthuniverse-0.1.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
88034036a8e3be88695b012466edd88575c9d1f652084f8d4d4f29eb7c56cdb7
BLAKE2b-256 checksum
How to use checksums
8bebd0086a54c0a2e21b3f1b48e80b5840c9c9e78fbaec27a8427b81d8bfac3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.8 Linux/5.15.0-1039-azure

Release files / healthuniverse-0.1.2-py3-none-any.whl

Download URL healthuniverse-0.1.2-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edeafe83ebb9d895eccf8a4e96a6fbf0f8e41613fc68a7e03cf98307fe08868b
BLAKE2b-256 checksum
How to use checksums
9323e347acce40969fa486af71a81c042af7032a949c9d5acdbc3d07bfd99cb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.8 Linux/5.15.0-1039-azure

Security for healthuniverse 0.1.2

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