Skip to main content

An API wrapper of Jdoodle.com

Project description

pydoodle

An API wrapper of online compiler jdoodle.com written in python.

Features

  • Easy to use.
  • Over 50+ languages to compile.
  • Get the credits spent information.

How to install?

Install pydoodle by running

pip install pydoodle

Documentation

Example

  • Look how easy it is to use:

    import pydoodle
    c = pydoodle.Compiler(clientId="client-id", clientSecret="client-secret")
    result = c.execute(script="print('Hello World')", language="python3")
    usage = c.usage()
    print(usage, result.output, sep='\n')
    
  • example.py -> Basic example on how to use!

  • example_stdIn.py -> Example on how to use stdIn (inputs).

  • example_links.py -> Example on how to use links as script.

Misc

  • Star this repo if you're using this wrapper 😄
  • Head over to jdoodle to get clientId and clientSecret.
  • Read the FAQs of the API here.

Facing any Issue?

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

pydoodle-1.1.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

pydoodle-1.1.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pydoodle-1.1.3.tar.gz.

File metadata

  • Download URL: pydoodle-1.1.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for pydoodle-1.1.3.tar.gz
Algorithm Hash digest
SHA256 9cfb68dedfef88d1c6b1dd9f763b2a434822dac335b6256d784a9747715155f4
MD5 2f7d94b561abc18d57ce6d3c12d8e0e6
BLAKE2b-256 95ebb54fde59a188e2c04f63cf723d04cf1f6105e897d3b4ed60e346d2cd7955

See more details on using hashes here.

File details

Details for the file pydoodle-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: pydoodle-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for pydoodle-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c80f7f71206dc31a8843c15c7ede1a56d09e05a34c13ddc9bd482b436e10e0b
MD5 d11151db99b65014f53e4be38725c842
BLAKE2b-256 0fd5a99a56720cbba60a14665b9c4a17a2b338a5b7f6fcfd4b9d9dbe5099e25e

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