semvec/pypi-packages huggingface dataset:
dumpy-numpy 0.1.4
DumPy: NumPy except it's OK if you're dum
Requires Python: >=3.8

# DumPy: NumPy except it's OK if you're dum

DumPy is an interface for (Jax's version) NumPy that tries to avoid all the endless sharp corners.

## Installation

```console
pip install dumpy-numpy
```

Or if you use UV and you want to play around without creating an environment, try this one-liner:

```console
uv run --with dumpy-numpy --with ipython ipython
```

## Example usage

```python
import dumpy as dp
A = dp.Array([0,1,2])
B = dp.Array([0,10])
C = dp.Slot()
C['i','j'] = A['i'] + B['j']
C
```

This results in

```
Slot([[ 0 10]
      [ 1 11]
      [ 2 12]], shape=(3, 2))
```

## More details

See [dynomight.net/dumpy](https://dynomight.net/dumpy) for full details.
suprasupromath 0.0.1
A super simple math utility package for example purposes.
Requires Python: >=3.8
Keywords: math, example, tutorial

# Super Math

A super simple math utility package.

## Installation
```bash
pip install super-math
```

## Usage
```python
from super_math import add
result = add(5, 3)
print(result) # Output: 8
```
mcp-multi-weather 0.2.1
MCP server for checking the weather history and forecast
Requires Python: >=3.12

# mcp-multi-weather

## Description

MCP server for checking the weather history and forecast. This Model Context Protocol (MCP) server
provides weather data functionality through a FastMCP-based service that integrates with weather
providers to deliver historical weather information.

The server exposes a `get_historical_weather` tool that allows checking weather conditions for
specific cities on past dates, making it useful for applications that need historical weather data.

## How to run it

First you need to create a valid API key with OpenWeather, and set it in your env file:

```
$ cp .env.example .env
$ vim .env # Modify the values
```

Now you can run the server locally:

```
$ uv run mcp-multi-weather
```

Or, you can install the package in your claude-desktop:

```
$ uv run fastmcp install claude-desktop src/mcp_multi_weather/cli/server.py --env-file .env --env PYTHONPATH=$PWD/src/
```

## Development

You can run the tests using pytest:

```
$ uv run pytest
$ uv run pytest --ow-api-key=DUMMY  # To run tests against the real OpenWeather API
```

You can also check the syntax and lint the code with pyright and ruff:

```
$ uv run pyright
$ uv run ruff check
$ uv run ruff format
```
dvc-studio-client 0.22.0
Small library to post data from DVC/DVCLive to Iterative Studio 
Requires Python: >=3.9

dvc-studio-client
=================

Client to interact with `DVC Studio`_.

|PyPI| |Status| |Python Version| |License|

|Tests| |Codecov| |pre-commit| |Black|

.. |PyPI| image:: https://img.shields.io/pypi/v/dvc-studio-client.svg
   :target: https://pypi.org/project/dvc-studio-client/
   :alt: PyPI
.. |Status| image:: https://img.shields.io/pypi/status/dvc-studio-client.svg
   :target: https://pypi.org/project/dvc-studio-client/
   :alt: Status
.. |Python Version| image:: https://img.shields.io/pypi/pyversions/dvc-studio-client
   :target: https://pypi.org/project/dvc-studio-client
   :alt: Python Version
.. |License| image:: https://img.shields.io/pypi/l/dvc-studio-client
   :target: https://opensource.org/licenses/Apache-2.0
   :alt: License
.. |Tests| image:: https://github.com/iterative/dvc-studio-client/workflows/Tests/badge.svg
   :target: https://github.com/iterative/dvc-studio-client/actions?workflow=Tests
   :alt: Tests
.. |Codecov| image:: https://codecov.io/gh/iterative/dvc-studio-client/branch/main/graph/badge.svg
   :target: https://app.codecov.io/gh/iterative/dvc-studio-client
   :alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black

Features
--------

- Model Registry
   - `get_download_uris`_: Return download URIs for the specified model.

- Live Experiments
   - `post_live_metrics`_: Post updates to `api/live`.

- Studio authentication
    - `get_access_token`_: Initiates the authentication process for a client application.

Installation
------------

You can install *dvc-studio-client* via pip_ from PyPI_:

.. code:: console

   $ pip install dvc-studio-client

License
-------

Distributed under the terms of the `Apache 2.0 license`_,
*dvc-studio-client* is free and open source software.


Issues
------

If you encounter any problems,
please `file an issue`_ along with a detailed description.


.. _Apache 2.0 license: https://opensource.org/licenses/Apache-2.0
.. _PyPI: https://pypi.org/
.. _file an issue: https://github.com/iterative/dvc-studio-client/issues
.. _pip: https://pip.pypa.io/
.. github-only
.. _Contributor Guide: CONTRIBUTING.rst
.. _DVC Studio: https://dvc.org/doc/studio
.. _get_download_uris: https://docs.iterative.ai/dvc-studio-client/reference/dvc_studio_client/model_registry/
.. _post_live_metrics: https://docs.iterative.ai/dvc-studio-client/reference/dvc_studio_client/post_live_metrics/
.. _get_access_token: https://docs.iterative.ai/dvc-studio-client/reference/dvc_studio_client/auth/
fanbookbotapi 1.2.8
fanbook bot api
Requires Python: >=3.6

# 开始使用

这里使用getme做示例

```python
import fanbookbotapi

print(fanbookbotapi.getme('123').text)
```  

**1.2.2更改：发送消息函数添加参数add_Key，为了防止不添加键盘时消息出现边框，如果你需要添加键盘，请将其设置为True，否则不用管**  

# 支持的api

## bot api

- getme(token)

```
获取bot的信息
```

- sendmessage()

```
发送消息
Args:
    token (str, optional): botToken. Defaults to ''.
    chatid (int, optional): 频道id. Defaults to 0.
    biaoti (str, optional): 卡片标题. Defaults to "标题".
    ik (list, optional): 自定义键盘. Defaults to [[{"text":"下一页","callback_data":"{\"type\":\"next\",\"index\":2,\"msg\":\"114514\"}"}]].
    text (str, optional): 正文内容，如果是card模式，换行符为  4个反斜线n. Defaults to '文本'.
    biaoticolor (str, optional): 弃用，默认即可. Defaults to 'ffe4e4'.
    type (str, optional): card(内置卡片)/fanbook(特殊消息解析模式)/text(纯文本). Defaults to "card".
    shade (list, optional): 标题背景颜色，如果配置两项就是渐变色. Defaults to ['ff764a','ffb39aff'].
    backgroundColor (str, optional): 标题文本颜色. Defaults to 'ddeeff'.
    getjson (bool, optional): 设置为True就是只返回编码完成的json，不请求. Defaults to False.
    add_Key (bool, optional): 是否添加键盘. Defaults to False.
Returns:
    requests.models.Response|str: requests请求对象|编码完成的json
    token (str): botToken
sendmessage(token='',chatid=0,biaoti="标题",ik=[[{"text":"下一页","callback_data":"{\"type\":\"next\",\"index\":2,\"msg\":\"114514\"}"}]],text='文本',biaoticolor='ffe4e4',type="card",shade=['ff764a','ffb39aff'],backgroundColor='ddeeff00',getjson=False) -> requests.models.Response|str:
```

- getPrivateChat(token,userid)  

```
创建私聊频道
Args:
    token (str): botToken
    userid (int): 用户长id
Returns:
    requests.models.Response: requests请求对象
    {"ok":true,"result":{"id":510639729457618944,"guild_id":0,"type":"private","channel_type":3}}
    返回中，id代表频道id
```

- bot_websocket()

```
fanbook bot websocket接口
Args:
    token (str): bot token
    onOpen (function): ws连接成功回调
    onMessage (function): ws收到消息回调
    onError (function): ws错误回调
    onClose (function): ws关闭回调
    log_level (str, optional): 日志等级. Defaults to "DEBUG".
```

## 用户api

> 用户api仅供学习研究使用，使用造成的后果与作者无关，严禁违法、违规使用

- send_user_message()

```
请求代码由WrunDorry提供
使用userapi发送消息

    Args:
        user_token (str, optional): 用户token和bot token二选一
        bot_token (str, optional): bot token和user token二选一
        text (str, optional): 消息体. Defaults to '{\"type\":\"text\",\"text\":\"test\",\"contentType\":0}'.
        decs (str, optional): 消息预览文本. Defaults to 'test'.
        channel_id (str, optional): 频道id. Defaults to '123456'.
        guild_id (str, optional): 服务器id. Defaults to '123456'.
        key (str, optional): api_key，默认留空. Defaults to ''.
        secret (str, optional): api_secret，默认留空. Defaults to ''.
        transaction (str, optional): 请求的唯一id，一般调试使用. Defaults to '73460be6-e295-4828-8750-01022533b9f0'.
        log_level (str, optional): 日志等级. Defaults to 'DEBUG'.

    Returns:
        requests.models.Response: 返回响应
```
qclib 0.1.15
A quantum computing library using qiskit
Requires Python: >=3.8

# Quantum computing library (qclib)
Qclib is a quantum computing library implemented using qiskit.

The focus of qclib is on preparing quantum states, but it is not limited to that.

## Installation
The easiest way of installing qclib is by using pip:

```python
pip install qclib
``` 

## Initializing your first quantum state with qclib
Now that qclib is installed, you can start building quantum circuits to prepare quantum states. Here is a basic example:

```
$ python
```

```python
import numpy as np
from qiskit import transpile
from qiskit_aer import AerSimulator
from qclib.state_preparation import LowRankInitialize

# Generate 3-qubit random input state vector
n = 3
rnd = np.random.RandomState(42)
input_vector = rnd.rand(2 ** n) + rnd.rand(2 ** n) * 1j
input_vector = input_vector / np.linalg.norm(input_vector)

# Build a quantum circuit to initialize the input vector
circuit = LowRankInitialize(input_vector).definition

# Construct an ideal simulator
backend = AerSimulator()

# Tests whether the produced state vector is equal to the input vector.
t_circuit = transpile(circuit, backend)
t_circuit.save_statevector()
state_vector = backend.run(t_circuit).result().get_statevector()
print('Equal:', np.allclose(state_vector, input_vector))
# Equal: True
```

## Comparing algorithms for quantum state preparation
The following table shows the depth, number of qubits, and CNOTs of circuits produced by different state preparation methods for the same random 15-qubit state.

| method | lib | qubits | cnots | depth |
| --- | --- |:---:|:---:|:---:|
| low-rank | qclib | 15 | 30998 | 53643 |
| svd | qclib | 15 | 38814 | 71580 |
| ucg | qclib | 15 | 32752 | 65505 |
| isometry | qiskit | 15 | 32752 | 65505 |
| multiplexor | qiskit | 15 | 65504 | 131025 |
| bdsp | qclib | 1151 | 72320 | 1603 |
| dcsp | qclib | 32767 | 262016 | 899 |

You can reproduce the results [here](https://github.com/qclib/qclib-papers/blob/main/examples/state_preparation_benchmark.ipynb).

## Authors
The first version of qclib was developed at [Centro de Informática](https://portal.cin.ufpe.br) - UFPE.
Qclib is an active project, and [other people](https://github.com/qclib/qclib/graphs/contributors) have contributed.

If you are doing research using qclib, please cite our project.
We use a [CITATION.cff](https://citation-file-format.github.io/) file, so you can easily copy the citation information from the repository landing page.

## License
qclib is **free** and **open source**, released under the Apache License, Version 2.0.
ansible-forum-events 0.1.0
Prints out the upcoming Ansible Forum events from the forum API in markdown format.

# afe

`afe` aka Ansible Forum events, prints out the upcoming Ansible Forum events from the [Ansible forum](https://forum.ansible.com/c/events/8)  in markdown format.

## Usage

```sh
❯ afe
Skipping about-the-events-category
Skipping documentation-wg-weekly-meeting
Skipping community-wg-weekly-meeting



[AAP Config as Code Office Hours - First Thursday of Every Month](https://forum.ansible.com/t/aap-config-as-code-office-hours-first-thursday-of-every-month/398)
[AWX Community Meeting](https://forum.ansible.com/t/awx-community-meeting/120)
[Ansible-Minneapolis: August Meetup [2025-08-28]](https://forum.ansible.com/t/ansible-minneapolis-august-meetup-2025-08-28/43809)
[AWS Community Meeting](https://forum.ansible.com/t/aws-community-meeting/1848)
[8. Ansible Anwendertreffen](https://forum.ansible.com/t/8-ansible-anwendertreffen/43960)
[Ansible-Pune: Ansible Bangalore Meetup - September 2025 [2025-09-06]](https://forum.ansible.com/t/ansible-pune-ansible-bangalore-meetup-september-2025-2025-09-06/44105)
[Ansible-London: Ansible London – Thursday 9th October 2025 [2025-10-09]](https://forum.ansible.com/t/ansible-london-ansible-london-thursday-9th-october-2025-2025-10-09/43849)
[Red Hat Summit: Connect 2025 London](https://forum.ansible.com/t/red-hat-summit-connect-2025-london/43244)

```

It currently skips two regular weekly working group meetings.


## License

"GPL-3.0-or-later"
pylabelme2yolo 0.1.2
Convert LabelMe annotations to YOLO format
Requires Python: >=3.7

# pylabelme2yolo
convert labelme to yolo segment format with stable class id

## features
1. class id will be dependes on the classes.txt file, and it never change in multiple run
2. generate yolo segment data folder in `{json_dir}\data`

## Installation & Usage
```shell
pip install pylabelme2yolo
```

```shell
pylabelme2yolo --output_format polygon --json_dir images
```
fernet256 3.0.0
Simplified AES-256 encryption tool inspired by Fernet
Requires Python: >=3.9

# 🔐 fernet256 — Simplified AES-256 Encryption Inspired by Fernet

`fernet256` is a lightweight and modular encryption library built around **AES-256-CBC** and **HMAC-SHA256**, inspired by the simplicity of the Fernet specification. It provides a clean interface for encrypting and decrypting byte-based payloads with optional integrity and timestamp features.

## ✨ Highlights

- AES-256-CBC encryption for secure data protection
- HMAC-SHA256 verification for tamper detection
- Optional timestamp support for expiration control
- Simplified, readable code inspired by Fernet but fully customizable
- Modular design: no opaque black-box structures

## 🚀 Installation

```bash
pip install fernet256