https://github.com/mictronics/gilda_parser
Parser demo that is reading GILDA export files in XML format into an SQLite database.
https://github.com/mictronics/gilda_parser
python3 sqlite xml-parsing
Last synced: 3 months ago
JSON representation
Parser demo that is reading GILDA export files in XML format into an SQLite database.
- Host: GitHub
- URL: https://github.com/mictronics/gilda_parser
- Owner: Mictronics
- License: gpl-3.0
- Created: 2025-11-12T20:03:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-11-13T21:28:27.000Z (3 months ago)
- Last Synced: 2025-11-13T23:26:00.960Z (3 months ago)
- Topics: python3, sqlite, xml-parsing
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GILDA Parser
Parser demo that is reading the GILDA export file in XML format into an SQLite database.
## Installation
Clone repository: `git clone https://github.com/Mictronics/gilda_parser`.
Create Python environment `python3 -m venv ~/gilda_parser/.venv`.
## Run
Activate Python environment `source ~/gilda_parser/.venv/bin/activate`
Create empty database `~/gilda_parser/gilda_parser.py --create ./output/database_v1004.sqlite`
Convert Gilda files into database `~/gilda_parser/gilda_parser.py ./gilda/1004 ./output/database_v1004.sqlite`
```bash
$ python3 gilda_parser.py -h
positional arguments:
input Input path that contains GILDA export XML files.
output Output SQLite database file, including path.
options:
-h, --help show this help message and exit
--create DATABASE Create a new database, overwriting existing files.
--version show program's version number and exit
License GPL-3+ (C) 2025 Michael Wolf, www.mictronics.de
```