semvec/pypi-packages huggingface dataset:
yantu-python-util 0.0.8
yantu python operate util



## 主要功能
1. 基本文件操作
   - `json`文件读写 

>  load_json 读取json文件  
>  write_json 写入json文件


## 使用方法
```
pip install yantu_python_util
```

```python
from yantu_python_util.operate_json import write_json, load_json

write_json(data="your json data", filepath="your file path")
load_json(filepath="your file path")
```


## 上传方法
1. 构建源文件

``` python
python setup.py sdist bdist_wheel build
```
3. 上传源文件
```shell
twine upload dist/*
```
loadotenv 1.0.1
Reinventing the wheel to load .env variables
Requires Python: >=3.9
Keywords: .env,environment,utility

[![ci](https://github.com/lemredd/loadotenv/actions/workflows/core.yml/badge.svg?branch=main)](https://github.com/lemredd/loadotenv/actions/workflows/core.yml)

# `loadotenv`
Reinventing the wheel to load .env variables

## Requirement/s
- Python version: `>= 3.9`

## Installation
```python
pip install loadotenv
```

## Usage
From a `.py` file near your `.env` file:

```py
from loadotenv import load_env

load_env()
# load_env(file_loc="/loc/to/.env")
```

## Contributing
Issues and PRs are welcome!
decora-bleak 0.2.2
A package for interacting with Decora switches and dimmers over BLE
Requires Python: >=3.7

# decora_bleak

Python module for interacting with Leviton bluetooth switches and dimmers via BLE (Bluetooth Low Energy). There is prior art in this space, namely https://github.com/mjg59/python-decora and https://github.com/lucapinello/pydecora_ble, both of which primarily use the bluepy module. This project aims to provide the same support using Bleak which is used for interacting with BLE devices in Home Assistant.

## Using

Once the package is installed (and assuming the repo was cloned to make changes) using `python -m pip install -e .`:

```
decora scan
```

```
decora connect -a "C84441EE-5C57-2681-1BD5-82AF18C58F5D"
```

```
decora connect -a "C84441EE-5C57-2681-1BD5-82AF18C58F5D" -k "8c4c89fa00"
```

## Releasing

One of

```
bumpver update --commit --tag-commit --push --major
bumpver update --commit --tag-commit --push --minor
bumpver update --commit --tag-commit --push --patch
```
loadotenv-lemredd 0.2.0
Reinventing the wheel to load .env variables
Requires Python: >=3.6
Keywords: .env,environment,utility

# `loadotenv`

Reinventing the wheel to load .env variables

<!--
TODO:
- [ ] add `## Installation`
- [ ] Complete `## Usage`
-->

## Installation
```python
pip install loadotenv
```

## Usage

Still under construction!
<!--
From a `.py` file near your `.env` file:
```
from loadotenv
```
-->
natspy-lock 0.2.0
Distributed lock library using nats.py
Requires Python: >=3.7
Keywords: Distributed lock,nats.py,python lock

# natspy-lock

[![PyPI - Version](https://img.shields.io/pypi/v/natspy-lock.svg)](https://pypi.org/project/natspy-lock)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/natspy-lock.svg)](https://pypi.org/project/natspy-lock)

-----

`natspy-lock` is a distributed lock library using nats.

**Table of Contents**

- [Installation](#installation)
- [Example](#example)
- [License](#license)


## Installation

```console
pip install natspy-lock
```

## Example

```python
import nats
from natspy_lock import NatsLock

async def main():
    nc = await nats.connect("nats://127.0.0.1:4222")
    await NatsLock.init(nc.jetstream(), "test_lock", 60)
    async with NatsLock.get_lock("test_lock", 1):
    #     do something
        pass
    await nc.drain()
```

## License

`natspy-lock` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.