semvec/pypi-packages huggingface dataset:
movingclusterlib 0.1.0
A datatool library.
License: MIT

# movingclusterlib

This library implements a tool to analyze cluster evolution during the time for a given Pandas dataframe.

## Installation

```
pip install movingclusterlib
```

## Usage example

```python
import numpy as np
from movingclusterlib import GraphAnalizer, gates, plot_clusters

df = ...

# Cluster analysis
ga = GraphAnalizer(
    edge_func=gates.And(
        gates.TimeWindow(40000),
        gates.Equal("a"),
    ).full_code(),
    features={
        'ts': np.uint32,
        'a': np.int32,
    },
)
df['cluster_id'], df['cluster_size'] = ga.process(df)

# Plot 10 biggest clusters on a diagram
plot_clusters(df['ts'], df['cluster_id'], df['cluster_size'], size=10)
```
datatool-python 1.3.4
A datatool library.
License: MIT

# datatool-python

A python library that contains a number of useful functions and approaches
for a data scientist. It includes time measurement tool, map-reduce,
clasterization on CUDA,
[LCS](https://en.wikipedia.org/wiki/Longest_common_subsequence_problem)
and so on. Look through the source code for details.

## Install

```
pip install datatool-python
```

## Use example

```python
from time import sleep
from datatool.time import Meter

with Meter() as tm:
    sleep(1.5)

print(tm.duration())  # Prints the measured duration of the body in with-statement (around 1.5)
```
cjwt 0.2.0
Simple JWT reader utility
License: MIT
Requires Python: >=3.10,<4.0

# Cat JWT

[![PyPI version](https://badge.fury.io/py/cjwt.svg)](https://badge.fury.io/py/cjwt)

## Install

`pip3 install cjwt`

## Usage

```
usage: cjwt [-h] [--secret [SECRET]] [file]

positional arguments:
  file

options:
  -h, --help         show this help message and exit
  --secret [SECRET]  JWT secret
```

## Examples

### Read header and claims

- Read from stdin

```bash
$ echo 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJ0ZXN0IjoiYWJjZGVmIn0.tPJ7bVKyF_FMFQaRT6n7dvhEBnyiBRGhVlwacTsy0mI' | cjwt
alg: HS256
typ: JWT
sub: 1234567890
name: John Doe
iat: 1516239022
test: abcdef
```

- Read from file

```bash
$ cjwt /tmp/jwt.txt
alg: HS256
typ: JWT
sub: 1234567890
name: John Doe
iat: 1516239022
test: abcdef
```

- Read from .roadtools_auth

```bash
$ cat .roadtools_auth | cjwt
typ: JWT
nonce: <cut>
alg: <cut>
x5t: <cut>
kid: <cut>
aud: https://graph.microsoft.com/
<snip>
```

### Verify secret

```
echo 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJ0ZXN0IjoiYWJjZGVmIn0.tPJ7bVKyF_FMFQaRT6n7dvhEBnyiBRGhVlwacTsy0mI' | cjwt --secret 'secret'
alg: HS256
typ: JWT
sub: 1234567890
name: John Doe
iat: 1516239022
test: abcdef
```

```
echo 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJ0ZXN0IjoiYWJjZGVmIn0.tPJ7bVKyF_FMFQaRT6n7dvhEBnyiBRGhVlwacTsy0mI' | cjwt --secret 'not-secret'
alg: HS256
typ: JWT
Signature verification failed
```
gros-client-car 1.0.0
fourier car ctrl sdk
License: MIT
Requires Python: >=3

# 傅利叶Car-客户端SDK（python）

## 概述
    本例(GROS_Client_Car SDK)适用于您已经拥有傅利叶（Fourier）所提供的Car设备，通过本例可实现对机器人的控制。它提供了一组简单的API，让你可以轻松地进行交互。

## 快速上手

### 安装
    
```shell
pip install gros_client_car
```

### 导入sdk
首先你需要在你的Python代码中导入这个SDK
```python
from gros_client_car import Car
```

### 创建Car对象
然后，你需要创建一个Car对象，以便使用这个SDK
```python
from gros_client_car import Car  # 按需导入Human、同理还有Car、Dog等

car = Car(host='192.168.9.17')
```

### 示例代码
下面是一个完整的示例代码，演示如何使用这个SDK来控制机器人：

```python
from gros_client_car import Car

# 引入依赖
from gros_client_car import Car, Mod

# 实例化human对象
car = Car(host='192.168.9.17')

# 调用启动方法
car.start()

# 切换四轮模式
car.set_mode(Mod.MOD_4_WHEEL)

# 以速度10向正前方移动 
car.move(-10, 0)

# 以速度20向正后方移动
car.move(20, 0)

# 以速度20向右(30度)后方移动
car.move(20, 30)
```