Skip to main content

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!

Release files for trollpy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for trollpy 0.1.0
File Interpreter ABI Platform
trollpy-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / trollpy-0.1.0-py3-none-any.whl

Download URL trollpy-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad979ccd15bb9bec5b98e761490d762baf43d1c5b016237cf31fdea21bfd7750
BLAKE2b-256 checksum
How to use checksums
74350ad534b767df5a5c280a8ed830a4d222bcbba4f558ef9820f3b578840be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0b2 CPython/3.10.5 Darwin/21.5.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page