codingame-troll
A tool to disguise your code in an other language. Funny to troll the language ranking.
| Language | Support |
|---|---|
| Bash | ✅ |
| C | ❌ |
| C++ | ❌ |
| C# | ❌ |
| Clojure | ❌ |
| D | ❌ |
| Dart | ❌ |
| F# | ❌ |
| Go | ❌ |
| Groovy | ❌ |
| Haskell | ❌ |
| Java | ❌ |
| Javascript | ❌ |
| Kotlin | ❌ |
| Lua | ❌ |
| Objective-C | ❌ |
| OCaml | ❌ |
| Pascal | ❌ |
| Perl | ❌ |
| PHP | ❌ |
| Python3 | ✅ |
| Ruby | ❌ |
| Rust | ❌ |
| Scala | ❌ |
| Swift | ❌ |
| TypeScript | ❌ |
| VB.NET | ❌ |
Installation
pip install cgtroll
or to update to the latest version:
pip install cgtroll -U
Usage
python -m cgtroll language file
or for a most advanced usage use -h option to get the description of all parameters:
python -m cgtroll -h
usage: cgtroll [-h] {bash} file
Convert your python code to any language supported by codingame to troll the language ranking.
positional arguments:
{bash} The language you want to make your code look like.
file The file containing your python code.
options:
-h, --help show this help message and exit
Known limitations
Your python code must:
- NOT contain double quotes (
"), replace them with single quotes (') - NOT contain comments (
#), remove them
Metadata
Release files for cgtroll 1.0.1
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 |
|---|---|---|---|---|
| cgtroll-1.0.1.tar.gz | 3.4 kB | Without provenance | Details for cgtroll-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cgtroll-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for cgtroll-1.0.1-py3-none-any.whl |
Total release size: 7.1 kB
Release files / cgtroll-1.0.1.tar.gz
| Download URL | cgtroll-1.0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0008276533b8671d5dd9cdbaa06a487c5451872cb0b56ac20eb3efa2cdac93e5
|
|
BLAKE2b-256 checksum How to use checksums |
910825f06314303c2d2c905d587e7b634cc90f9164d8b1cd27563184c1f8cb7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / cgtroll-1.0.1-py3-none-any.whl
| Download URL | cgtroll-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56e475ed5698abe59a4dd4dc66512c8d1f58ac017661cab84122348e64f3a9e1
|
|
BLAKE2b-256 checksum How to use checksums |
574f1a979f56e98f2ed4cea5b20be1e1cea6eb62a34097a0ad3cd84d6859a6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for cgtroll 1.0.1
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.