Uniovi Simur WearablePerMed Models.
Project description
uniovi-simur-wearablepermed-models
Uniovi Simur WearablePerMed Models.
A longer description of your project goes here...
1. Get all model types
$ models --list-types
2. Get all models inside a type
$ models --list-type-models mono_sensor
3. Get all models everywhere
$ models --list-all
4. Using the library to get models from code
A sample of use inside your code
from wearablepermed_models.main import get_model_types, load_manifest, get_package_root
from pathlib import Path
def get_model_file_path(model_type: str, model_key: str) -> Path:
"""Returns the actual system file path of a pkl file using its registration key."""
manifest = load_manifest(model_type)
if model_key not in manifest:
raise KeyError(f"Key '{model_key}' not found in model type '{model_type}'")
filename = manifest[model_key]["filename"]
return get_package_root() / model_type / filename
print(get_model_file_path('mono_sensor', 'model_1'))
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
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 uniovi_simur_wearablepermed_models-1.3.0.tar.gz.
File metadata
- Download URL: uniovi_simur_wearablepermed_models-1.3.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e89fa1132cdd01e08042478ba334e63847ec2fa97b3147a185443d35405c32d4
|
|
| MD5 |
7f057e20c0d1e8d7dad953c94f1a7264
|
|
| BLAKE2b-256 |
f98c0ed48f5366fd9dbaa9fd32c808cd7095dfcd3569a8ae4ae2cb0a8a13cf8c
|
File details
Details for the file uniovi_simur_wearablepermed_models-1.3.0-py3-none-any.whl.
File metadata
- Download URL: uniovi_simur_wearablepermed_models-1.3.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d63bc4dc51a8e88ac5086462f39a4a068badb931ae66dc2997ee60f47db39b3
|
|
| MD5 |
9b3207132c9bb5caf67a5e6a9085c7a3
|
|
| BLAKE2b-256 |
96a1e36bc58f5894c332728e85166bb355388e3795c3272ba63ac1c6b1da97c5
|