An AI application that determines your Myers-Briggs Type Indicator.
Project description
rmti - An AI application that determines your Myers-Briggs Type Indicator.
Description ############# Right now the app only contains a bot that mines data from Reddit. In the future we are planning on using that data along with some machine learning algorithms to be able to predict people's types.
Setup #######
We are currently working on a setup.py script that will make setting this up really easy. For now just clone the project and follow the steps below.
-
If you do not already have a Reddit application or bot go to
Reddit <reddit.com/prefs/apps>_ and create an app. One you do that you should be able to obtain your ownclient_idandclient_secret. Usehttp://localhost:8080as your redirect uri or your user context such as a web site. -
To protect your credentials create a
praw.inifile inside of your root directory. Then place your credentials inside of this file. This is not the best way to authenticate but it will do for now. We plan on moving toward a token based authentication later on. The password and username are the ones you use to sign into your reddit account. It should look like this -
| [YourBot] | client_id=... | client_secret=... | password=... | username=..
-
Install all modules in requirements.txt using
pip install -r requirements.txt. If you still need to import modules then runpip install <module>and make a note taht we need to add that module to the requirements.txt.requirements.txtwill be replaced when we establish our setup.py. -
Configure and create a Reddit intances with
praw.Reddit('YourBot')inside ofredditbot.py. Just modify this line of code:reddit = praw.Reddit('bot1', config_interpolation="basic"). config_interpolation="basic" is not necessary unless you plan on adding more detail to your bot such as author and version. -
Now you should be able to run the redditbot in multiple ways. Either using it as a module somewhere in the project, running it as a script on the command line or even importing it into a Jupyter Notebook file.
Resources ###############
PRAW Docs <https://praw.readthedocs.io/en/v7.3.0/>_
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rmti-0.1.0.dev0.tar.gz.
File metadata
- Download URL: rmti-0.1.0.dev0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd3f62e7521dcc86a735725e6c7b79b572fb4cf2231afa2ef8d19b33e110cd37
|
|
| MD5 |
9a9c65626922341d55a663e9b31aa83b
|
|
| BLAKE2b-256 |
4f1c6d291cbd72aca2e93635bbf53d935599d58d494331cf1d3755ec671a6cb7
|
File details
Details for the file rmti-0.1.0.dev0-py3-none-any.whl.
File metadata
- Download URL: rmti-0.1.0.dev0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a41c7106257b69b9369aa91deed80ac4889d73929a3a05f998489dac7589af38
|
|
| MD5 |
9430162087a2e37501391e8410a8cf7d
|
|
| BLAKE2b-256 |
50751817382397daf7bd26e675c01646d4b01439605d10f0ed8ebe7c6f634a32
|