Name | cgtroll JSON |
Version |
1.0.1
JSON |
| download |
home_page | |
Summary | Convert your python code to any language supported by codingame to troll the language ranking. |
upload_time | 2023-09-21 17:30:04 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
codingame
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[](https://github.com/FrequentlyMissedDeadlines/cgtroll/actions/workflows/package.yml)
[](https://github.com/FrequentlyMissedDeadlines/cgtroll/actions/workflows/publish.yml)
[](https://pypi.org/project/cgtroll)
[](https://pypi.org/project/cgtroll)
[](https://opensource.org/licenses/MIT)

# 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
Raw data
{
"_id": null,
"home_page": "",
"name": "cgtroll",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "CodinGame",
"author": "",
"author_email": "FrequentlyMissedDeadlines <FrequentlyMissedDeadlines+cgtroll@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/91/08/25f06314303c2d2c905d587e7b634cc90f9164d8b1cd27563184c1f8cb7a/cgtroll-1.0.1.tar.gz",
"platform": null,
"description": "[](https://github.com/FrequentlyMissedDeadlines/cgtroll/actions/workflows/package.yml)\n[](https://github.com/FrequentlyMissedDeadlines/cgtroll/actions/workflows/publish.yml)\n[](https://pypi.org/project/cgtroll)\n[](https://pypi.org/project/cgtroll)\n[](https://opensource.org/licenses/MIT)\n\n# codingame-troll\nA tool to disguise your code in an other language. Funny to troll the language ranking.\n\n| Language | Support |\n|---|---|\n| Bash | \u2705 |\n| C | \u274c |\n| C++ | \u274c |\n| C# | \u274c |\n| Clojure | \u274c |\n| D | \u274c |\n| Dart | \u274c |\n| F# | \u274c |\n| Go | \u274c |\n| Groovy | \u274c |\n| Haskell | \u274c |\n| Java | \u274c |\n| Javascript | \u274c |\n| Kotlin | \u274c |\n| Lua | \u274c |\n| Objective-C | \u274c |\n| OCaml | \u274c |\n| Pascal | \u274c |\n| Perl | \u274c |\n| PHP | \u274c |\n| Python3 | \u2705 |\n| Ruby | \u274c |\n| Rust | \u274c |\n| Scala | \u274c |\n| Swift | \u274c |\n| TypeScript | \u274c |\n| VB.NET | \u274c |\n\n## Installation\n```\npip install cgtroll\n```\nor to update to the latest version:\n```\npip install cgtroll -U\n```\n\n## Usage\n\n```\npython -m cgtroll language file\n```\n\nor for a most advanced usage use `-h` option to get the description of all parameters:\n\n```\npython -m cgtroll -h\nusage: cgtroll [-h] {bash} file\n\nConvert your python code to any language supported by codingame to troll the language ranking.\n\npositional arguments:\n {bash} The language you want to make your code look like.\n file The file containing your python code.\n\noptions:\n -h, --help show this help message and exit\n```\n\n## Known limitations\nYour python code must:\n- NOT contain double quotes (`\"`), replace them with single quotes (`'`)\n- NOT contain comments (`#`), remove them\n",
"bugtrack_url": null,
"license": "",
"summary": "Convert your python code to any language supported by codingame to troll the language ranking.",
"version": "1.0.1",
"project_urls": {
"Bug Reports": "https://github.com/FrequentlyMissedDeadlines/cgtroll/issues",
"Homepage": "https://github.com/FrequentlyMissedDeadlines/cgtroll",
"Source": "https://github.com/FrequentlyMissedDeadlines/cgtroll"
},
"split_keywords": [
"codingame"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "574f1a979f56e98f2ed4cea5b20be1e1cea6eb62a34097a0ad3cd84d6859a6ce",
"md5": "31897ec29361568f23894cd6419cfd39",
"sha256": "56e475ed5698abe59a4dd4dc66512c8d1f58ac017661cab84122348e64f3a9e1"
},
"downloads": -1,
"filename": "cgtroll-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "31897ec29361568f23894cd6419cfd39",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3656,
"upload_time": "2023-09-21T17:30:03",
"upload_time_iso_8601": "2023-09-21T17:30:03.438660Z",
"url": "https://files.pythonhosted.org/packages/57/4f/1a979f56e98f2ed4cea5b20be1e1cea6eb62a34097a0ad3cd84d6859a6ce/cgtroll-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "910825f06314303c2d2c905d587e7b634cc90f9164d8b1cd27563184c1f8cb7a",
"md5": "531dcb9acc2e9b65c3a1cece536d7473",
"sha256": "0008276533b8671d5dd9cdbaa06a487c5451872cb0b56ac20eb3efa2cdac93e5"
},
"downloads": -1,
"filename": "cgtroll-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "531dcb9acc2e9b65c3a1cece536d7473",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3405,
"upload_time": "2023-09-21T17:30:04",
"upload_time_iso_8601": "2023-09-21T17:30:04.959590Z",
"url": "https://files.pythonhosted.org/packages/91/08/25f06314303c2d2c905d587e7b634cc90f9164d8b1cd27563184c1f8cb7a/cgtroll-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-21 17:30:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "FrequentlyMissedDeadlines",
"github_project": "cgtroll",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "cgtroll"
}