semvec/pypi-packages huggingface dataset:
jsonengine 1.0.5
A package for a python JSON database CRUD engine
Requires Python: >=3.6

# JSON Engine

please refer to https://pypi.org/project/jsonengine/ for the python package

and please refer to https://github.com/youhengzhou/json-crud-engine for the repo

# Download Package

`py -m pip install jsonengine -U`

## In Your Python Files

`import jsonengine`

# Commands

## Create command:

`eng.create(dictionary, path)`
This will create a JSON dictionary in the path

## Retrieve command:

`eng.retrieve(path)`
This will retrieve the JSON dictionary in the path

## Update command:

`eng.update(dictionary, path)`
This will update a JSON dictionary in the path

Update in this case means replacing the dictionary in its entirety with a new one

## Update (with key value) command:

`eng.update_kv(key, value, path)`
This will update a key value pair in the JSON dictionary in the path

Update in this case means replacing the dictionary with the key value pair

## Patch command:

`eng.patch(dictionary, path)`
This will patch a JSON dictionary in the path

Patch in this case means keeping the JSON dictionary in the path and appending to the dictionary

## Patch (with key value) command:

`eng.patch_kv(dictionary, path)`
This will patch a key value pair in the JSON dictionary in the path

Patch in this case means keeping the dictionary and appending the new key value pair

## Delete command:

`eng.delete(path)`

This will delete the JSON dictionary in the path
PyBayfile 1.0
Module to integrate bayfiles and control them in your code
Requires Python: >=3.6
Keywords: python,files,api,web,bayfile

# PyBayfile
PyBayfile is a Python module for handling bayfiles
bayfiles is a website that allows users to upload and share files

## exmaple of usage:
```python
from PyBayfile import Archive

# make the archive
path = './etc/file_to_upload.exe'
archive: Archive = Archive.make_from_path(path)

# print the link of the archive: link is str(archive) or archive.link
print(f'your file is uploaded to: {archive} and the size is {archive.size} bytes')
```

## Bayfile class (Archive)
__attributes__
| name | value
| --- | --- |
| .url | the short url of the bayfile
| .long_url | the long url of the bayfile
| .id | the ID of the bayfile
| .name | the name of the bayfile
| .size | the size of the bayfile's content in bytes
| .api_data | the data that returned the API

__class methods__
| name | usage
| --- | --- |
| make_from_path | create a Bayfile from the file path
| make_from_text | create a Bayfile with the given text in it
| from_id | get a bayfile by his ID
| from_url | get a bayfile by his URL


> by [BlueRed](https://github.com/CSM-BlueRed)
SalamEnc 0.0.2
• encrypt encode text •
Requires Python: >=3

## encrypt,encoder
encryptและdecryptข้อความแบบง่ายๆ(ง่ายมาก)

---

## วิธีใช้

```py
import SalamEnc as enc
print(enc.encode("hello"))
#aGVsbG8=
print(enc.decode("aGVsbG8="))
#hello
print(enc.encrypt("hello"))
#('ncdLAcZ=', 'rAGVhPt3lExQBay6RDK1S5wvCLbXHcpUjW2gms4TFizMNo0Zq7k8Jdfnu9OeIY')
#encrypt(text,key)ถ้าไม่ใส่keyจะสุ่มkeyให้เอง
print(enc.encrypt("hello","rAGVhPt3lExQBay6RDK1S5wvCLbXHcpUjW2gms4TFizMNo0Zq7k8Jdfnu9OeIY"))
#ncdLAcZ=
#encrypt(text,key)ถ้าใส่keyจะreturnแค่ข้อความ
print(enc.decrypt("ncdLAcZ=", "rAGVhPt3lExQBay6RDK1S5wvCLbXHcpUjW2gms4TFizMNo0Zq7k8Jdfnu9OeIY"))
#keyหาได้จาก keygen() หรือ encrypt() ก็ได้

Telegram : @T5B55

```