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.
Fluent conversion between data formats like JSON, XML and CSV
Ever sighed when you wrote code to convert CSV to JSON for the thousandth time?
import csv
import json
data = []
with open("cities.csv") as f:
reader = csv.DictReader(f)
for row in reader:
data.append(row)
with open("cities.json", "w") as f:
json.dump(data, f)
Stop sighing and use dataknead
. Fetch it with pip
:
$ pip install dataknead
And use it like this:
from dataknead import Knead
Knead("cities.csv").write("cities.json")
Or make it even easier on the command line:
knead cities.csv cities.json
dataknead
has inbuilt loaders for CSV, Excel, JSON, TOML and XML and you can easily write your own.
Piqued your interest? Read the docs!.
FAQs
Fluent conversion between data formats like JSON, XML and CSV
We found that dataknead 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.