Skip to content

A Python program that imitates Psyleron Reflector to aid psychic abilities experiments

License

Notifications You must be signed in to change notification settings

AndieNoir/PyPsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPsi

A Python program that imitates Psyleron Reflector to aid psychic abilities experiments.

Screenshot

Running

pip3 install -r requirements.txt
python3 -m pypsi

Note: If you're on Linux, you need to have python3-tk or python3-tkinter installed.

Adding a new random number generator

  1. Create a class that extends Generator and override the get_bytes method

    Example:

    # pypsi/generator/dev_hwrng.py
    
    from pypsi.generator.base import Generator
    
    
    class DevHwrng(Generator, friendly_name="/dev/hwrng", order=99):
    
       def get_bytes(self, length):
           with open('/dev/hwrng', 'rb') as f:
               return f.read(length)
  2. Register the generator class on config.py

    # pypsi/config.py
    
    from pypsi.generator.dev_hwrng import DevHwrng
    
    
    GENERATOR_CLASSES = [
       DevHwrng,
       # ...
    ]

License

Copyright (C) 2020 AndieNoir

PyPsi is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PyPsi is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PyPsi.  If not, see <https://www.gnu.org/licenses/>.

About

A Python program that imitates Psyleron Reflector to aid psychic abilities experiments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages