czv-python
Python library for czv. czv is a library of CSV-related operations for data engineering and analysis tasks.
Links
- czv GitHub repository: https://github.com/rzmk/czv
- Rust: crates.io/crates/czv (source code)
- WebAssembly (JavaScript/TypeScript): npmjs.com/package/czv-wasm (source code)
- Python: pypi.org/project/czv (source code)
Installation and example
To install czv, run:
pip install czv
Or use uv pip instead of pip.
Let's say we want to print the total number of rows in a 4x3 CSV file fruits.csv including the header row:
import czv
output = czv.row_count(file_path="fruits.csv", include_header_row=True)
print(output) # 4
Development
You'll need to have maturin and uv installed. Set up a local virtual environment in the czv-python folder by running:
uv venv
Make sure to activate the virtual environment (instructions should be provided in your terminal after running the previous command).
Once you've activated the virtual environment, install dependencies by running:
uv pip install -r requirements.txt
Build package in local environment
maturin develop --uv --release
Run tests
pytest
Publishing
To publish to pypi.org run:
maturin publish
Metadata
Release files for czv 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| czv-0.0.1.tar.gz | 1.2 MB | Without provenance | Details for czv-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| czv-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.34+ x86-64 | Details for czv-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl |
Total release size: 1.5 MB
Release files / czv-0.0.1.tar.gz
| Download URL | czv-0.0.1.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b28c6752d9da9f2e44487f2c58262244a5b01d924f7fff0d35eac210784dc8ba
|
|
BLAKE2b-256 checksum How to use checksums |
88eed7888580e04423848cd242b166dc39160612ec19f589e3287c8b45d0e32c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.6.0
|
Release files / czv-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | czv-0.0.1-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 258.8 kB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
0a58673c5d1c9ae88cba1e3e25cd6a2dec1db1e759ff86ad11ed96a3bdb2fbf4
|
|
BLAKE2b-256 checksum How to use checksums |
5c27a76158e954aa5796610a3b26e9a31b1d307a988b882ee97f8fbfa469be17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.6.0
|
Security for czv 0.0.1
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.