semvec/pypi-packages huggingface dataset:
sarp-utils 1.2.15
A package to encode network communication for SARP
Requires Python: >=3.5

## __Codecs for SARP__

sarp-utils is a package containing message schema for all networked SARP systems as well as various utilities for SARP software. It will help establish a consistent encoding scheme for all SARP related network communication.

## Installation

`pip install sarp-utils`

## Example Usage of Codec Software

`from sarp_utils.template_codec import TemplateCodec`

`telem_item = {"timestamp": 12345, "example_channel_1": 1, "example_channel_2": 2, "example_channel_3": 3}`

`fill_codec = TemplateCodec()`

`fill_codec.encode(telem_item)`

### Expected Output
The expected output will be the encoded version of telem_item
dcclog 0.10.0
Logging package with color and encryption support
Requires Python: >=3.9
Keywords: log

dcclog
======

``dcclog`` is a simple wrapper around the python logging module that makes it easy to colorize and encrypt log messages.

Installation
============

From pypi:
~~~~~~~~~~

.. code-block:: console

    $ pip install dcclog

with built-in ciphers:
~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: console

    $ pip install 'dcclog[cipher]'

From github:
~~~~~~~~~~~~

.. code-block:: console

    $ git clone https://github.com/jamazi/dcclog.git
    $ cd dcclog
    $ pip install '.[all]'

How To use dcclog
==================

.. code-block:: python

    import dcclog

    dcclog.default_config()
    logger = dcclog.getLogger(name=__name__)

    logger.error("error message.")
    logger.warning("warning message.")
    logger.info("info message.")
    logger.debug("debug message.")


    @dcclog.log
    def logged_function(x: int, y: int) -> int:
        return x + y


    logged_function(4, 6)



or with RSA encryption:

.. code-block:: python

    import dcclog
    from dcclog.cipher.rsa import RSAEncryption

    dcclog.default_config(
        level=dcclog.INFO,
        filename=".logs/app.log",
        cipher=RSAEncryption("pubkey.pem"),
    )
    logger = dcclog.getLogger(name=__name__)

    logger.error("error message.")
    logger.warning("warning message.")
    logger.info("info message.")
    logger.debug("debug message.")


    @dcclog.log
    def logged_function(x: int, y: int) -> int:
        return x + y


    logged_function(4, 6)