Commit a1c6c02
committed
Committing Progress on Rewrite Branch (ng)
Committing the work I've been doing over the past little while on a
rewrite for python-fitparse.
Major Changes
-------------
* New, hopefully cleaner public API with a clear division between
accessible and internal parts. (Still unstable and partially
complete.)
* Proper documentation! Going to use Sphinx.
* Unit tests and example programs.
* (WIP) Command line tools (eg a `.FIT` to `.CSV` converter).
* Component fields and compressed timestamp headers now supported
and not just an afterthought. Closes issues dtcooper#6 and dtcooper#7.
* FIT file parsing is generic enough to support all types. Going to
have specific `FitFile` subclasses for more popular file types
like activities.
* (WIP) Converting field types to normalized values (for example,
`bool`, `date_time`, etc) done in a consistent way, that's easy to
customize by subclassing the converter class. I'm going to use
something like the Django form-style `convert_<field name>` idiom
on this class.
* The FIT profile is its own complete python module, rather than
using `profile.def`.
* Bonus! The profile generation script is less ugly (but still an
atrocity) and supports every ANT FIT SDK from version 1.00 up to
5.10.
* A working `setup.py` module. Closes issue dtcooper#2, finally! I'll
upload the package to PyPI when it's done.
* Support for parsing one record at a time. This can be done using
`<FitFile>.parse_one()` for now, but I'm not sure of the exact
implementation yet.1 parent e31de96 commit a1c6c02
13 files changed
Lines changed: 8222 additions & 387 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments