https://github.com/edeniyanda/python-text-file-importer
This repository contains a script to extract data from a tab-delimited text file and load it into a SQLite database. The script handles data validation and cleaning, and includes a command line interface for specifying input and output files. Requires Python 3 and the sqlite3 library.
https://github.com/edeniyanda/python-text-file-importer
database python-script sqlite
Last synced: about 2 months ago
JSON representation
This repository contains a script to extract data from a tab-delimited text file and load it into a SQLite database. The script handles data validation and cleaning, and includes a command line interface for specifying input and output files. Requires Python 3 and the sqlite3 library.
- Host: GitHub
- URL: https://github.com/edeniyanda/python-text-file-importer
- Owner: edeniyanda
- Created: 2023-01-02T15:39:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T15:59:10.000Z (over 3 years ago)
- Last Synced: 2025-06-20T17:06:43.859Z (about 1 year ago)
- Topics: database, python-script, sqlite
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Text-File-Importer
This repository contains a script to extract data from a tab-delimited text file and load it into a SQLite database. The script handles data validation and cleaning, and includes a command line interface for specifying input and output files.
# Requirements
1. Python 3
2. sqlite3 library
# Usage
To run the script, use the following command:
python3 Python-Text-File-Importer.py
# Notes
The input file must be a tab-delimited text file with a header row.
The output database file will be created if it does not exist, or overwritten if it does.
Any errors or warnings encountered during the import process will be logged to the console.
# Contributing
I do welcome contributions to this project! If you have an idea for how to improve the code, please open an issue or submit a pull request.
To contribute:
1. Fork the repository
2. Create a new branch for your changes
3. Make your changes and commit them
4. Push the branch to your fork
5. Open a pull request
Before submitting a pull request, please make sure to run the test suite and ensure that all tests are passing.
Thank you for considering contributing to this project!