{"id":22006918,"url":"https://github.com/zahtec/trollpy","last_synced_at":"2025-03-23T06:45:41.868Z","repository":{"id":41325778,"uuid":"508870975","full_name":"zahtec/trollpy","owner":"zahtec","description":"A Python library for overriding functions/classes and trolling others","archived":false,"fork":false,"pushed_at":"2022-06-30T16:46:17.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T08:17:31.160Z","etag":null,"topics":["pypi","python","troll","trolling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zahtec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-29T23:11:34.000Z","updated_at":"2023-11-17T20:39:24.000Z","dependencies_parsed_at":"2022-08-25T15:50:07.534Z","dependency_job_id":null,"html_url":"https://github.com/zahtec/trollpy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahtec%2Ftrollpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahtec%2Ftrollpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahtec%2Ftrollpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahtec%2Ftrollpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zahtec","download_url":"https://codeload.github.com/zahtec/trollpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066521,"owners_count":20555404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pypi","python","troll","trolling"],"created_at":"2024-11-30T01:15:34.232Z","updated_at":"2025-03-23T06:45:41.848Z","avatar_url":"https://github.com/zahtec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Troll Library :trollface:\n\nTrollpy is a library purely for trolling others by overriding some built-in or common functions/classes seen within Python programs.\n\n## 🚀 Installation\n\n### Using pip\n\n```shell\npip install trollpy\n```\n\nOr, if you have multiple versions of python installed:\n\n```shell\npip3 install trollpy\n```\n\n### Using git\n\n```shell\ngit clone https://github.com/zahtec/trollpy.git\n```\n\n## 🛠 Usage\n\nMake sure to import this at the bottom of any import list in order to confirm that it ovverides any other imported functions.\n\n**For Example:**\n\n```py\nimport numpy as np\nfrom cv2 import imshow\nfrom PIL.Image import open\nfrom builtin import open # Overrides Pillow's import\n```\n\nAlso, this library is imported using the word `builtin`, very similar to pythons native module `builtins`, as to not arouse suspicion from whoever your trolling. It would be much to easy if it was called Trollpy\n\n## ⚠️ Disclaimer\n\nPlease use this just as a little bit of trolling, not for malicious intent, thanks!\n\n## 📔 Documentation\n\nRead the [wiki](https://github.com/zahtec/trollpy/wiki)\n\n## 📡 Contribution Guide\n\nContributing to Trollpy is very welcome, but there are a few guidlines that come with it:\n\n-   Contribute with the main provided template on github\n-   Contribute functions and/or classes one at a time (Do not contribute 2 or more functions/classes at once)\n-   Keep it in the same file ([troll.py](https://github.com/zahtec/trollpy/blob/main/builtin/troll.py)). I do not plan on modularizing this library\n-   As long as you follow and fill everything out in the template, you should be fine\n\nThis way contributing can be much faster and more standardized, you can go slightly off the template, but try to keep most of the fields there with your answers. Thank you for contributing!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzahtec%2Ftrollpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzahtec%2Ftrollpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzahtec%2Ftrollpy/lists"}