Emojirades
A Slack bot that understands the Emojirades game and handles scorekeeping.
Local Development Setup
This project uses uv for dependency management. Follow these steps to set up your local environment:
1. Install dependencies
Install the project and all development tools into a local virtual environment:
uv sync --extra dev
2. Configure Git Hooks
We use pre-commit to ensure code quality. Initialize the hooks so they run automatically on git commit:
uv run pre-commit install
3. Run Tests
Ensure everything is working correctly:
uv run --extra dev ./scripts/run_tests.sh
Running the Bot Locally
Initialization
# Initialize the database (SQLite)
uv run emojirades init --db-uri "sqlite:///emojirades.db"
Run (Single Workspace)
uv run emojirades single --db-uri "sqlite:///emojirades.db" --auth-uri "auth.json"
Run (Docker)
docker build -t emojirades .
docker run -e DATABASE_URI=sqlite:////data/emojirades.db -v $(pwd)/data:/data emojirades
Dependency Management
This project uses uv for lightning-fast dependency management and deterministic builds.
Adding/Updating Dependencies
# Add a new package
uv add requests
# Add a dev dependency
uv add --dev pytest
# Update a specific package
uv add requests@latest
# Update all packages to latest allowed by constraints
uv lock --upgrade
Syncing Environment
If the uv.lock or pyproject.toml file changes, sync your local environment:
uv sync
Database Migrations
We use Alembic for database migrations.
# Apply migrations
uv run emojirades init
# Generate a new migration (after modifying models)
# This can now be run directly from the root
uv run alembic revision --autogenerate -m "description of changes"
Deployment
The bot is automatically published to GHCR on tagged releases. See src/emojirades/__init__.py for the current version.
Metadata
Release files for emojirades 1.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emojirades-1.15.1.tar.gz | 54.3 kB | Without provenance | Details for emojirades-1.15.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emojirades-1.15.1-py3-none-any.whl | Python 3 | none | any | Details for emojirades-1.15.1-py3-none-any.whl |
Total release size: 126.2 kB
Release files / emojirades-1.15.1.tar.gz
| Download URL | emojirades-1.15.1.tar.gz |
|---|---|
| Size | 54.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27a93d25102a991ec77fa6742583b1f33628886aaae06b52307ece4fc3c054a9
|
|
BLAKE2b-256 checksum How to use checksums |
7738009801344ccd7a8a7c8e70b478a53e6aae1ffaba9753c35a1269149ced72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / emojirades-1.15.1-py3-none-any.whl
| Download URL | emojirades-1.15.1-py3-none-any.whl |
|---|---|
| Size | 71.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9bdef32b954f9cf81d6fde6b76f4154f8ea559853d831493e3a4bc205265934
|
|
BLAKE2b-256 checksum How to use checksums |
54d6de369a86cc7bec96cb4a7528793bc116f009e8fdd169e05fc68924fc9d70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for emojirades 1.15.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.