Hard to understand poorly written code purely written for my own usage. Debating with myself to add commands to make it more of a wrapper.
https://pypi.org/project/codeforcesKindOfWrapper/1.0.0/
pip install codeforcesKindOfWrapper==1.0.0
Current UML diagram.
User Info for benq:
+-------------------------+-----------------------+
| Field | Value |
+=========================+=======================+
| Handle | Benq |
+-------------------------+-----------------------+
| Rank | legendary grandmaster |
+-------------------------+-----------------------+
| Rating | 3593 |
+-------------------------+-----------------------+
| Maxrank | legendary grandmaster |
+-------------------------+-----------------------+
| Maxrating | 3833 |
+-------------------------+-----------------------+
| Lastonlinetimeseconds | 1710683237 |
+-------------------------+-----------------------+
| Registrationtimeseconds | 1435099979 |
+-------------------------+-----------------------+
| Friendofcount | 15176 |
+-------------------------+-----------------------+
Recent Submissions for benq:
+-----------+------+--------------------------------+------------------+-----------------------+-----------+
| Name | Id | Contestid | Problem | Programminglanguage | Verdict |
+===========+======+================================+==================+=======================+===========+
| 251827860 | 1943 | Counting Is Fun (Hard Version) | C++17 (GCC 7-32) | OK | 21 |
+-----------+------+--------------------------------+------------------+-----------------------+-----------+
| 251827638 | 1943 | Counting Is Fun (Hard Version) | C++17 (GCC 7-32) | OK | 21 |
+-----------+------+--------------------------------+------------------+-----------------------+-----------+
| 251812685 | 1943 | Counting Is Fun (Hard Version) | C++17 (GCC 7-32) | OK | 21 |
+-----------+------+--------------------------------+------------------+-----------------------+-----------+
Contest Info for Contest ID 1907:
+---------------------+-------------------------------+
| Field | Value |
+=====================+===============================+
| Name | Codeforces Round 913 (Div. 3) |
+---------------------+-------------------------------+
| Type | ICPC |
+---------------------+-------------------------------+
| Phase | FINISHED |
+---------------------+-------------------------------+
| Frozen | False |
+---------------------+-------------------------------+
| Durationseconds | 8100 |
+---------------------+-------------------------------+
| Starttimeseconds | 1701787500 |
+---------------------+-------------------------------+
| Relativetimeseconds | 8903150 |
+---------------------+-------------------------------+
The application has several JSON files:
submissions/configForSubmissions.json
: Configuration file for submissionsubmissions/configForProblems.json
: Config file to extract purely problem name from submissionsubmissions/configForUser.json
: Configuration file for usersubmissions/contestInfo.json
: Configuration file for contest
These files allow customization of the information retrieved by the tool.
- Download
- Install the necessary dependencies by running
pip install -r requirements.txt
. - Please modify the config files
- Run