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-4.0.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

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

Hashes for happymeter-4.0.1.tar.gz
Algorithm Hash digest
SHA256 bd252e668dcfb6ce5c367b06cd921d06832dc9040d0e508230ba7764eba057bb
MD5 473610a314c5f303003b4c4791a44c0e
BLAKE2b-256 42b0346dbf9d6b54e697b97882826ece165aa6de938146fd8e76ca8586937ee2

See more details on using hashes here.

Provenance

The following attestation bundles were made for happymeter-4.0.1.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-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

Hashes for happymeter-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9415eabfdd4841287b195ad21f7556b6a00358971d90a5905d0baca9884a6b02
MD5 79de60b03d797e62c209cb88036def56
BLAKE2b-256 93e814fa9d72939b803167e6e4498c57b03e1d6559f3c7deccf67342d87777ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for happymeter-4.0.1-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