NDJSON sample file
ndjson_sample_file_2MB.ndjson
2.0 MB
application/octet-stream
SHA256 verified
File details
Filename
ndjson_sample_file_2MB.ndjsonSize2.0 MB (2097172 bytes)
MIME type
application/octet-streamExtension
.ndjsonSHA256
a9408f51eb494032065e2e962379f0fb3eabcd2479fcafdfbca9eaafc22506c1Download commands
Use in scripts and tests
curl -L -o ndjson_sample_file_2MB.ndjson \
https://samplefile.com/samples/download/data/ndjson/ndjson_sample_file_2MB.ndjson/
wget -O ndjson_sample_file_2MB.ndjson \
https://samplefile.com/samples/download/data/ndjson/ndjson_sample_file_2MB.ndjson/
import requests
url = "https://samplefile.com/samples/download/data/ndjson/ndjson_sample_file_2MB.ndjson/"
resp = requests.get(url)
with open("ndjson_sample_file_2MB.ndjson", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/data/ndjson/ndjson_sample_file_2MB.ndjson/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("ndjson_sample_file_2MB.ndjson", buf);
# Download and verify SHA256
curl -L -o ndjson_sample_file_2MB.ndjson https://samplefile.com/samples/download/data/ndjson/ndjson_sample_file_2MB.ndjson/
echo "a9408f51eb494032065e2e962379f0fb3eabcd2479fcafdfbca9eaafc22506c1 ndjson_sample_file_2MB.ndjson" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/data/ndjson/ndjson_sample_file_2MB.ndjson/").content
assert hashlib.sha256(data).hexdigest() == "a9408f51eb494032065e2e962379f0fb3eabcd2479fcafdfbca9eaafc22506c1"
More NDJSON files
Other NDJSON Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
ndjson_api_activity_stream_sample.ndjson |
313 B | 27962b74e241d8a2… |
Download |
ndjson_malformed_event_stream_sample.ndjson |
230 B | b9a4f27ae434a65d… |
Download |
ndjson_sample_file_1MB.ndjson |
1.0 MB | e3d7a3a534037c6b… |
Download |
ndjson_sample_file_200KB.ndjson |
200.0 KB | 39bab07e17291e23… |
Download |
ndjson_sample_file_500KB.ndjson |
500.0 KB | 896c3c8d042a6c58… |
Download |
ndjson_sample_file_50KB.ndjson |
50.0 KB | 03528f9db5187962… |
Download |