Package: wandbox-api
Wandbox API for PythonWandboxis a social compilation service.This project is a Pythonic binding to the Wandbox API, and CLI command.relatedwandbox-builderWandbox StatusWandbox NewsInstallationpip install wandbox-apiCLIwandboxfor LanguagesBashCC#C++CPPCrystalDElixirErlangGoGroovyHaskellJavaJavaScriptJuliaLazy KLispLuaNimOCamlOpenSSLPascalPerlPHPPonyPythonRRubyRustScalaSQLSwiftTypeScriptVim scriptZigwandboxusage:wandbox[-h][-v][-lLANGUAGE][-cCOMPILER][-xOPTIONS][-rRUNTIME_OPTIONS][-n][-s][--encodingENCODING][--no-default][--stdinSTDIN][--retry-waitSECONDS][--retryCOUNT]{list,compilers,versions,lang,option,permlink,run,template,run-template,user,help}...

positionalarguments:{list,compilers,versions,lang,option,permlink,run,help}listshowlistapiresponse.see`list-h`compilersshowsupportcompilers.see`compilers-h`versionsshowsupportcompilers.see`versions-h`langshowsupportlanguages.see`lang-h`optionshowcompileroptions.see`option-h`versionshowcompilerversionfromversion-command.see`version-h`permlinkgetpermlink.see`permlink-h`runbuildandruncommand.see`run+h`templategetwandboxtemplatecode.see`template-h`run-templaterunwandboxtemplatecode.see`run-template+h`usergetwandboxuserinfo.see`user-h`helpshowsubcommandhelp.see`help-h`optionalarguments:-h,--helpshowthishelpmessageandexit-v,--versionshowprogram'sversionnumberandexit-lLANGUAGE,--languageLANGUAGEspecifylanguage-cCOMPILER,--compilerCOMPILERspecifycompiler-xOPTIONS,--optionsOPTIONSusedoptionsforacompiler-rRUNTIME_OPTIONS,--runtime-optionsRUNTIME_OPTIONSruntimeoptions-n,--dryrundryrun-V,--verboseverboselog-s,--savegeneratepermanentlink.--encodingENCODINGsetencoding--no-headignoreheadcompilerversion(atautosetup)--no-defaultnosetdefaultoptions--stdinSTDINsetstdin--retry-waitSECONDSwaittimeforretrywhenHTTPErroroccurs--retryCOUNTnumberofretrieswhenHTTPErroroccursBashSource files required for runtime are automatically added to the file list.wandbox-bashBash Examplewandbox-bash run sample.shBash ExampleCInclude files required for compilation are automatically added to the file list.wandbox-cc(wandbox -l C)wandbox-gcc(wandbox -l C -c gcc-*-c)wandbox-clang(wandbox -l C -c clang-*-c)C Examplewandbox-gcc run sample.c test.cCXX="wandbox-gcc run" makeC ExampleC#wandbox-cs(wandbox -l C#)C# Examplewandbox-cs run sample.cs test.csC# ExampleC++Include files required for compilation are automatically added to the file list.wandbox-cxx(wandbox -l C++)wandbox-g++(wandbox -l C++ -c gcc-*)wandbox-clang++(wandbox -l C++ -c clang-*)usage:wandbox-cxx[-h][-v][-cCOMPILER][-xOPTIONS][-rRUNTIME_OPTIONS][-n][-s][--encodingENCODING][--no-default][--stdinSTDIN][--retry-waitSECONDS][--retryCOUNT][--stdVERSION][--boostVERSION][--no-warning][--optimize][--cpp-pedanticPEDANTIC][--cpp-verbose][--sprout][--msgpack]{list,compilers,versions,lang,option,permlink,run,template,run-template,user,help}...

