semvec/pypi-packages huggingface dataset:
enochecker-core 0.10.0
Base library for enochecker libs
Requires Python: >=3.7

# enochecker_core [![PyPI version](https://badge.fury.io/py/enochecker-core.svg)](https://pypi.org/project/enochecker-core) [![Build Status](https://github.com/enowars/enochecker_core/actions/workflows/pythonapp.yml/badge.svg?branch=main)](https://github.com/enowars/enochecker_core/actions/workflows/pythonapp.yml) ![Lines of code](https://tokei.rs/b1/github/enowars/enochecker_core)

This package provides dataclasses and enums adhering to the [specification](https://github.com/enowars/specification).

Since the specification defines keys in camel case, whereas this package follows python naming convention and has keys in snake case, the keys need to be transformed when sending/receiving them over the wire. The recommended way is to use the `jsons` (not `json`) package.

Example:
```
>>> from enochecker_core import CheckerTaskResult, CheckerResultMessage
>>> import jsons
>>> jsons.dumps(CheckerResultMessage(result=CheckerTaskResult.OK, message="some message"), use_enum_name=False, key_transformer=jsons.KEY_TRANSFORMER_CAMELCASE)
'{"message": "some message", "result": "OK"}'
>>> jsons.loads('{"message": "some message", "result": "OK"}', CheckerResultMessage, key_transformer=jsons.KEY_TRANSFORMER_SNAKECASE, strict=True)
CheckerResultMessage(result=<CheckerTaskResult.OK: 'OK'>, message='some message')
```
Python-Secure-Object-Notation 0.0.2
PYSON Python Secure Object Notation
Requires Python: >=3.8

# PYSON

PYSON (Python Secure Object Notation) is a replacement for the
```python
import json
json.load()
json.dump()
```
feautres. Here is an example of PYSON
```python
# Import the package
from pyson import PYSON as pyson

# open the file and load it 

with open("file.pyson", "r") as f:
    data = pyson.load(f, "My very secure password")

# Now you can treat it like normal JSON

with open("file.pyson", "w") as g:
    pyson.dump(g, data, "My very secure password")
```