Find out how happy you are
Project description
happymeter :blush:
Find out how happy you are
ML model based on Somerville Happiness Survey Data Set.
To run locally (from root folder):
- create virtual environment:
python -m venv .venv
- install dependencies:
poetry install --no-root
- launch backend:
poetry run uvicorn src.app.main:app --port=8080 --reload
- launch front-end:
poetry run streamlit run src/streamlit/ui.py --server.port 8501
- pre-commit:
poetry run pre-commit run --all-files
- unit tests:
poetry run pytest
- docker backend:
docker build -t backend-image -f Dockerfile.backend .
docker run --name backend-container -p 8080:8080 --rm backend-image
- docker frontend:
docker build -t frontend-image -f Dockerfile.frontend .
docker run --name frontend-container -p 8501:8501 --rm frontend-image
- docker compose:
docker compose build
docker compose up
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
happymeter-1.0.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file happymeter-1.0.1.tar.gz
.
File metadata
- Download URL: happymeter-1.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4429f18a956de9e58e2839b10444d0fa1aac228077d0550591b7659fff8ea568 |
|
MD5 | 0969554fcf995313c26a865cccd78605 |
|
BLAKE2b-256 | 0640678a6234c7853057113a6cdb63afa5cc5f82c9e6e6ff15485c8e14ab1b52 |
File details
Details for the file happymeter-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: happymeter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4931e54164680c0d229e38c507995749f3b37e20b8f132ce427be76d50b22c6 |
|
MD5 | 169d76593a492f936a5dd8c63218e90f |
|
BLAKE2b-256 | d33699b3e80d8522444b42bbaa288e5e7a32735ad4c482e8198bac3ab4c85565 |