
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
dhybridrpy-test
Advanced tools
dhybridrpy
allows you to easily load and plot data from dHybridR
simulations. It provides programmatic access to simulation input and output data and the ability to quickly visualize that data.
dask
.To install dhybridrpy
, clone the repository and pip-install:
git clone https://github.com/bwostler/dhybridrpy.git
pip install ./dhybridrpy
Basic usage of the package:
from dhybridrpy import DHybridrpy
# Enter your input file and output folder paths here
input_file = "examples/data/inputs/input"
output_folder = "examples/data/Output"
dpy = DHybridrpy(input_file=input_file, output_folder=output_folder)
# Print simulation timesteps
print(dpy.timesteps())
# Access an input variable
print(f"Timestep = {dpy.inputs['time']['dt']}")
# Access data at a specific timestep
ts = 1
Bx = dpy.timestep(ts).fields.Bx()
print(Bx.data)
# Plot data
import matplotlib.pyplot as plt
Bx.plot()
plt.show()
Further examples can be found in the examples
folder.
Project licensed under the GNU Affero General Public License v3.0. See the LICENSE file for details.
FAQs
A Python package to easily read input + output data from dHybridR.
We found that dhybridrpy-test 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.