This repository contains a Python script to track the states of votes cast in polls and spells at SKY.
- The script is not compatible with Python 3.12 due to the deprecation of certain datetime functions used in the code.
- Collects information of delegates from vote.sky.money and Dune.
- Retrieves information of polls corresponding to the entered dates from vote.sky.money.
- Retrieves information of spells corresponding to the entered dates from vote.sky.money.
- Exports a CSV file with the SKY holdings of each delegate per date.
- Exports a CSV file with the total SKY ranking of each delegate per date.
- Exports two CSV files (one of them transposed for usability) with the status of the votes corresponding to each poll and spell.
- Python 3.x (versions prior to 3.12) and dependencies listed in
requirements.txt.
Follow these steps to set up the project:
- Clone the repository:
git clone
- Navigate to the cloned directory:
cd AD-voting-metrics - Install the required dependencies:
pip install -r requirements.txt
- Install the required dependencies from
requirements.txt. - Run
main.pyand follow the on-screen prompts.
- General code clean up.
- Add more information about the polls and spells to the CSV file.