Activityio

Latest version: v0.0.3

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.3

Added
- Direct `pytz` dependency.
- More general exception catching in `ActivityData.__getitem__` so as not to interfere with the parent method.
- **Tests!**
- An `ewa` (exponentially weighted average) function to the tools module, which returns a callable intended for `pandas.DataFrame.rolling().apply()`.
- `ActivityData.recording_time()` for calculating actual time spent *in* an activity.

Changed
- Type definitions now have their own subpackage rather than just a module.
- Refactored some of the reading process for xml file types.

Removed
- `ActivityData.resample_1hz()` as it was overkill. Call the `pandas` API instead.

Fixed
- `ActivityData.gradient()` dropping the index.
- Syntax error in the command line interface.
- FIT file timestamp handling. You can also now localise them by passing in a timezone string. (Closes 1)
- TCX file timestamp handling. They no longer expect fractional seconds by default. (Closes 2)

0.0.2

Added
- Support for GPX files.
- Command line interface (see `aio -h`).

Removed
- Non-code files from package directories.

Fixed
- `activityio._util.xml` was clobbering the standard library package in some cases, so was renamed to `activityio._util.xml_reading`

0.0.1

Added
- First commit and package pushed to PyPI.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.