Skip to main content

Set of tools used in internal GNSS Rokubun projects

Project description

pygnss

Python tools used in internal GNSS Rokubun projects. This repository contains the following modules:

  • logger, a module that extends basic Python logging
  • geodetic, to perform basic geodetic transformation (Cartesian to Geodetic, Cartesian to Local Tangential Plane, ...)

Installation

pip install pygnss

Modules

Logger

Example of how to use the logger module:

>>> from pygnss import logger
>>> logger.set_level("DEBUG")
>>> logger.debug("Debug message")
2020-05-05 18:23:55,688 - DEBUG    - Debug message
>>> logger.warning("Warning message")
2020-05-05 18:24:11,327 - WARNING  - Warning message
>>> logger.info("Info message")
2020-05-05 18:24:26,021 - INFO     - Info message
>>> logger.error("Error message")
2020-05-05 18:24:36,090 - ERROR    - Error message
>>> logger.critical("Critical message")
2020-05-05 18:24:43,562 - CRITICAL - Critical message
>>> logger.exception("Exception message", ValueError("Exception message")
2020-05-05 18:25:11,360 - CRITICAL - Exception message
ValueError: Exception message
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/../pygnss/pygnss/logger.py", line 46, in exception
    raise exception
ValueError: Exception message

Deployment to PyPi

The project is published automatically using Gitlba-CI on each commit to master to PyPi repository pygnss

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygnss-1.6.2.tar.gz (12.2 kB view hashes)

Uploaded source

Built Distribution

pygnss-1.6.2-py3-none-any.whl (13.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page