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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file trollpy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: trollpy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.5 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad979ccd15bb9bec5b98e761490d762baf43d1c5b016237cf31fdea21bfd7750 |
|
MD5 | b7124cfb4f4eccc960dc5ec81911a054 |
|
BLAKE2b-256 | 74350ad534b767df5a5c280a8ed830a4d222bcbba4f558ef9820f3b578840be5 |