
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Pyxels is a low-level image data manipulation library for Python. It is designed to be fast and efficient, and to provide a simple interface for working with image data.
Pyxels is a low-level image data manipulation library for Python. It is designed to be fast and efficient, and to provide a simple interface for working with image data.
Pyxels is currently in early development, and may not yet be ready for general use.
To install Pyxels, you can use pip:
pip install pyxels
The pyxels.RGB
class represents a color in the RGB color space. It has three attributes: red
, green
, and blue
, which are all integers between 0 and 255. It supports addition, subtraction, multiplication, and division with other pyxels.RGB
instances, as well as comparison with other pyxels.RGB
instances.
from pyxels import RGB
# Create a new RGB color
color = RGB(255, 0, 0)
# Add two RGB colors
new_color = color + RGB(0, 255, 0)
# Blend two RGB colors
blended_color = color.blend(new_color, 0.42)
# Check if two RGB colors are equal
print(f"The colors are {'equal' if color == new_color else 'not equal'}")
# Convert an RGB color to a hex string
print(color.to_hex())
# Load an RGB color from a hex string
color = RGB.from_hex("#C0FFEE")
# Set the least significant bit of each color channel
other_color = RGB(254, 127, 63)
other_color.set_lsb(RGB(1, 0, 1))
# Get the least significant bit of each color channel
lsb = other_color.get_lsb()
# Bitwise XOR two RGB colors
xor_color = color ^ new_color
Pyxels is released under the MIT license. See LICENSE for more information.
FAQs
Pyxels is a low-level image data manipulation library for Python. It is designed to be fast and efficient, and to provide a simple interface for working with image data.
We found that pyxels 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.