Find out how happy you are
Project description
happymeter 😊
Find out how happy you are
ML model based on Somerville Happiness Survey Data Set.
FastAPI backend
Native front-end (HTML + CSS + JS)
Streamlit front-end
SQLite / PostgreSQL Database
Run locally (from root folder):
- Create virtual environment:
uv venv --python 3.12 - Install dependencies:
uv sync --all-groups - Launch backend:
make backend - Launch front-end:
- Native: 127.0.0.1:8080
- Streamlit:
make frontend
- Pre-commit:
make eval - Unit tests:
make test - Coverage badge:
make cov - End-to-end build (eval + test + cov):
make build
Containers:
- Populate
.envwithPOSTGRES_HOST,POSTGRES_USER,POSTGRES_PASSWORDandPOSTGRES_DB - Docker backend:
make docker-backend - Docker frontend:
make docker-frontend - Docker compose:
make docker-compose
Deploy to Azure (Container Apps):
- Run
bash deploy_azure.sh
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
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 happymeter-4.0.1.tar.gz.
File metadata
- Download URL: happymeter-4.0.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd252e668dcfb6ce5c367b06cd921d06832dc9040d0e508230ba7764eba057bb
|
|
| MD5 |
473610a314c5f303003b4c4791a44c0e
|
|
| BLAKE2b-256 |
42b0346dbf9d6b54e697b97882826ece165aa6de938146fd8e76ca8586937ee2
|
Provenance
The following attestation bundles were made for happymeter-4.0.1.tar.gz:
Publisher:
publish.yml on MixKlim/happymeter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
happymeter-4.0.1.tar.gz -
Subject digest:
bd252e668dcfb6ce5c367b06cd921d06832dc9040d0e508230ba7764eba057bb - Sigstore transparency entry: 226898874
- Sigstore integration time:
-
Permalink:
MixKlim/happymeter@00b28e56c835ce69cfe8121b405d4455eeb00a35 -
Branch / Tag:
refs/tags/4.0.1 - Owner: https://github.com/MixKlim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@00b28e56c835ce69cfe8121b405d4455eeb00a35 -
Trigger Event:
release
-
Statement type:
File details
Details for the file happymeter-4.0.1-py3-none-any.whl.
File metadata
- Download URL: happymeter-4.0.1-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9415eabfdd4841287b195ad21f7556b6a00358971d90a5905d0baca9884a6b02
|
|
| MD5 |
79de60b03d797e62c209cb88036def56
|
|
| BLAKE2b-256 |
93e814fa9d72939b803167e6e4498c57b03e1d6559f3c7deccf67342d87777ca
|
Provenance
The following attestation bundles were made for happymeter-4.0.1-py3-none-any.whl:
Publisher:
publish.yml on MixKlim/happymeter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
happymeter-4.0.1-py3-none-any.whl -
Subject digest:
9415eabfdd4841287b195ad21f7556b6a00358971d90a5905d0baca9884a6b02 - Sigstore transparency entry: 226898875
- Sigstore integration time:
-
Permalink:
MixKlim/happymeter@00b28e56c835ce69cfe8121b405d4455eeb00a35 -
Branch / Tag:
refs/tags/4.0.1 - Owner: https://github.com/MixKlim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@00b28e56c835ce69cfe8121b405d4455eeb00a35 -
Trigger Event:
release
-
Statement type: