aartgoossens / goldencheetahlib Goto Github PK
View Code? Open in Web Editor NEWPython library that provides local access to activity data in GoldenCheetah.
License: MIT License
Python library that provides local access to activity data in GoldenCheetah.
License: MIT License
requirements.txt
contains a lot of packages that are not really required (e.g. jupyter
) or required by another package (e.g. numpy
that is required by pandas
). This file should only contain the bare minimum of packages that are required to use goldencheetahlib
.
Also: Requirements need a version range instead of a fixed version. For most requirements this will be until the next major release. E.g. if current version of pandas is 1.18.1, the requirements.txt
entry should be pandas>=1.18.1,<0.2
.
Setup coveralls.io to track coverage of testing and add status image to readme.
All requests to the GC REST API now use the default Content-Type but because there are multiple options, this should be explicit, also to not break when defaults change in the future.
Data that is not in ACTIVITY_COLUMN_ORDER is now excluded from the activity data by this line:
return activity[[i for i in ACTIVITY_COLUMN_ORDER if i in activity.columns]]
(client.py line 117)
This trick to force ordering of the columns should be deleted or fixed to include all other columns.
Travis CI setup to automate testing and deployment to PyPi.
When using Panda's read_csv
without parameters some of the column headers get extra whitespace at the start. This is now fixed in client.py line 87:
activity_list.rename(columns=lambda x: x.lstrip().lower(), inplace=True)
But probably can be fixed in a nicer way by sending sep=', '
(or similar) to read_csv
GC REST API responses are currently not validated and therefore could result in unexpected or unclear errors and exceptions. All responses should be validated and appropriate exceptions should be raised accordingly.
Validations:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.