Skip to main content

Find out how happy you are

Project description

happymeter 😊

Build Coverage Status

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:
  • Pre-commit: make eval
  • Unit tests: make test
  • Coverage badge: make cov
  • End-to-end build (eval + test + cov): make build

Containers:

  • Populate .env with POSTGRES_HOST, POSTGRES_USER, POSTGRES_PASSWORD and POSTGRES_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

happymeter-5.0.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

happymeter-5.0.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file happymeter-5.0.2.tar.gz.

File metadata

  • Download URL: happymeter-5.0.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for happymeter-5.0.2.tar.gz
Algorithm Hash digest
SHA256 db096df3e936918df90435e8277c44f3031ccbc10ecdcbbf07899db7c93b0e70
MD5 edd7d7c26b1957d11b05775cd9ef7117
BLAKE2b-256 ef1afae4cf014464ec171c5e5506be05c3be43e1d9a1ce61c0b6a17ced71127b

See more details on using hashes here.

Provenance

The following attestation bundles were made for happymeter-5.0.2.tar.gz:

Publisher: publish.yml on MixKlim/happymeter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file happymeter-5.0.2-py3-none-any.whl.

File metadata

  • Download URL: happymeter-5.0.2-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.13.12

File hashes

Hashes for happymeter-5.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a4815415e20e6f7f9e20847450b4db120c126ecebed1f485c68c47ca683bd73
MD5 b8db97bc6c2c92b78726c071ba483822
BLAKE2b-256 d0bd0bd8a6477dadf71a9845e5ddcd509a52d21ac23df1fa6e9c56b42c975a15

See more details on using hashes here.

Provenance

The following attestation bundles were made for happymeter-5.0.2-py3-none-any.whl:

Publisher: publish.yml on MixKlim/happymeter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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