Skip to main content

A Lightweight tool to upload CSV files data into Deta Base.

Project description

data

A Lightweight tool to upload CSV files data into Deta Base.

PyPI version PyPI download day

CLI operations

  • Needed
    • Secret Id of Deta Base
    • Path to the csv file
    • Database name in Deta

Use

$ csvtodeta --id ID_OF_BASE --path path/to/csv.csv --db DETABASE_NAME
Reading data from DETABASE_NAME
Uploaded ..
Uploaded ..
Uploaded ..
..
..
succesfully uploaded n data to DETABASE_NAME Base

Example

  • Data of deta.csv file (sample) :
name,age
fredy,34
god,34345345
mannu,34
$ csvtodeta --id 45345dhsgh3rjdf2ur34hhwf --path src/deta.csv --db detabasename
Reading data from src/deta.csv
Uploaded {'name': 'fredy', 'age': '34'}
Uploaded {'name': 'god', 'age': '34345345'}
Uploaded {'name': 'maanu', 'age': '34'}
succesfully uploaded 3 data to detabasename Base

Result

result


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csvtodeta-1.3.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

csvtodeta-1.3.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page