Giter Club home page Giter Club logo

NOTE: THIS PROJECT HAS BEEN DEPRECATED IN FAVOR OF THE PYTHON LIBRARY PYRANDONAUT, AND WILL NO LONGER BE MAINTAINED

OpenRandonaut

Python PRs Welcome

Open-source QRNG coordinate bot

I couldn't find any attempt at an open-source version of the Fatum Project bot, so I decided to try and make one myself.

The script uses quantumrandom to interface with the ANU Quantum Random Number Generator, where it gets a list of truly random numbers, converts them to coordinates and then uses SciPy to compute the gaussian kernel density estimate of those coordinates. As far as I have understood, this should be equivalent of an Attractor point in the Fatum bot/Randonautica. The script can be interacted with through a Telegram-bot (made using python-telegram-bot).

If you're unfamiliar with The Fatum Project and the concepts of Probability Blind-Spots and Quantum Randomness, I recommend reading fatum_theory.txt which shipped with the original Fatum bot. This video gives a lot of great background info too. If you have no idea what any of this is about, watch this video and/or read this article.

Contributions would be greatly appreciated!

To-do:

  • Get coordinate generation working
  • Get Telegram-bot working
  • Make heatmap generation more stable
  • Get people excited about the project!
  • Turn the coordinate logic into a module for use in other projects? πŸ€”

Table of contents

Examples

A few images for your pleasure:

Telegram bot preview: Kernel density estimate visualization:
[1] [2]

Fig. 1: A very shitty GIF demonstrating the functionality of the Telegram bot.
Fig. 2: A visualization of how the Attractor coordinate is calculated. The blue dots are quantum random coordinates. The heat map shows the density of those coordinates. The darker, the denser. The red X marks the point with the highest density. Made using seaborn and this script (BETA!).

Installation

  1. I you don't already have: Install Python. OpenRandonaut needs at least version 3.9 of Python to run.

  2. Install poetry (OpenRandonaut uses it for package management):
    curl -sSL https://install.python-poetry.org/ | python3 -

  3. Clone the repository:
    git clone https://github.com/openrandonaut/openrandonaut-bot.git

  4. Go to the openrandonaut directory and run poetry install. This will install all dependencies.


Getting started

  1. Test out the coordinate generation by editing openrandonaut.py and uncommenting the lines at the bottom of the file. Save it and run python openrandonaut.py

  2. Test out the Telegram bot, by registering a new Telegram bot and putting your token in bot.py where it says

updater = Updater(token="TELEGRAM_TOKEN_HERE", use_context=True)

Then run python bot.py and try sharing your location with your new bot in the Telegram app. (see Fig. 1 in Examples)

OpenRandonaut's Projects

OpenRandonaut doesn’t have any public repositories yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.