Pyspartn

Latest version: v1.0.0

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

Scan your dependencies

1.0.0

What's Changed
* Rc 1.0.0 by semuadmin in https://github.com/semuconsulting/pyspartn/pull/26

1. Add payload attributes for PRN, Phase Bias and Code Bias values, derived from the corresponding bitmasks for each constellation type. e.g. `PRN_01=3`, `PhaseBias_01_03=L2L`, `CodeBias_02_03=C2L`.
1. Add examples `parse_ocb.py` & `parse_hpac.py` illustrating how to convert parsed and decoded OCB and HPAC messages into iterable data structures.
1. Add `naive2aware(dt,tz)` helper method - convert naive basedates to aware with UTC timezone.
1. Internal enhancements to simplify basedate handling.

**Full Changelog**: https://github.com/semuconsulting/pyspartn/compare/v0.4.0-beta...v1.0.0

0.4.0beta

What's Changed
* Rc 0.4.0 by semuadmin in https://github.com/semuconsulting/pyspartn/pull/24
FIXES:

1. Fix `TypeError: can't subtract offset-naive and offset-aware datetimes` error when using default basedates. Basedates must always contain timezone information.
1. Use `timezone.utc` rather than `datetime.UTC` for compatibility with older Python versions.

**Full Changelog**: https://github.com/semuconsulting/pyspartn/compare/v0.3.3-beta...v0.4.0-beta

0.3.3beta

What's Changed
* Release candidate 0.3.3 beta by semuadmin in https://github.com/semuconsulting/pyspartn/pull/22

1. Update handling of SPARTN-1X-BPAC and SPARTN-1X-EAS-DYN message types (not yet tested).
1. Add improved handling of half-day rollovers when decrypting SPARTN datastreams - thanks to JonathanMullerGeosatis for contribution:

**Full Changelog**: https://github.com/semuconsulting/pyspartn/compare/v0.3.2-beta...v0.3.3-beta

0.3.2beta

What's Changed
* Release Candidate 0.3.2-beta by semuadmin in https://github.com/semuconsulting/pyspartn/pull/19

ENHANCEMENTS:

Thanks to jonathanmuller for contributions.

1. Attributes are now converted to type automatically e.g. float attributes will automatically be converted to floats via the enc2float() helper method using the documented resolution and range minimum values.
1. SPARTNReader will now store any 32-bit gnssTimeTags for each msgSubtype (GPS, GLO, GAL, etc.) from the incoming datastream for use as 'basedates' in the decryption of any encrypted messages with ambiguous 16-bit gnssTimetags (timeTagtype = 0). If no 32-bit gnssTimeTags are available for a given msgSubtype, the input argument 'basedate' will be used instead, adjusted for any UTC & leap second shift for that msgSubtype (e.g. GLONASS basedate = GPS + 3600*3-18).
1. Add enumerations in spartntables.py.
1. Update test cases.
1. Other minor internal streamlining.

FIXES:

1. Fix datadesc() helper method with certain attribute names e.g. SF049a.

**Full Changelog**: https://github.com/semuconsulting/pyspartn/compare/v0.3.1-beta...v0.3.2-beta

0.3.1beta

What's Changed
* Rc 0.3.1 beta by semuadmin in https://github.com/semuconsulting/pyspartn/pull/18

FIXES:

1. Fix Area count iterations - attribute `SF030` represents (area count - 1). Affects GAD and HPAC payloads - if you're iterating through area groups, remember to use a range of `SF030+1` rather than `SF030` (see, for example, [gad_plot.py](https://github.com/semuconsulting/pyspartn/blob/main/examples/gad_plot.py)).

ENHANCEMENTS:

1. Examples updated.

**Full Changelog**: https://github.com/semuconsulting/pyspartn/compare/v0.3.0-beta...v0.3.1-beta

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.