Skip to main content

A Python library for overriding functions/classes and trolling others

Project description

Python Troll Library

Trollpy is a library purely for trolling others by overriding some built-in or common functions/classes seen within Python programs.

🚀 Installation

Using pip

pip install trollpy

Or, if you have multiple versions of python installed:

pip3 install trollpy

Using git

git clone https://github.com/zahtec/trollpy.git

🛠 Usage

Make sure to import this at the bottom of any import list in order to confirm that it ovverides any other imported functions.

For Example:

import numpy as np
from cv2 import imshow
from PIL.Image import open
from builtin import open # Overrides Pillow's import

Also, 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

⚠️ Disclaimer

Please use this just as a little bit of trolling, not for malicious intent, thanks!

📔 Documentation

Read the wiki

📡 Contribution Guide

Contributing to Trollpy is very welcome, but there are a few guidlines that come with it:

  • Contribute with the main provided template on github
  • Contribute functions and/or classes one at a time (Do not contribute 2 or more functions/classes at once)
  • Keep it in the same file (troll.py). I do not plan on modularizing this library
  • As long as you follow and fill everything out in the template, you should be fine

This 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

trollpy-0.1.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page