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

[Enhancement Proposal] Create separate IO library #9

Open
glemaitre opened this issue Jul 11, 2018 · 0 comments
Open

[Enhancement Proposal] Create separate IO library #9

glemaitre opened this issue Jul 11, 2018 · 0 comments

Comments

@glemaitre
Copy link
Contributor

glemaitre commented Jul 11, 2018

This is a ticket to design the package which should take care about the IO of cycling/sports file.

Currently:

  • sweatpy allows to read data from GoldenCheetah and Strava;
  • scikit-cycling allows to read fit file.

IMHO, I think that we should make an imageio like package.

Basically the feature would be:

  • Each file format is supported by implementing a plugin.
  • Each file format can actually be calling external library which are optional dependency.

We need to agree on the way to read and output data.

  • I would think that a single function read_activity() should be the entry point. We might want to have a read_activities() which can call read_activity() and might make some smart filtering.

  • The output need to be a pandas dataframe. I think that the current scikit-cycling API and output is good there: https://scikit-sports.readthedocs.io/en/latest/reader.html

@glemaitre glemaitre changed the title Create separate IO library [Enhancement Proposal] Create separate IO library Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant