uniovi-simur-wearablepermed-mets
Uniovi Simur WearablePerMed metabolic expenditure
A longer description of your project goes here...
Create venv in windows
```
Open Anaconda Prompt
Go to the git project folder ($ cd .....)
$ python -m venv .venv
$ .venv\Scripts\activate
Do ($ conda deactivate) to remove (base)
```
How install packets in venv in Windows
```
Open Anaconda Prompt
Go to the git project folder ($ cd .....)
Apply ($ .venv\Scripts\activate)
Do ($ conda deactivate) to remove (base)
Then, it is able to do ($ pip install ....)
($ exit) for exit
```
Save dependencies in a requirements .txt
```
$ pip freeze > requirements.txt
```
Create venv in Linux and install the dependencies
```
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
```
Create dockerFile and Compile de image
```
Imagen base: aunque sea python, es una distribucion de linux con un python instalado
Crearse una carpeta /app en esa imagen de linux
Actualizar el git del linux
Actualizar el pip
Copiar de la carpeta donde se ubica el Dockefile el requirements
Instalar con el pip el requirements
Guardar el fichero de python el la carpeta /app de esa imagen de linux
(CMD [ "sh" ]) Permite tener una shell, sin embargo, si se hace un docker run no se vería porque el contenedor
se crea y se destruye. Para ver esa imagen de linux hay que añadir el parametro -it, que permite tener una shell
interactiva y permite jugar con el linux. Todo lo que se quiera guardar de forma persistente deberia guardarse en un
volumen en una ruta del host.
```
Execute from Docker
```
-v Volumenes: ruta que permite compartir archivos entre el host y el contenedor. Monta los archivos de la ruta del host (un Windows, un servidor linux ...) en la ruta deseada del contenedor (un linux que corre en el contenedor). Permite guardar datos importantes en el host aunque el contenedor muera. Hay que seguirlo del nombre del contenedor.
python mas el nombre del fichero ejecutable
Parámetros
Ejemplo:
$ docker run \
-v /mnt/nvme1n2/git/uniovi-simur-wearablepermed-data/input:/app/data uniovi-simur-wearablepermed-mets:1.0.0 \
python windowing_mets.py \
--ruta-datos-features data/PMP1006/data_1006_tot_M_features.npz \
--ruta-excel-fase-reposo 'data/PMP1006/PMP1006_REPOSO_20240927(CPET Cámara de Mezcla).xlsx' \
--ruta-excel-tapiz-rodante 'data/PMP1006/PMP1006_TREADMILL_20240927(CPET Respiración a Respiración).xlsx' \
--ruta-excel-sts 'data/PMP1006/PMP1006_STS_20240927(CPET Respiración a Respiración).xlsx' \
--ruta-excel-incremental 'data/PMP1006/PMP1006_GXT_20240927(CPET Respiración a Respiración).xlsx'
```
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for uniovi-simur-wearablepermed-mets 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uniovi_simur_wearablepermed_mets-1.1.0.tar.gz | 26.5 kB | Without provenance | Details for uniovi_simur_wearablepermed_mets-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uniovi_simur_wearablepermed_mets-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for uniovi_simur_wearablepermed_mets-1.1.0-py3-none-any.whl |
Total release size: 42.4 kB
Release files / uniovi_simur_wearablepermed_mets-1.1.0.tar.gz
| Download URL | uniovi_simur_wearablepermed_mets-1.1.0.tar.gz |
|---|---|
| Size | 26.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59257bae1e68085b1bb5b1d6ce2cfdb34dc80708818fc7bc4b4398a54c7afc6c
|
|
BLAKE2b-256 checksum How to use checksums |
0c377f034159b589719485cdf7931853e1c50f0467093052505b5a9e7f701580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / uniovi_simur_wearablepermed_mets-1.1.0-py3-none-any.whl
| Download URL | uniovi_simur_wearablepermed_mets-1.1.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
586544eab5b57a2ecba615dd76ac9b5558cf66abff1f14990485d482252f4701
|
|
BLAKE2b-256 checksum How to use checksums |
3430697180ecbbbb21465634fcbce7a2148b5293ff90ac449b41a44fc9f79cd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for uniovi-simur-wearablepermed-mets 1.1.0
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.