
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

deeppyer is an image deepfryer written in Python using Pillow and OpenCV.
NOTE: This requires at least Python v3.6 in order to run.
You can either use deeppyer as a module, or straight from the command line.
$ python deeppyer.py -h
usage: deeppyer.py [-h] [-v] [-o OUTPUT] [-f] FILE
Deepfry an image.
positional arguments:
FILE File to deepfry.
optional arguments:
-h, --help show this help message and exit
-v, --version Display program version.
-o OUTPUT, --output OUTPUT
Filename to output to.
-f, --flares Try and detected faces for adding lens flares.
By default, flares will try to be added to the image, unless you're using the CLI script, in which case it is off by default.
from PIL import Image
import deeppyer, asyncio
async def main():
img = Image.open('./foo.jpg')
img = await deeppyer.deepfry(img)
img.save('./bar.jpg')
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
async deepfry(img: Image, type=DeepfryTypes.RED, *, flares: bool = True)Deepfry a given image.
Arguments
Returns:
PIL.Image - Deepfried image.
¯\_(ツ)_/¯ Why not
If you wish to contribute something to this, go ahead! Just please make sure to format it with flake8 + isort, and that the test(s) pass fine.
Simply run tests/test.py and make sure that all the images output properly.
FAQs
Deepfry images in Python.
We found that deeppyer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.