https://github.com/cured-plus/csvw-duckdb

Convert a CSVW document (CSV metadata) to a DuckDB query to load a CSV file into a database.

https://github.com/cured-plus/csvw-duckdb

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary

Keywords

csv csvw data-engineering duckdb metadata
Last synced: 5 months ago · JSON representation

Repository

Convert a CSVW document (CSV metadata) to a DuckDB query to load a CSV file into a database.

Basic Info
  • Host: GitHub
  • Owner: CUREd-Plus
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 17.6 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
csv csvw data-engineering duckdb metadata
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License

README.md

Test Python code

CSVW DuckDB tool

Convert a CSVW document (CSV metadata) to a DuckDB query to load a CSV file into a database.

See also: Python csvw package.

Installation

bash pip install csvw-duckdb

Usage

To use this tool, call it from the command line and provide the path of the CSVW document. The SQL code will be written to the screen.

bash csvw-duckdb --help ``` usage: csvw-duckdb [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [--version] csvw_path

Load a CSVW document and generate simple SQL SELECT statements. One SQL file will be generated per table in the CSVW table group.

positional arguments: csvw_path CSVW file

options: -h, --help show this help message and exit --loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}, -l {DEBUG,INFO,WARNING,ERROR,CRITICAL} --version show program's version number and exi ```

Examples

bash csvw-duckdb my_metadata.csvw

Owner

  • Name: CUREd-Plus
  • Login: CUREd-Plus
  • Kind: organization

GitHub Events

Total
  • Release event: 2
  • Push event: 11
  • Create event: 4
Last Year
  • Release event: 2
  • Push event: 11
  • Create event: 4

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 16 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: csvw-duckdb

Convert CSVW metadata to DuckDB SQL syntax.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 16 Last month
Rankings
Dependent packages count: 9.9%
Average: 32.7%
Dependent repos count: 55.6%
Maintainers (1)
Last synced: 7 months ago

Dependencies

pyproject.toml pypi