Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonw/dbf-to-sqlite
CLI tool for converting DBF files (dBase, FoxPro etc) to SQLite
https://github.com/simonw/dbf-to-sqlite
datasette-io datasette-tool dbase dbf foxpro sqlite
Last synced: 2 months ago
JSON representation
CLI tool for converting DBF files (dBase, FoxPro etc) to SQLite
- Host: GitHub
- URL: https://github.com/simonw/dbf-to-sqlite
- Owner: simonw
- License: apache-2.0
- Created: 2019-01-31T06:30:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T19:34:07.000Z (over 2 years ago)
- Last Synced: 2024-10-06T20:50:30.399Z (3 months ago)
- Topics: datasette-io, datasette-tool, dbase, dbf, foxpro, sqlite
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 49
- Watchers: 4
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dbf-to-sqlite
[![PyPI](https://img.shields.io/pypi/v/dbf-to-sqlite.svg)](https://pypi.python.org/pypi/dbf-to-sqlite)
[![Travis CI](https://travis-ci.com/simonw/dbf-to-sqlite.svg?branch=master)](https://travis-ci.com/simonw/dbf-to-sqlite)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/dbf-to-sqlite/blob/master/LICENSE)CLI tool for converting DBF files (dBase, FoxPro etc) to SQLite.
## Installation
pip install dbf-to-sqlite
## Usage
$ dbf-to-sqlite --help
Usage: dbf-to-sqlite [OPTIONS] DBF_PATHS... SQLITE_DBConvert DBF files (dBase, FoxPro etc) to SQLite
https://github.com/simonw/dbf-to-sqlite
Options:
--version Show the version and exit.
--table TEXT Table name to use (only valid for single files)
-v, --verbose Show what's going on
--help Show this message and exit.Example usage:
$ dbf-to-sqlite *.DBF database.db
This will create a new SQLite database called `database.db` containing one table for each of the `DBF` files in the current directory.
Looking for DBF files to try this out on? Try downloading the [Himalayan Database](http://himalayandatabase.com/) of all expeditions that have climbed in the Nepal Himalaya.