A Python toolkit for mpox related mental health stigma research using machine learning and natural language processing.
Install uv (modern Python package manager):
pip install uv
Clone the repository:
git clone <repository-url>
cd StigmaSense
Install dependencies:
uv sync
Activate the virtual environment:
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
For development with additional tools:
# Install with development dependencies
uv sync --group dev
This includes linting, formatting, and type checking tools:
Explore the analysis notebooks in the notebooks/ directory:
# Start Jupyter Lab
jupyter lab notebooks/
Available notebooks:
wrangle.ipynb: Data preprocessing and cleaningexplore.ipynb: Initial data explorationStigmaSense/
├── data/ # Data storage and management
│ ├── raw/ # Raw, unprocessed data
│ ├── processed/ # Cleaned and preprocessed data
│ ├── modeling/ # Data prepared for modeling
│ ├── cache/ # Cached intermediate results
│ ├── chromadb/ # Vector database storage
│ └── prompts/ # Prompt templates for LLMs
├── models/ # Pre-trained and fine-tuned models
├── notebooks/ # Jupyter notebooks for analysis
├── scripts/ # Utility and processing scripts
├── src/stigmasense/ # Main Python package
└── pyproject.toml # Project configuration and dependencies
| Command | Description |
|---|---|
uv sync | Install/update all dependencies |
uv sync --group dev | Install with development dependencies |
uv run jupyter lab | Start Jupyter Lab for notebook analysis |
uv run ruff check | Run linter to check code quality |
uv run ruff format | Format code with ruff |
uv run black . | Format code with black |
uv sync --group devuv run ruff check # Check for linting issues
uv run ruff format # Format code
9 commits
Jupyter Notebook
82.8%
Python
13.8%
Shell
3.4%
A Python toolkit for mpox related mental health stigma research using machine learning and natural language processing.
Install uv (modern Python package manager):
pip install uv
Clone the repository:
git clone <repository-url>
cd StigmaSense
Install dependencies:
uv sync
Activate the virtual environment:
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
For development with additional tools:
# Install with development dependencies
uv sync --group dev
This includes linting, formatting, and type checking tools:
Explore the analysis notebooks in the notebooks/ directory:
# Start Jupyter Lab
jupyter lab notebooks/
Available notebooks:
wrangle.ipynb: Data preprocessing and cleaningexplore.ipynb: Initial data explorationStigmaSense/
├── data/ # Data storage and management
│ ├── raw/ # Raw, unprocessed data
│ ├── processed/ # Cleaned and preprocessed data
│ ├── modeling/ # Data prepared for modeling
│ ├── cache/ # Cached intermediate results
│ ├── chromadb/ # Vector database storage
│ └── prompts/ # Prompt templates for LLMs
├── models/ # Pre-trained and fine-tuned models
├── notebooks/ # Jupyter notebooks for analysis
├── scripts/ # Utility and processing scripts
├── src/stigmasense/ # Main Python package
└── pyproject.toml # Project configuration and dependencies
| Command | Description |
|---|---|
uv sync | Install/update all dependencies |
uv sync --group dev | Install with development dependencies |
uv run jupyter lab | Start Jupyter Lab for notebook analysis |
uv run ruff check | Run linter to check code quality |
uv run ruff format | Format code with ruff |
uv run black . | Format code with black |
uv sync --group devuv run ruff check # Check for linting issues
uv run ruff format # Format code
9 commits
Jupyter Notebook
82.8%
Python
13.8%
Shell
3.4%