开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

log tools #sBitx


 

I previously posted about a sqlite browser that can read, display and edit the sbitx log.
/g/BITX20/message/102349





I just uploaded a simple Python 3 program to?to read the sBITX sqlite3 log and write it out to a file in ADIF format.


Copy the program to the directory with sbitx log and launch it there.

example pi@sbitx:~/sbitx/data python3 log3a.py

It will write to the terminal and to the file output.adif.

Tested by importing the output file into DXkeeper.

Let me know how it works for you.

--
73
??? Bob? KD8CGH


 

After installing sqlitebrowser, I copied log3a.py to sbitx/data folder.
Entering the data folder, running 'python3 log3a.py' will create an adif file from the sbitx.db database.

Thanks for sharing.
--
Gyula HA3HZ


 

Glad it worked for you.
--
73
??? Bob? KD8CGH


 

Can we roll this into the sbitx github repo under GPL 3.0? If you can you write a small note on how to use it, it would be most helpful.
- f

On Wed, Jun 28, 2023, 6:01 AM Bob Benedict, KD8CGH <rkayakr@...> wrote:
Glad it worked for you.
--
73
??? Bob? KD8CGH


 

Will do
--
73
??? Bob? KD8CGH


 

I updated the program and put a release in my github


I couldn't upload to the sbitx repo so I forked it, created a directory called log_tools and put the files in there


updated description
Log2ADIF.py is a simple python program that reads the sbitx log database and creates a log file in ADIF format.
It expects to find the sbitx.db file in /home/pi/sbitx/data and leaves the logADIF.adif in that directory.
Place log2ADIF.py in /home/pi/sbitx and make sure it is executable. If it is not, from a terminal in /home/pi/sbitx type
chmod +x Log2ADIF.py
?
To execute from a terminal in /home/pi/sbitx type
./Log2ADIF.py
?
If /home/pi/sbitx has been added to PATH you can execute by typing Log2ADIF.py from any terminal.
?
? Bob Benedict, KD8CGH, June 2023
--
73
??? Bob? KD8CGH