semvec/pypi-packages huggingface dataset:
dssm-python 0.0.3
Python interface for DSSM
Requires Python: >=3.8

# Distributed Streaming Data Sharing Manager (DSSM)

This repository contains a Python interface for the Distributed Streaming Data Sharing Manager (DSSM) 

## Requirements
The Python interface requires an executable DSSM environment. You can find the instructions under [link follows](URL).

## Installing

To use the Python interface, the following library must be installed.

```bash
pip install sysv-ipc
```

Using Pip:
```bash
sudo apt install python3-pip python3-setuptools python3-venv python3-wheel
pip install --upgrade setuptools wheel build hatchling
pip install -i https://test.pypi.org/simple/ dssm-python
```

## Dataclass
The Python interface makes it possible to exchange data between different processes, both in Python and in C.
To define which data is exchanged, the dataclass must first be defined. An example can be found in the ```/sample``` folder.

The corresponding dataclass of the C++ example is the ```/sample/ini_ssm.py``` class.


## Sample

The sample programs included can be found can be found in the project. These are defined in such a way that data can be exchanged between Python and C/C++.

This was tested with the SSM C++ sample that can be found in the corresponding project in the ```/sample/Cpp_sample``` folder.
The following shows how data can be exchanged between Python and C++.

For the data exchange to work, the coordinator must be executed as in DSSM.

```bash
ssm-coordinator
```

### C++ write data

In this example, data is sent from the C++ example and read by Python.

#### C++ write
```bash
./samples/Cpp_Sample/ssmWriteSample 
```

#### Python read
```bash
python3 sample/read_sample.py
```

### Python write data

In this example, data is sent from the Python example and read by C++ and Python.

#### Python write

```bash
python3 sample/write_sample.py
```

#### Python read
```bash
python3 sample/read_sample.py
```

#### C++ read
```bash
./samples/Cpp_Sample/ssmReadSample
```
jaraco.windows 5.10.0
Windows Routines by Jason R. Coombs
Requires Python: >=3.9

.. image:: https://img.shields.io/pypi/v/jaraco.windows.svg
   :target: https://pypi.org/project/jaraco.windows

.. image:: https://img.shields.io/pypi/pyversions/jaraco.windows.svg

.. image:: https://github.com/jaraco/jaraco.windows/actions/workflows/main.yml/badge.svg
   :target: https://github.com/jaraco/jaraco.windows/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://readthedocs.org/projects/jaracowindows/badge/?version=latest
   :target: https://jaracowindows.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2025-informational
   :target: https://blog.jaraco.com/skeleton


A pure-python interface to Windows
APIs using ctypes. This package is not designed to be exhaustive, but
rather to supply interfaces as they are needed by the contributors.

Package Contents
================

``jaraco.windows`` contains several modules for different purposes. For now,
read the source. Eventually, I hope to put high-level descriptions of the modules
here.

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

You should install this module the normal way using pip.

If you want to monkeypatch the os module to include symlink compatibility, you
should add the following to your ``usercustomize`` or ``sitecustomize`` module:

	``import jaraco.windows.filesystem as fs; fs.patch_os_module()``

Thereafter, you should be able to use ``os.symlink`` and ``os.readlink`` in Windows
Vista and later using the same interface as on Unix.

Note that ``jaraco.windows.filesystem.symlink`` takes an additional optional
parameter ``target_is_directory``, which must be specified if the target is not
present and is expected to be a directory once present.

Contribute
==========

If jaraco.windows doesn't supply the interface you require for your
application, consider creating the interface and providing a pull request
to the project.
video-frame-extractor 2.0.0
Advanced Video Frame Extractor with Smart Deduplication and Blur Detection
Requires Python: >=3.6
Keywords: video frame extraction scene detection deduplication blur detection

# 视频帧提取工具

高级视频帧提取工具，具有智能去重和模糊检测功能。

## 功能特性

- 智能场景检测与分割
- 视觉多样性评估与去重
- 模糊帧自动过滤
- 关键帧时间戳水印
- 输出详细元数据
- 支持批量处理

## 安装

```bash
pip install video_frame_extractor
SpCloud 0.1.4
A Python package for sprotect cloud compute
Requires Python: >=3.8

## 快速开始

### 1. 初始化云计算对象

```python
from sp.sp import SPCloud
from ctypes import c_bool

cloud = SPCloud(SP的dll目录)
cloud.cloud_create()
```

### 2. 设置连接信息

```python
cloud.cloud_set_conninfo(
    software_name='YourSoftwareName',
    ip='服务器IP或域名',
    port=端口号,                 # 例如 8896
    timeout=超时时间秒,           # 例如 300
    localversion=本地版本号,       # 例如 1
    pop_out=c_bool(False)        # 是否弹窗
)
```

### 3. 卡密登录 或 账号登录

**卡密登录：**
```python
login_result = cloud.card_login('你的卡密')
print(login_result)  # {'ret': True/False, 'code': 错误码}
```

**账号登录：**
```python
login_result = cloud.user_login('账号', '密码')
print(login_result)
```

### 4. 常用接口举例

#### 获取卡密代理名
```python
agent = cloud.cloud_get_card_agent()
print(agent)
```

#### 获取卡密类型
```python
card_type = cloud.cloud_get_card_type()
print(card_type)
```

#### 获取卡密IP地址
```python
ip_info = cloud.cloud_get_ip_address()
print(ip_info)
```

#### 获取公告内容
```python
notices = cloud.cloud_get_notices()
print(notices)
```

#### 获取点数
```python
fyi = cloud.cloud_get_fyi()
print(fyi)
```

#### 扣除点数
```python
deduct_result = cloud.cloud_deduct_fyi(点数数量)
print(deduct_result)
```

### 5. 下线与销毁对象

```python
cloud.cloud_offline()
cloud.cloud_destroy()
```

## 其他接口说明

`SPCloud` 封装了大部分云计算常用接口，包括：

- 用户注册、充值、改密码
- 查询/解绑机器码
- 查询在线信息、踢用户下线
- 获取/申请试用卡
- 获取/禁用当前卡密
- 获取/设置本地版本号、客户端ID等
- 错误码查询（`cloud_get_error_msg`）

每个方法均有 docstring，参数类型、返回值及异常说明可参见源码。

## 错误处理

所有调用如未登录、未初始化等，均会抛出异常或返回 `{'ret': False, 'code': 错误码}` 格式。可通过 `cloud.cloud_get_error_msg(错误码)` 获取详细错误信息。

## 示例代码

见 `sp/spclass.py` 文件末尾的 `if __name__ == '__main__':` 区块，包含了完整的调用演示。

## 常见问题

- **Q1:** DLL 加载失败？
  - 请确保 `SPCloud64_Py.dll`和`SProtectSDK64.dll` 目录正确，且操作系统为 Windows。
- **Q2:** 字符串参数乱码？
  - 所有字符串参数均按 `gbk` 编码传递，返回值解码同样如此。

## 许可证

本仓库仅供学习和内部集成测试使用。如需商业或大规模场景使用，请联系原作者或官方获取授权。

---
如有疑问或 bug，欢迎提 issue 或联系作者。