Skip to main content

ProphetDice

ProphetDice is a Python package designed to provide various utilities for Prophet Dice Bot functionality. It includes features such as automated betting, model training, and prediction.

Features

  • Automated betting on PrimeDice
  • Model training and prediction using SGDClassifier
  • Online learning and model retraining
  • Confidence-based bet adjustment
  • Data handling and logging

Installation

You can install ProphetDice with pip:

pip install prophetdicebot

Configuration

[chrome]
user_data_dir = C:/Users/your user here/AppData/Local/Google/Chrome/User Data/
profile_directory = Profile 1

[api]
mistral_api = your mistral api here
google_api = your google api here
prophetdice_api = your prophetdice api here
username = your username here
maximum_bet = 0.1
base_bet = 0.01

Code Overview

ProphetDice is designed to automate betting on the PrimeDice platform. Here are some of the key features and functionalities of the code:

  • Automated Betting: The code automates the betting process on PrimeDice by making predictions and placing bets based on those predictions. It uses a combination of random actions and model-based predictions to decide the bets.
  • Model Training and Prediction: The code includes functionality for training a machine learning model (SGDClassifier) to make predictions about the outcomes of dice rolls. It supports both initial training and online learning, where the model is updated with new data as it becomes available.
  • Confidence-Based Bet Adjustment: The betting strategy is adjusted based on the confidence of the model's predictions. This allows for more informed betting decisions and potentially better outcomes.
  • Data Handling and Logging: The code handles data efficiently, storing results and conditions in a CSV file. It also includes logging to keep track of important events and errors during the betting process.
  • Browser Automation: The code uses the undetected-chromedriver package to automate interactions with the PrimeDice website. It opens a browser, navigates to the betting page, and interacts with elements on the page to place bets.
  • Configuration Management: The code reads configuration settings from a config.ini file, allowing for easy customization of user data directory, profile directory, and API keys.
  • Error Handling: The code includes robust error handling to manage issues such as file not found errors, browser errors, and timeouts when waiting for elements on the page.

Overall, the ProphetDice package provides a comprehensive and automated solution for betting on PrimeDice, leveraging machine learning for predictions and confidence-based adjustments to optimize betting strategies.

Metadata

Release files for prophetdicebot 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prophetdicebot 0.3
File Size Uploaded
prophetdicebot-0.3.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prophetdicebot 0.3
File Interpreter ABI Platform
prophetdicebot-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / prophetdicebot-0.3.tar.gz

Download URL prophetdicebot-0.3.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0a4f0262a993be11daef8b1a4aee87798aa219e893b483701b89915a1a82f3dd
BLAKE2b-256 checksum
How to use checksums
bf23e12ad5b0983e3665b7e8f62dac1a4606d9b728d5f0c98d1c61572ab832da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / prophetdicebot-0.3-py3-none-any.whl

Download URL prophetdicebot-0.3-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58da104d1b4fd00ac5440312db7003d586c01eceaf604c80a28c5af23f04a352
BLAKE2b-256 checksum
How to use checksums
586bb1c42f405615ec382d1371e8111af4c8947f957d80504f7f7efab6ececba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page