Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting data container #107

Open
ptoews opened this issue Apr 26, 2020 · 2 comments · May be fixed by #114
Open

Extracting data container #107

ptoews opened this issue Apr 26, 2020 · 2 comments · May be fixed by #114

Comments

@ptoews
Copy link

ptoews commented Apr 26, 2020

Hi,
I would like to extract the parsed values together with their field names from the NMEASentence object into a general container, for example into a namedtuple or dictionary. As far as I can see, there is no possibility to do this yet. However, the repr() method does pretty much exactly that, but returns a string instead. Would it be possible to separate the field/data collection and string representation, so that there is an additional method like as_dict() or similar?

@ptoews
Copy link
Author

ptoews commented May 20, 2020

Anything new about this? Otherwise I would be happy to help, and open a PR with the suggested approach. Or are there some special things to consider?

@Knio
Copy link
Owner

Knio commented Jun 11, 2020

This is a good idea. I haven't had much time to work on this project in a while, but I'm open to PRs!

@ptoews ptoews linked a pull request Jun 30, 2020 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants