Go to file
Fierelier 4cac3fbcc9 Fix password input with win_unicode_console 2023-05-07 14:07:24 +02:00
user Fix password input with win_unicode_console 2023-05-07 14:07:24 +02:00
.gitignore Login somewhat works, token file doesn't 2023-04-30 22:08:00 -04:00
README.md Update README.md 2023-05-01 13:18:30 -04:00
main.py Rudimentarily refiddled to support modules 2023-05-02 04:16:22 +02:00
run.bat Initial commit, what is going on 2023-04-30 18:13:02 -04:00
setup.bat Use quotes for executable path 2023-05-01 22:42:15 +02:00
test.bat Adapt pycapi namespace for modules 2023-05-02 04:38:30 +02:00

README.md

qcs-python

A very basic python frontend for qcs, written for old machines

What this is for / assumptions

  • This is an extremely basic Python frontend meant to connect to a contentapi instance for chatting only. No other functionality from contentapi is preserved (such as creating rooms, managing permissions, avatars, etc)
  • This is meant to work on python 3.4 in order to satisfy user requirements for "must run on Windows XP"
  • This was developed on Windows 11 targeting a local copy of Python 3.4.4
  • I am unable to use curses as part of the requirements. This influenced the limited design
  • I am not a Python nor a Windows developer. If the bat files or python is garbage, I don't care (sorry!)

How to start

Because of the unique requirements given to me, this isn't setup like a normal python repository.

  • You need to manually download the required pip packages, which are listed in setup.bat
  • This was not setup to run with a virtual environment (but you're free to change that)
  • Run main.py for the whole thing. run.bat is for me, the developer, there's nothing you need from there
  • It will fail the first time you run it, this is because the API endpoint is bogus. After running the first time, it'll generate a config file you can edit, change the API endpoint and then it should work

The list of required pip packages is listed in setup.bat. If you're on windows, feel free to run that yourself, just know that the default is to use a local python 3.4 installation in a specific folder; you'll need to change that. Furthermore, we don't specify versions for most of these, so we assume "any version" will work (even though I'm aware that these APIs change).