Skip to content

Easily convert DBF files to SQLite databases with a Python tool.

License

Notifications You must be signed in to change notification settings

AlefRP/dbf_to_sqlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBF to SQLite Conversion Tool

This Python-based tool automates the process of converting data from DBF (DataBase File) formats to a SQLite database. It's designed to help users easily transfer and query data stored in DBF files by utilizing the efficient and widely-supported SQLite database system.

Features ✨

  • Automated Discovery: Automatically identifies all DBF files within a specified directory.
  • Efficient Conversion: Seamlessly converts data from DBF files into a SQLite database, preserving the integrity and structure of the original data.
  • Error Logging: Captures and logs any errors that occur during the conversion process for troubleshooting and audit purposes.

Prerequisites 🚀

Before you begin, ensure you have the following requirements installed on your system:

  • Python 3.6 or newer
  • Required Python libraries: pandas, sqlite3, dbfread and tqdm

Installation ⚡

  1. Clone the Repository 💾

    Start by cloning this repository to your local machine using the following command:

    git clone https://github.com/AlefRP/dbf_to_sqlite.git
  2. Install Dependencies 📦

    Install the required Python libraries using the following command:

    pip install -r requirements.txt

Usage 💻

To convert all DBF files in the specified directory, run the following command:

python main.py

License

This project is licensed under the MIT License - see the LICENSE file in the repository for more details.

About

Easily convert DBF files to SQLite databases with a Python tool.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages