Skip to main content

ProphetDice Functions

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prophetdicebot-0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prophetdicebot-0.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file prophetdicebot-0.3.tar.gz.

File metadata

  • Download URL: prophetdicebot-0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for prophetdicebot-0.3.tar.gz
Algorithm Hash digest
SHA256 0a4f0262a993be11daef8b1a4aee87798aa219e893b483701b89915a1a82f3dd
MD5 4247353d9c5a28fe47b8f85c9c733cf4
BLAKE2b-256 bf23e12ad5b0983e3665b7e8f62dac1a4606d9b728d5f0c98d1c61572ab832da

See more details on using hashes here.

File details

Details for the file prophetdicebot-0.3-py3-none-any.whl.

File metadata

  • Download URL: prophetdicebot-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for prophetdicebot-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58da104d1b4fd00ac5440312db7003d586c01eceaf604c80a28c5af23f04a352
MD5 045e2d6f0b733e6d9769e0e1b4d21f6a
BLAKE2b-256 586bb1c42f405615ec382d1371e8111af4c8947f957d80504f7f7efab6ececba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page