https://github.com/alefrp/dbf_to_sqlite
Easily convert DBF files to SQLite databases with a Python tool.
https://github.com/alefrp/dbf_to_sqlite
converter dbf pyhton sqlite
Last synced: about 1 month ago
JSON representation
Easily convert DBF files to SQLite databases with a Python tool.
- Host: GitHub
- URL: https://github.com/alefrp/dbf_to_sqlite
- Owner: AlefRP
- License: mit
- Created: 2024-03-28T17:04:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T18:58:37.000Z (about 2 years ago)
- Last Synced: 2025-03-03T11:18:35.925Z (over 1 year ago)
- Topics: converter, dbf, pyhton, sqlite
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 :sparkles:
- **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 :rocket:
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 :zap:
1. **Clone the Repository** :floppy_disk:
Start by cloning this repository to your local machine using the following command:
```bash
git clone https://github.com/AlefRP/dbf_to_sqlite.git
```
2. **Install Dependencies** :package:
Install the required Python libraries using the following command:
```bash
pip install -r requirements.txt
```
## Usage :computer:
To convert all DBF files in the specified directory, run the following command:
```bash
python main.py
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file in the repository for more details.