pygnss 1.0.0.post5__tar.gz → 1.0.0.post7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pygnss might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygnss
3
- Version: 1.0.0.post5
3
+ Version: 1.0.0.post7
4
4
  Summary: Rokubun GNSS processing utilities.
5
5
  Home-page: https://github.com/rokubun/pygnss
6
6
  Author: Rokubun
@@ -20,5 +20,5 @@ This repository includes a series of tools to process GNSS data
20
20
  To install the package:
21
21
 
22
22
  ```bash
23
- pip3 install pygnss
23
+ pip install pygnss
24
24
  ```
@@ -5,5 +5,5 @@ This repository includes a series of tools to process GNSS data
5
5
  To install the package:
6
6
 
7
7
  ```bash
8
- pip3 install pygnss
8
+ pip install pygnss
9
9
  ```
@@ -0,0 +1 @@
1
+ __version__ = '0.0.0'
@@ -0,0 +1,13 @@
1
+ from typing import Iterable
2
+ import numpy as np
3
+ import pandas as pd
4
+
5
+
6
+ def compute_elapsed_seconds(epochs:pd.Series) -> pd.Series:
7
+ return (epochs - epochs.iloc[0]).dt.total_seconds()
8
+
9
+ def compute_decimal_hours(epochs:pd.Series) -> pd.Series:
10
+ return epochs.apply(lambda x: x.hour + x.minute / 60 + x.second / 3600)
11
+
12
+ def compute_rms(values:Iterable) -> float:
13
+ return np.sqrt(np.mean(np.square(values)))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygnss
3
- Version: 1.0.0.post5
3
+ Version: 1.0.0.post7
4
4
  Summary: Rokubun GNSS processing utilities.
5
5
  Home-page: https://github.com/rokubun/pygnss
6
6
  Author: Rokubun
@@ -20,5 +20,5 @@ This repository includes a series of tools to process GNSS data
20
20
  To install the package:
21
21
 
22
22
  ```bash
23
- pip3 install pygnss
23
+ pip install pygnss
24
24
  ```
@@ -1,12 +1,15 @@
1
1
  LICENSE
2
2
  README.md
3
+ pyproject.toml
3
4
  setup.cfg
4
5
  setup.py
5
6
  pygnss/__init__.py
7
+ pygnss/helpers.py
6
8
  pygnss.egg-info/PKG-INFO
7
9
  pygnss.egg-info/SOURCES.txt
8
10
  pygnss.egg-info/dependency_links.txt
9
11
  pygnss.egg-info/not-zip-safe
10
12
  pygnss.egg-info/requires.txt
11
13
  pygnss.egg-info/top_level.txt
12
- test/test_dummy.py
14
+ test/test_dummy.py
15
+ tests/test_dummy.py
@@ -0,0 +1,20 @@
1
+ [tool.poetry]
2
+ name = "pygnss"
3
+ version = "0.0.0"
4
+ description = ""
5
+ authors = ["Miquel Garcia <miquel.garcia@rokubun.cat>"]
6
+ readme = "README.md"
7
+
8
+ [tool.poetry.dependencies]
9
+ python = "^3.10"
10
+ numpy = "^1.26.4"
11
+ pandas = "^2.2.1"
12
+
13
+ [tool.poetry.group.dev.dependencies]
14
+ pytest = "^8.1.1"
15
+ pytest-mocha = "^0.4.0"
16
+
17
+ [build-system]
18
+ requires = ["poetry-core"]
19
+ build-backend = "poetry.core.masonry.api"
20
+
@@ -0,0 +1,6 @@
1
+ # ------------------------------------------------------------------------------
2
+
3
+ def test_dummy():
4
+ '''Status :: Dummy test :: Should pass'''
5
+
6
+ assert True
File without changes
File without changes
File without changes
File without changes