
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.