todo: add description
Project description
csverve
Csverve, pronounced like “swerve” with a “v”, is a package for manipulating tabular data.
Free software: MIT license
Documentation: https://csverve.readthedocs.io.
Features
Take in a regular gzipped CSV file and convert it to csverve format
Merge gzipped CSZ files
Concatenate gzipped CSV files (handles large datasets)
Rewrite a gzipped CSV file (delete headers etc.)
Annotate - add a column based on provided dictionary
Write pandas DataFrame to csverve CSV
Read a csverve CSV
Requirements
Every gzipped CSV file must be accompanied by a meta YAML file. The meta yaml file must have the exact name as the gzipped CSV file, with the addition of a .yaml ending.
csv.gz.yaml must contain:
column names
dtypes for each column
separator
header (bool) to specify if file has header or not
Example:
columns:
- dtype: int
name: prediction_id
- dtype: str
name: chromosome_1
- dtype: str
name: strand_1
header: true
sep: "\t"
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-12-16)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file csverve-0.3.8.tar.gz
.
File metadata
- Download URL: csverve-0.3.8.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.10.0 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/1.0.0 tqdm/4.66.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e61b05e2de36e5b49d47e99ec16f75d322a7f08070363f22920c73ced9cea92 |
|
MD5 | c7fd14a45b6bf67c3a032d1f36c2522f |
|
BLAKE2b-256 | 3e80a5f6c90d1fb1188accd379a0b30915cb6cdc89e13f3f3a356dfeaa98b430 |
File details
Details for the file csverve-0.3.8-py2.py3-none-any.whl
.
File metadata
- Download URL: csverve-0.3.8-py2.py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.10.0 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/1.0.0 tqdm/4.66.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a7c661f01c5bb3f85d60d1dc0a7c3419edbdeefe755cdd40d2ede000cca9624 |
|
MD5 | 0449d57d5f55437e8254301cdeea6815 |
|
BLAKE2b-256 | 9ea802312284160aa1722ac0bae8b86038079d6752915f3bd6b5165c63ac4c85 |