Ole Martin Bjørndalen
Ole Martin Bjørndalen
That's something I'd love to add. How about this API? ```python @dataclass class Customer: id: int name: str dbf = dbfread.DBF('customers.dbf', recordfactory=Customer) ``` This might already work. I haven't tested...
... and fourth. I am very sorry that I had to abandon the project for a long time time for reasons I won't go into here (in short, life happened),...
dbfread author here. I guess the main reason dbf2csv is faster is that it's written in C++. A lot of the operations in dbfread are fiddling with little bits of...
We also need documentation and example files for the different file variants of file formats encountered so far. It's getting increasingly difficult to add support for one file variant without...
The rows are read in the order they appear in the file so they will not be sorted in any way.
There's no direct way to do it. dbfread is designed for getting all of the data out of a file for processing somewhere else so there's no way to get...
That's a good point. I will keep this issue open until the docs have been updated.
I've run into this when I've had a file that ended too soon. The parser expects to read a while field but gets too few bytes.
I'm sorry I haven't responded until now. I hope you have found a solution to your problem. If not let me know and I'll try to help you. DBF files...
This could be useful. Are you thinking something like this? ``` >>> import mido >>> mido.Message('clock') mido.Message('clock', time=0) ``` This should be easy to do by rewriting `__repr__()` a bit....