Polyglot Code!
Clone me!
Clone or download the project:
git clone https://github.com/cosasdepuma/polyglot-code.git Polyglot
[ or ]
git clone https://gitlab.com/cosasdepuma/polyglot-code.git Polyglot
cd Polyglot
Test it!
Run all the unitary tests through NodeJS:
cd javascript
npm i
npm test
Run all the unitary tests using Python:
cd python
python2 test/test.py
python3 test/test.py
Requirements
Polyglot does not require anything!
Usage
Import Polyglot into your NodeJS file:
require('polyglot-code')
Import Polyglot into your Python file:
import polyglot
Available Languages!
JavaScript
// No new-line logs
printf('C')
IO.write('Elixir')
fmt.Printf('Go')
putStr('Haskell')
io.write('Lua')
fprintf('Matlab')
Write('Pascal')
write('Pike')
// New-line logs
trace('ActionScript')
WriteF('AmigaE')
Response.Write('ASP')
putschar('B')
puts('C')
Console.println('C#')
Console.WriteLine('C#')
writeln('D')
std.stdio.writeln('D')
print('Dart')
Writeln('Delphi')
IO.puts('Elixir')
fmt.Println('Go')
putStrLn('Haskell')
System.out.println('Java')
console.log('JavaScript')
println('Kotlin')
disp('Matlab')
echo('Nim')
NSLog('Objetive-C')
writeln('Pascal')
writeln('Pike')
println('Processing')
PrintN('PureBasic')
print('Python')
p('Ruby')
Python
# No new-line logs
printf("C")
cout << "C++"
IO.write("Elixir")
fmt.Print("Go")
fmt.Printf("Go")
putStr("Haskell")
System.out.printf("Java")
io.write("Lua")
fprintf("Matlab")
write("Pike")
System.Console.Write("VB.NET")
# New-line logs
print("Python")
trace("ActionScript")
Ada.Text_IO.Put_Line("Ada")
WriteF("AmigaE")
Response.Write("ASP")
putchar("B")
puts("C")
Console.println("C#")
Console.WriteLine("C#")
cout << "C++" << endl
Qout("Clipper")
writeln("D")
std.stdio.writeln("D")
Writeln("Delphi")
IO.puts("Elixir")
fmt.Println("Go")
putStrLn("Haskell")
System.out.println("Java")
console.log("JavaScript")
println("Kotlin")
Print["Mathematica"]
disp("Matlab")
echo("Nim")
NSLog("Objetive-C")
writeln("Pascal")
writeln("Pike")
PrintN("PureBasic")
p("Ruby")
Debug.Log("Unity3D")
System.Console.WriteLine("VB.NET")
Support the developer!
Everything I do and publish can be used for free whenever I receive my corresponding merit.
Scheme of contents
Polyglot-Code
< Repository >
|__ .gitignore
|__ .repository
|__ odd.jpeg
|__ LICENSE
|__ README.md
< JavaScript >
|__ javascript
|__ package.json
|__ lib
|__ polyglot.js
|__ test
|__ test.js
< Python >
|__ python
|__ lib
|__ __init__.py
|__ polyglot.py
|__ test
|__ test.py
Please contact with Kike Puma if you need more information.
Metadata
Release files for polyglot-code 1.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polyglot-code-1.0.10.tar.gz | 3.7 kB | Without provenance | Details for polyglot-code-1.0.10.tar.gz |
Release files / polyglot-code-1.0.10.tar.gz
| Download URL | polyglot-code-1.0.10.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1981d74fcda72e2178116762a006ecef56e99d1ff64b2ba695672a3fb1ebc717
|
|
BLAKE2b-256 checksum How to use checksums |
4961236fb9f2433f814624c540815bd594700a0756f202f0f73e61b7188846a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for polyglot-code 1.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.