$ rpm -qi python3-dballe | grep -i version
Version : 9.0
$ dbadb import --dsn=sqlite:tmp.db --wipe-first=input.bufr
$ python3 <<EOF
> import dballe
>
> db = dballe.DB.connect("sqlite:tmp.db")
> with db.transaction() as tr:
> q = [s.query for s in tr.query_stations()][0]
> print(q)
> for d in tr.query_station_data(q):
> pass
> for d in tr.query_data(q):
> pass
EOF
{'report': 'rmap', 'lat': Decimal('44.96816'), 'lon': Decimal('9.43506'), 'mobile': False}
<stdin>:7: DeprecationWarning: an integer is required (got type decimal.Decimal). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
<stdin>:9: DeprecationWarning: an integer is required (got type decimal.Decimal). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.