positionalarguments:{list,compilers,versions,lang,option,permlink,run,help}listshowlistapiresponse.see`list-h`compilersshowsupportcompilers.see`compilers-h`versionsshowsupportcompilers.see`versions-h`langshowsupportlanguages.see`lang-h`optionshowcompileroptions.see`option-h`versionshowcompilerversionfromversion-command.see`version-h`permlinkgetpermlink.see`permlink-h`runbuildandruncommand.see`run+h`templategetwandboxtemplatecode.see`template-h`run-templaterunwandboxtemplatecode.see`run-template+h`usergetwandboxuserinfo.see`user-h`helpshowsubcommandhelp.see`help-h`optionalarguments:-h,--helpshowthishelpmessageandexit-v,--versionshowprogram'sversionnumberandexit-cCOMPILER,--compilerCOMPILERspecifycompiler-xOPTIONS,--optionsOPTIONSusedoptionsforacompiler-rRUNTIME_OPTIONS,--runtime-optionsRUNTIME_OPTIONSruntimeoptions-n,--dryrundryrun-V,--verboseverboselog-s,--savegeneratepermanentlink.--encodingENCODINGsetencoding--no-headignoreheadcompilerversion(atautosetup)--no-defaultnosetdefaultoptions--stdinSTDINsetstdin--retry-waitSECONDSwaittimeforretrywhenHTTPErroroccurs--retryCOUNTnumberofretrieswhenHTTPErroroccurs--stdVERSIONset--stdoptions--boostVERSIONsetboostoptionsversionX.XXornothing--no-warningdisablewarningoption--optimizeuseoptimization--cpp-pedanticPEDANTICusecpp-pedantic--cpp-verboseusecpp-verbose--sproutusesprout--msgpackusemsgpackC++ Examplewandbox-cxx -c gcc-head run main.cpp -DWANDBOXCXX="wandbox-g++ run" makeC++ ExampleCPPInclude files required for compilation are automatically added to the file list.wandbox-CPP(wandbox -l CPP)wandbox-gcc-PP(wandbox -l CPP -c gcc-*-pp)wandbox-clang-PP(wandbox -l CPP -c clang-*-pp)CPP Examplewandbox-clang-PP run -CC -nostdinc -E -P sample.cpp test.cppCPP ExampleCrystalImport modules required for compilation are automatically added to the file list.wandbox-crystal(wandbox -l Crystal)Crystal Examplewandbox-crystal run sample.crCrystal ExampleDwandbox-dmd(wandbox -l D -c dmd-*)wandbox-ldmd2(wandbox -l D -c ldc-*)wandbox-dubD Examplewandbox-dmd run sample.d test2.d packages/test.dwandbox-dub runD ExampleDub ExampleElixirwandbox-elixir(wandbox -l Elixir)wandbox-mix (Experimental)Elixir Examplewandbox-elixir run sample.exswandbox-mix run testElixir ExampleErlangwandbox-erlc(wandbox -l Erlang)Erlang Examplewandbox-erlc run prog.erlErlang ExampleGowandbox-go(wandbox -l Go)Go Examplewandbox-go run sample.goGo ExampleGroovywandbox-groovy(wandbox -l Groovy)Groovy Examplewandbox-groovy run -cp . sample.groovyGroovy ExampleHaskellwandbox-ghc(wandbox -l Haskell)wandbox-stackNote: wandbox-ghc/wandbox-stack add -dynamic compiler option. (output file size workarround.)Haskell Examplewandbox-ghc run sample.hswandbox-stack runHaskell ExampleHaskell Stack ExampleJavawandbox-java(wandbox -l Java)Java Examplewandbox-java run sample.java test.javaJava ExampleJavaScriptImport files/modules required for runtime are automatically added to the file list.wandbox-js(wandbox -l JavaScript)wandbox-node(wandbox -l JavaScript-c nodejs-*)wandbox-spidermonkey(wandbox -l JavaScript -c spidermonkey-*)JavaScript Examplewandbox-node run --experimental-modules sample.jsJavaScript ExampleJuliawandbox-julia(wandbox -l Julia)Julia Examplewandbox-julia run sample.jlJulia ExampleLazy Kwandbox-lazyk(wandbox -l "Lazy K")Lazy K Examplewandbox-lazyk run sample.lazyLazy K ExampleLispwandbox-sbcl(wandbox -l Lisp)wandbox-clisp(wandbox -l Lisp -c clisp-*)Lisp Examplewandbox-sbcl run sample.lispLisp ExampleLuaImport files/modules required for compilation are automatically added to the file list.wandbox-lua(wandbox -l Lua)wandbox-luajit(wandbox -l Lua -c luajit-*)Lua Examplewandbox-lua run sample.luaLua ExampleNimImport modules/.c required for compilation are automatically added to the file list.wandbox-nim(wandbox -l Nim)Nim Examplewandbox-nim run sample.nimNim ExampleOCamlwandbox-ocamlopt(wandbox -l OCaml)wandbox-ocaml(wandbox -l OCaml)OCaml Examplewandbox-ocamlopt run sample.mlOCaml ExampleOpenSSLEven just having wandbox would be enough.wandbox-sslOpenSSL Examplewandbox-ssl genrsa -out test.key 2048wandbox-ssl rsa -in test.key -pubout -out test.key.pubOpenSSL ExamplePascalInclude files required for runtime are automatically added to the file list.wandbox-fpc(wandbox -l Pascal)Pascal Examplewandbox-fpc run sample.pasPascal ExamplePerlRequire files/modules required for runtime are automatically added to the file list.wandbox-perl(wandbox -l Perl)Perl Examplewandbox-perl run sample.plPerl ExamplePHPRequire/Include files required for runtime are automatically added to the file list.wandbox-php(wandbox -l PHP)PHP Examplewandbox-php run sample.phpPHP ExamplePonyBuild directory files are automatically added to the file list.wandbox-ponyc(wandbox -l Pony)Pony Examplewandbox-ponyc run ./sample ./sample2wandbox-ponyc builds ./sample and ./sample2, Then execute ./sample2Pony ExamplePythonImport files/modules required for runtime are automatically added to the file list.wandbox-python(wandbox -l Python)wandbox-python2(wandbox -l Python -c cpython-2.7-*)wandbox-python3(wandbox -l Python -c cpython-*)wandbox-pypy(wandbox -l Python -c pypy-*)wandbox-pypy2(wandbox -l Python -c pypy-2*)wandbox-pypy3(wandbox -l Python -c pypy-3*)Python Examplewandbox-python3 run sample.pywandbox-python supports setup.pywandbox-python -c cpython-head -r test run setup.pyIf you open a file, add the filewandbox-python -c cpython-head -r test run setup.py README.mdPython ExampleRSource files are automatically added to the file list.wandbox-rscript(wandbox -l R)R Examplewandbox-rscript run sample.RR ExampleRubyRequire files required for runtime are automatically added to the file list.wandbox-ruby(wandbox -l Ruby)wandbox-mruby(wandbox -l Ruby -c mruby-*)Ruby Examplewandbox-ruby run sample.rbRuby ExampleRustModule files required for runtime are automatically added to the file list.wandbox-rustc(wandbox -l Rust)wandbox-cargoRust Examplewandbox-rustc run sample.rswandbox-cargo runRust ExampleScalawandbox-scalac(wandbox -l Scala)Scala Examplewandbox-scalac run *.scalaScala ExampleSQLwandbox-sqlite(wandbox -l SQL)wandbox-sqlite3(wandbox -l SQL)SQL Examplewandbox-sqlite3 run SELECT 'Hello, Wandbox!';SQL ExampleSwiftwandbox-swift(wandbox -l Swift)Swift Examplewandbox-swift run main.swiftSwift ExampleTypeScriptImport files/modules required for compilation are automatically added to the file list.wandbox-tsc(wandbox -l TypeScript)TypeScript Examplewandbox-tsc run --module es2015 sample.tsTypeScript ExampleVim scriptwandbox-vim(wandbox -l "Vim script")Vim script Examplewandbox-vim run -X -N -u NONE -i NONE -V1 -e -s -S sample.vim +qall!Vim script ExampleZigImport files required for compilation are automatically added to the file list.wandbox-zig(wandbox -l Zig)Zig Examplewandbox-zig run main.zigZig ExampleCONTRIBUTINGCONTRIBUTING