Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
.. Copyright 2019 Glen Fletcher This documentation is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License; you may not use this documentation except in compliance with this License. You may obtain a copy of this License at: https://creativecommons.org/licenses/by-sa/4.0 Any code samples are licensed under the Apache License, Version 2.0 You may obtain a copy of this License at: http://www.apache.org/licenses/LICENSE-2.0
Complex number to perceptually uniform RGB subset mapping library.
This library operates on buffer object using numpy, and is designed to convert a 2d array of complex number in to an 2d array to 3-tuples of RGB values suitable for passing to matplotlib's imshow function
ZtoRGBpy can be install from PyPI_, using the command:
.. code-block:: shell
$ pip install ZtoRGBpy
numpy_: 1.x >= 1.6
Plotting Functions:
ZtoRGBpy user a version numbering system based on PEP440_, with versions numbers {major:d}.{minor:d}[.{patch:d}][.dev{year:0<4d}{month:0<2d}{day:0<2d}]
providing a minimum of major and minor version, with optional patch number for bug fixes, and development tag for pre-release builds.
Major Version +++++++++++++ New Major Version Release, may change the public API in non backwards compatible ways, that may break existing code.
Minor Version +++++++++++++ Minor Version, releases may add new features to the public API, but will remain fully backwards compatible with the document API for the Major Version Series.
Patch Version +++++++++++++ Patch are solely for fixing bugs in the code or API, these will only change the public API when it is found to perform in a manor contrary to the documented API
Development Version +++++++++++++++++++ This is a Development release, has not be tested, it may be unstable or have breaks in the API, such a release should NOT be relied upon.
.. _PyPI: https://pypi.org/project/ZtoRGBpy/ .. _PEP440: https://www.python.org/dev/peps/pep-0440/ .. _numpy: https://pypi.org/project/numpy/ .. _matplotlib: https://pypi.org/project/matplotlib/2.2.4/
FAQs
Complex number to perceptually uniform RGB subset mapping library
We found that ZtoRGBpy 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.