
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Library to create identicons similar to Github avatars.
Port of node-retricon https://github.com/sehrgut/node-retricon to python.
from retricon import retricon
img = retricon("Hello World!")
img.save('hello.png', 'PNG')
style Predefined style (Default: None)
tile_size Size of a tile (Default: 1)
tile_color Tiles color (Default: 0)
tile_padding Padding of each tiles (Default: 0)
bg_color Background color (Default: None)
image_padding Padding of the icon (Default: 0)
tiles Number of tiles that make the width of the icon (Default: 5)
min_fill Minimum ratio of tile in the image (Default: 0.3)
max_fill Maximum ratio of tile in the image (Default: 0.9)
vertical_sym Use vertical symmetry (Default: True)
horizontal_sym Use horizontal symmetry (Default: False)
width Width of the output image in pixels (Default: 500)
'github'
'gravatar'
'mono'
'mosaic'
'mini'
'window'
None -> transparent
0 -> the lighter color chosen for you from the hash
1 -> the darker color chosen for you from the hash
An array describing the RGB(A) color (e.g. [125, 75, 250])
An hexadecimal representation of the color (e.g. "0fd5e4")
FAQs
A library to create icons similar to Github avatars
We found that retricon 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
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.