Skip to main content

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

Metadata

Release files for roktools 1.4.0.post11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roktools 1.4.0.post11
File Size Uploaded Provenance
roktools-1.4.0.post11.tar.gz 10.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for roktools 1.4.0.post11
File Interpreter ABI Platform
roktools-1.4.0.post11-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / roktools-1.4.0.post11.tar.gz

Download URL roktools-1.4.0.post11.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
848cab84afbe845006ac31d2074a90ddad7e710aa5fb8a0b922c9b43cea8c402
BLAKE2b-256 checksum
How to use checksums
bbb1ccbf8b19488a15a96c0104dfadee3bdc87edd7876a4578bfe32d78116332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.8

Release files / roktools-1.4.0.post11-py3-none-any.whl

Download URL roktools-1.4.0.post11-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab3b2cee890704ea3528cc9b9293c3a8ed29da228eff50200b6ffc7aca7802df
BLAKE2b-256 checksum
How to use checksums
9b623d6806ba6c2e95378296dd0dbbda7aa0f46a907a30be65b35ed81756b7a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.8

Security for roktools 1.4.0.post11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.4.0.post11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page