semvec/pypi-packages huggingface dataset:
smys 1.0.0
A tool to secure the string using secret phrase
License: MIT
Requires Python: >=3.6

# SMyS

SMyS : Secure My String : used to encode the data using secret phrase which is secured and cannot be decoded without the correct secret phrase

> secret phrase must be of 19 characters

```python

# encoding data

>>> import smys
>>> at = smys.smys("I-WANNA-SECURE-THIS")
>>> at.encode("This is original message, that I want to encode")

'110a130d155d70b120d130b110a70d125e160a55b130c120a70d115c140e145a75d120c125c65c125d125e165c60b130d125e125d60d140c150c120d75c125c105d75a125c155b115c85d115e125a65e130e155d75e120d135d105a70c130d160b110e90d120b115a110a90d145c125b120e80b110b125c70b155b110b80d120e125d60d135d145c70c125b130c105d80d125c150b115c85b110a125a65e135e150c125e70d135b105d115b80b160c105e90e120b120e110a85c145b120d120e80b105a125c75d165d105c125b75b125e105b140b100d120e125d130d55a120a125b105c115d130d120d75b105d130d105c120a120e135a60d120c120b155a55a135d115a70e110e140e95b125c115b125c65c115b125e115e110c130d120b70b110d135c145c65a120b130d55b120d120b105a115d130a120d75b.85a130c135a105b115b110c80d80b130c125a55b130c115c115d75c80a95a50a100d'

# every time you will see different encoded string because smys uses random string in it.
# to get fixed string directly use Haki class

>>> import smys
>>> smys.Haki.encode("This is message","SECRET-KEY-19-CHARS")

'175b210a185c175c235d135e120d270a205e195d145d140c140e175c200d'

# now here you will get fixed string every time
```
clearcut 0.2.2.post0
A straightforward and lightweight logging and tracing library
License: MIT
Requires Python: >=3.6,<4.0
Keywords: logging,tracing,opentelemetry

# Clearcut: A straightforward and lightweight logging wrapper library

[![Build Status](https://cloud.drone.io/api/badges/tangibleintelligence/clearcut/status.svg)](https://cloud.drone.io/tangibleintelligence/clearcut)

This provides some helpful wrapper and util functions for logging, and formats log messages in a more human-readable way by default.

## Use

At the top of the file:

```python
from clearcut import get_logger

...

logger = get_logger(__name__)
```

Logging can be performed ad-hoc:

```python
logger.info("info log")
logger.warning("warn log", exc_info=e)
```

"log blocks" can also be created which automatically log entrance/exits as well as performance information

```python
from clearcut import log_block, get_logger

...

logger = get_logger(__name__)

...

with log_block("block name", logger):
    ...
```

## TODO
- Would like to use contextvars to create a contextmanager where additional "metadata" can be specified (and unspecified) which would be
included with logging automatically. (may not be import with OTLP tracing.)
- json logging