Skip to main content

Code Arena 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.2.tar.gz (2.2 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.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codearena-0.0.2.tar.gz
  • Upload date:
  • Size: 2.2 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.2.tar.gz
Algorithm Hash digest
SHA256 8d6c6909e8d3a43a75f53c73a56178d6d56bbce0f76b9770dd68051db6b366b4
MD5 a5437f1338117b8cc692ce3e2b59d8f0
BLAKE2b-256 7875fb9c03c7e61541e3f7f8bb091de0b85fb3ffd9f49907a82f3e1dfe17544a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codearena-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa20eca7386b575571cbbffcefd3c2a2ff797f86d70564fbcaa24f6a1178ec22
MD5 e7c55cba4627f119066f99a9e462dbf4
BLAKE2b-256 563a9c49adc87ff2eaddf3519e75e96047e2eb2d46518844b323cf6adba055f7

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