Skip to main content

CodeArena Python SDK

Project description

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.

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

codearena-0.0.5.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codearena-0.0.5-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file codearena-0.0.5.tar.gz.

File metadata

  • Download URL: codearena-0.0.5.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.2

File hashes

Hashes for codearena-0.0.5.tar.gz
Algorithm Hash digest
SHA256 63c2245335204ce426e9f6af385456b78249ca3345c20fa196d7ad4674bb0c0d
MD5 fa3cd5eb44a1d9a53aaa6687586016f3
BLAKE2b-256 75b97d1594ba9795d5163bdee626452bf874dc65f1e82db4d50b2ce13c7b9c17

See more details on using hashes here.

File details

Details for the file codearena-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: codearena-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.2

File hashes

Hashes for codearena-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cdb51d2b21fdc31d68506866101f078b9c0bfaf8ec343db3bed2d3231cb6a1c4
MD5 767b4ffe5c446a14dde0b04a86584068
BLAKE2b-256 5e2afbda4491d053a6e7628d4a890a1c794073f99801a9ec44dc8fa27304b4a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page