Fool's gold
Go to file
2025-01-14 13:34:29 -05:00
static visualizer controls 2025-01-14 13:34:29 -05:00
templates visualizer controls 2025-01-14 13:34:29 -05:00
.gitignore first commit 2024-10-29 10:53:46 -04:00
buckler_fastapi.py first commit 2024-10-29 10:53:46 -04:00
build_library.py get_rand_track() 2024-12-20 21:49:51 -05:00
config.py.template first commit 2024-10-29 10:53:46 -04:00
database.py get_rand_track() 2024-12-20 21:49:51 -05:00
LICENSE first commit 2024-10-29 10:53:46 -04:00
pyrite.py get_rand_track() 2024-12-20 21:49:51 -05:00
pyrite.sql add build library functions 2024-12-19 15:00:38 -05:00
README.md add build library functions 2024-12-19 15:00:38 -05:00

Pyrite

A naturally occurring iron disulfide mineral. The name comes from the Greek word pyr, “fire,” because pyrite emits sparks when struck by metal. Pyrite is called fool's gold; to the novice its colour is deceptively similar to that of a gold nugget.

Requirements

Python 3.12+ Python packages: fastapi uvicorn[standard] httpx jinja2 asyncpg tinytag

Install

$ psql
postgres=# CREATE DATABASE "pyrite";
postgres=# CREATE USER "pyrite" WITH PASSWORD 'password';
postgres=# GRANT ALL PRIVILEGES ON DATABASE "pyrite" TO "pyrite";
postgres=# \q
  1. Get on the floor
  2. Walk the dinosaur

Usage

uvicorn pyrite:app --host localhost --port 5650