Skip to main content

Set of tools used in internal Rokubun projects

Project description

pyrok-tools

Python tools used in internal 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 roktools

Modules

Logger

Example of how to use the logger module:

>>> from roktools 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 "/Users/alexlopez/Work/00.General/01.Software/py-roktools/roktools/logger.py", line 46, in exception
    raise exception
ValueError: Exception message

Deployment to PyPi

The project is published automatically using Github Actions on each commit to master to PyPi repository roktools

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

roktools-1.4.0.post17.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roktools-1.4.0.post17-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file roktools-1.4.0.post17.tar.gz.

File metadata

  • Download URL: roktools-1.4.0.post17.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for roktools-1.4.0.post17.tar.gz
Algorithm Hash digest
SHA256 052e7097f1090fac8019a5f63ed3e67d5af0f4216f899923f134613ceb6983c9
MD5 c3cf3072e98c1030bb26d1771d17d30c
BLAKE2b-256 7af21091de5a67b701b123ad446ab0d1f366b5a625db6b430e492b627b0d2dab

See more details on using hashes here.

File details

Details for the file roktools-1.4.0.post17-py3-none-any.whl.

File metadata

  • Download URL: roktools-1.4.0.post17-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for roktools-1.4.0.post17-py3-none-any.whl
Algorithm Hash digest
SHA256 6afb0934e21371792bffc0b31733e1b46598899a5a3caff6bac12bf1ab4f839c
MD5 a9523fc441cbbba7fd4e9b76d170f60f
BLAKE2b-256 b4280ab935ba686f3f010426fd2dd3d9fae85e09a78f3ecdc2f7c047637a8721

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page