Code Arena Python SDK
import codearena
# Initilize CodeArena Client
client = CodeArena(url_root='https://codellm.club', token='<codellm.club token>')
# Get Problem List
problems = client.get_problems()
# Get Problem Details
problem = client.get_problem(problem_id='<problem_id>')
# Get Submission List
submissions = client.get_submissions()
# Get Submission Details
submission = client.get_submission(<submission_id>)
# Submit Solution
submission_result = client.post_submission(problem_code="<problem_id>", language="<language>", source="<source_code>")
More details can be found Here. Should you have any problem with this library, feel free to email Mingzhe Du.
Release files for codearena 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codearena-0.0.5.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codearena-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / codearena-0.0.5.tar.gz
| Download URL | codearena-0.0.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63c2245335204ce426e9f6af385456b78249ca3345c20fa196d7ad4674bb0c0d
|
|
BLAKE2b-256 checksum How to use checksums |
75b97d1594ba9795d5163bdee626452bf874dc65f1e82db4d50b2ce13c7b9c17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.2
|
Release files / codearena-0.0.5-py3-none-any.whl
| Download URL | codearena-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdb51d2b21fdc31d68506866101f078b9c0bfaf8ec343db3bed2d3231cb6a1c4
|
|
BLAKE2b-256 checksum How to use checksums |
5e2afbda4491d053a6e7628d4a890a1c794073f99801a9ec44dc8fa27304b4a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.2
|