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.
- 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.
Before you begin, ensure you have the following requirements installed on your system:
- Python 3.6 or newer
- Required Python libraries:
pandas
,sqlite3
,dbfread
andtqdm
-
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
-
Install Dependencies 📦
Install the required Python libraries using the following command:
pip install -r requirements.txt
To convert all DBF files in the specified directory, run the following command:
python main.py
This project is licensed under the MIT License - see the LICENSE file in the repository for more details.