PlaceNL: bot to automatically place pixels on /r/place 2022
Project description
Reddit /r/place 2022 headless bot
This headless Python bot will automatically login to reddit, obtain access tokens (and refreshes them when they expire), obtain orders from the C&C server and automatically place pixels at the desired locations.
Installation and usage
First install the package:
pip install place_cz_bot
... then run it ...
place_cz_bot -u reddit_username reddit_password
or if you have more than one account...
place_cz_bot -u uname_a pw_a -e uname_b pw_b
Dev Installation
- Clone the repo
- If using SSH
git clone git@github.com:PlaceCZ/PythonBot.git - Else:
git clone https://github.com/PlaceCZ/PythonBot.git
- If using SSH
- CD into it
cd Pythonbot - Create Virtual Environment
- Win:
py -m venv venv - *nix:
python -m venv venv
- Win:
- Activate venv
- Win:
venv\Scripts\activate - *nix:
source ./venv/bin/activate
- Win:
python -m pip install -e .place_cz_bot- That's it!
Usage
If venv not running
- Win:
venv\Scripts\activate - *nix:
source ./venv/bin/activate
Start bot
place_cz_bot -u "USERNAME" "PASSWORD"
The bot supports multiple users:
place_cz_bot -u "USERNAME1" "PASSWORD1" -u "USERNAME2" "PASSWORD2"
Requirements
- Python >= 3.8
- NumPy
- Matplotlib
- Rich
- aiohttp
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
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 place_cz_bot-1.0.5.tar.gz.
File metadata
- Download URL: place_cz_bot-1.0.5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb52db378f56357ddca69995aa2b83675006ab4a1a25fa9cd7ffe305e63b64f4
|
|
| MD5 |
cd6c9dc584a19b0fa562a594c625bc17
|
|
| BLAKE2b-256 |
989dadcef79e2ad2026bed21d24d6bb90e7c1efca9a4f7caf77788e200d81395
|
File details
Details for the file place_cz_bot-1.0.5-py3-none-any.whl.
File metadata
- Download URL: place_cz_bot-1.0.5-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e197451353f25ba61af027b879c357f68d7f146ba534807a7232ac174a17e2bd
|
|
| MD5 |
66e8a8955f871f92bfe43a12411f05b2
|
|
| BLAKE2b-256 |
c90ebd7961cdcbf1687b2025d38666d1f82aabf36e5f702b46ee5f61f58046c8
|