Skip to main content

NSV Python

Python implementation of the NSV (Newline-Separated Values) format.

Installation

From PyPI

pip install nsv

From Source

git clone https://github.com/nsv-format/nsv-python.git
cd nsv-python
pip install -e .

Usage

Basic Reading and Writing

import nsv

with open('input.nsv', 'r') as f:
    # load/dump are non-resumable
    reader = nsv.load(f)
    for row in reader:
        print(row)

with open('output.nsv', 'w') as f:
    # Reader/Writer are resumable, intended for streaming
    writer = nsv.Writer(f)
    writer.write_row(['row1cell1', 'row1cell2', 'row1cell3'])
    writer.write_row(['row2cell1', 'row2cell2', 'row2cell3'])

Vendor

The core NSV format is frozen by-design.
Unless you rely on ENSV features or are performance-aware, copying the naive implementation directly to your codebase may be the better way to handle NSV files.
Controllable code, controllable interfaces, zero chance of a supply-chain attack.

Metadata

Release files for nsv 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nsv 0.2.4
File Size Uploaded Provenance Actions
nsv-0.2.4.tar.gz 14.9 kB Without provenance Details for nsv-0.2.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for nsv 0.2.4
File Actions
nsv-0.2.4-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for nsv-0.2.4-cp38-abi3-win_amd64.whl
nsv-0.2.4-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details for nsv-0.2.4-cp38-abi3-win32.whl
nsv-0.2.4-cp38-abi3-musllinux_1_2_x86_64.whl CPython 3.8 abi3 Linux musl 1.2+ x86-64 Details for nsv-0.2.4-cp38-abi3-musllinux_1_2_x86_64.whl
nsv-0.2.4-cp38-abi3-musllinux_1_2_aarch64.whl CPython 3.8 abi3 Linux musl 1.2+ ARM64 Details for nsv-0.2.4-cp38-abi3-musllinux_1_2_aarch64.whl
nsv-0.2.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for nsv-0.2.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
nsv-0.2.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details for nsv-0.2.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
nsv-0.2.4-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for nsv-0.2.4-cp38-abi3-macosx_11_0_arm64.whl
nsv-0.2.4-cp38-abi3-macosx_10_13_x86_64.whl CPython 3.8 abi3 macOS 10.13+ x86-64 Details for nsv-0.2.4-cp38-abi3-macosx_10_13_x86_64.whl

Total release size: 2.2 MB

Release files / nsv-0.2.4.tar.gz

Download URL nsv-0.2.4.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fcc133f7d4a1356b0a6c2d19139549d7ddd1ac938fe7131eba4e295bd1c02029
BLAKE2b-256 checksum
How to use checksums
6379fb138facc612e242f0e4ce4ecaf84ba19a82eef306f164a93f5816cb36c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-win_amd64.whl

Download URL nsv-0.2.4-cp38-abi3-win_amd64.whl
Size 148.9 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
eb34be838344a07d4aa8b9044ed3fe7de971422c0dd8b77669bc84310df9beb8
BLAKE2b-256 checksum
How to use checksums
8d9fe8934cfdcaea942e2457ac812f3282f4c4f38c155345e84586ac103c391b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-win32.whl

Download URL nsv-0.2.4-cp38-abi3-win32.whl
Size 139.6 kB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
818d8f8886a4508bcd12eb00da0014d787a63625dee78758a0bba18f84b3180c
BLAKE2b-256 checksum
How to use checksums
fb6afb68331dbaa9d6245e1bcbc0bcae8078699a5eb2d0226baaa08500de9a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-musllinux_1_2_x86_64.whl

Download URL nsv-0.2.4-cp38-abi3-musllinux_1_2_x86_64.whl
Size 366.0 kB
Tags CPython 3.8 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
57724e7d4d4208fcc380757d29d8baff048899bcd51313409b0795fbfe508028
BLAKE2b-256 checksum
How to use checksums
cf03c0d227a57f15f29882e8b2eaca4ecf4f0c9810bd498598a2d50bd7872986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-musllinux_1_2_aarch64.whl

Download URL nsv-0.2.4-cp38-abi3-musllinux_1_2_aarch64.whl
Size 348.5 kB
Tags CPython 3.8 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
317d1e7b3a7155caf2218622080d64ca0b43d0da91007649609ddde6a985a58f
BLAKE2b-256 checksum
How to use checksums
a1493a48d3d4e9dc3974ba412c1d884fa234edd7874ebf54424887cee87697a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL nsv-0.2.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 312.3 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
91f88d94f1e4ce85d697e1c7310ff21f72096108e6ef8fc5bee3248909864b5a
BLAKE2b-256 checksum
How to use checksums
c257bd165971181c58d2be701b3af591a4b0e70105f3e3d00278aa1ca787ee08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL nsv-0.2.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 299.6 kB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
9e764d4c9649cde2356e1fe81c1191f1da6fb90366eab63fa9eb9aeee267ee6f
BLAKE2b-256 checksum
How to use checksums
fbc7efa06f921490a7f387a80c8e62ec7d84caafbf780b58fd2318068d039016
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-macosx_11_0_arm64.whl

Download URL nsv-0.2.4-cp38-abi3-macosx_11_0_arm64.whl
Size 261.7 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
33e7b2fb469725ea37424928e09afd7bcfccb9bda1878845fd204764a5a23cec
BLAKE2b-256 checksum
How to use checksums
37a85d86f34455e6b2e86d81ff89d82895ff5359662f18056e9f23e197799e57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / nsv-0.2.4-cp38-abi3-macosx_10_13_x86_64.whl

Download URL nsv-0.2.4-cp38-abi3-macosx_10_13_x86_64.whl
Size 267.7 kB
Tags CPython 3.8 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
5bb616d7dd653a68d3536d6cb47e46cc5f93959cf90ca6ecdd1aa02f35e7463a
BLAKE2b-256 checksum
How to use checksums
9ffc9b4d8885545a5133652f666d7a46a14ec5937648cd7f10356945e9f2c633
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for nsv 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page