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.3.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.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codearena-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 5655b7618e270859068bd7abf2fde2a75a50c6b3492a3b75854350c71873c867
MD5 b774131d6d1c4537e8d50a6aa505f1fc
BLAKE2b-256 510cfcae9d95d002f962fdd1b97636edc03e4283c23c0e97562edc35d6a7abf4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codearena-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba79f507bde8f04cac8b0f0f746142acd158e76a75134abb871d506ea59b35a
MD5 1795e2c71970deb4ad92c231ede1921a
BLAKE2b-256 47a236957eccca7cd3f46f420885af9b53e8920b83e97efb761a77daa77293c7

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