semvec/pypi-packages huggingface dataset:
pyfastmath 1.1.2
High-performance math functions implemented in C for Python.
Requires Python: >=3.6

# pyfastmath

🚀 **pyfastmath** is a blazing-fast math utility module for Python, written in C for maximum performance.
It includes essential number-theoretic functions like GCD, primality checking, modular exponentiation and many more. Check below for more information about the features.

---

## ✨ Features

*  `gcd(a, b)` – Compute the Greatest Common Divisor of two integers
*  `is_prime(n)` – Efficiently check if a number is prime
*  `mod_exp(base, exp, mod)` – Perform Modular Exponentiation: (base^exp) % mod
*  `lcm(a, b)` – Calculate the Lowest Common Multiplicant
*  `factorial(n)` – Calculate the factorial of a positive integer
*  `ncr(n, r)` – Calculate the combination of two number(nCr)
*  `npr(n, r)` – Calculate the permutation of two number(nPr)

---

## ⚙️ Installation

After building locally:

```bash
pip install .
```

> Or after uploading to PyPI:

```bash
pip install pyfastmath
```

---

## 🧪 Usage

```python
import pyfastmath

print(pyfastmath.gcd(48, 18))         # ➝ 6
print(pyfastmath.is_prime(97))        # ➝ True
print(pyfastmath.mod_exp(2, 10, 100)) # ➝ 24
print(pyfastmath.lcm(48, 18))         # ➝ 144
print(pyfastmath.factorial(5))        # ➝ 120
print(pyfastmath.ncr(5,2))            # ➝ 10
print(pyfastmath.npr(5, 2))           # ➝ 20
```

---
## Documentation

See the full documentation from here [Docs](https://gourabanandad.github.io/pyfastmath/)

## 🚧 Requirements

* Python 3.6 or higher
* C compiler (e.g. gcc, clang, MSVC)

---

## 💠 Build from Source

```bash
python setup.py sdist bdist_wheel
pip install dist/pyfastmath-<version>.whl
```

---

## 📦 Distribute via PyPI

```bash
pip install twine
twine upload dist/*
```

---

## 📜 License

This project is licensed under the [MIT License](LICENSE).

---
## Contribution
See the contribution guidelines [guidelines](CONTRIBUTING.md)


## 👨‍💻 Author

Built with ❤️ by **Gourabananda Datta**
B.Tech CSE, Ramkrishna Mahato Government Engineering College
provena-interfaces 2.10.3
Interfaces for Provena Application (see https://provena.io)


Provena-Interfaces is a Python package that provides interfaces for the Provena Application. It includes a set of interfaces that are used to interact with the Provena system. The interfaces are especially useful for parsing response payloads from the API, and for creating requests to the API. The interfaces will sit adjacent to (and be consumed by) a ProvenaClient library which is a work in progress.
nonebot_plugin_exhibitionism 0.1.1
让你的代码被群友看光光!
Requires Python: >=3.10

<div align="center">

# nonebot-plugin-exhibitionism

_✨ 让我看看！！赛博露阴癖，将你的代码展示到群聊 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/hlfzsi/nonebot-plugin-exhibitionism.svg" alt="license">
</a>
<a href="https://pypi.org/project/nonebot-plugin-exhibitionism/">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-exhibitionism.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python">

</div>

## 📖 介绍

这是一个让你的代码被群友看光光的 NoneBot2 插件！🔍

当你想要展示某个指令的源码实现时，只需要使用 `/see` 命令，插件会自动找到对应的处理器并将其源码以精美的代码图片形式展示出来。非常适合：

- 代码学习和交流
- 调试和问题排查
- 向群友炫耀你的代码（雾）
- 满足赛博露阴癖

## 💿 安装

### 使用 nb-cli 安装

在 NoneBot2 项目的根目录下打开命令行，输入以下指令即可安装：

```bash
nb plugin install nonebot-plugin-exhibitionism
```

### 使用包管理器安装

```bash
pip install nonebot-plugin-exhibitionism
```

### 使用 uv 安装

```bash
uv add nonebot-plugin-exhibitionism
```

然后在 NoneBot2 项目的 `pyproject.toml` 文件中的 `[tool.nonebot]` 部分添加：

```toml
plugins = ["nonebot_plugin_exhibitionism"]
```

## 🎉 使用

### 指令表


|       指令       |  权限  | 需要@ |   范围   |        说明        |
| :---------------: | :----: | :---: | :-------: | :----------------: |
| `/see [目标指令]` | 所有人 |  否  | 群聊/私聊 | 查看指定指令的源码 |

### 效果预览

发送指令：

```
/see /帮助
```

插件会：

1. 自动匹配到对应的处理器
2. 获取处理器的源码
3. 使用 Pygments 进行语法高亮
4. 生成精美的代码图片并发送

## ⚙️ 配置

本插件无需额外配置，安装即可使用。

### 配置项

- 代码风格：使用 `one-dark` 主题
- 字体大小：22px
- 包含行号显示
- 自动背景色处理

## 🔧 工作原理

1. **命令解析**：支持通过 Alconna 和传统 Matcher 两种方式匹配指令
2. **处理器查找**：模仿 Nonebot 事件处理流程，找到匹配的目标
3. **源码提取**：使用 `inspect` 模块获取处理器函数的源码
4. **代码渲染**：使用 Pygments 进行语法高亮，生成高质量代码图片
5. **图片发送**：将生成的图片通过 UniMessage 发送到群聊

## 🤝 贡献

欢迎提交 issue 和 pull request！

## 📄 许可证

本项目采用 AGPL-3 许可证。
mecord-cli 0.7.411
mecord tools
Requires Python: >=3.4

Mecord Python Tool
===============================================
The Mecord Python Tool is a official tool for mecodr, you can use it to **Register** device to mecord server, other person can use **Mecord Application** assign tasks to you for implementation

Installation
------------

The Mecord requires [Python](http://www.python.org/download) 3.10.6 or later.

##### Installing
    pip install mecord-cli

##### Uninstalling
    pip uninstall mecord-cli

Use
------------
##### 1. RegisterDevice To Mecord Server
    $ mecord deviceid
use mecord mobile application scan qrcode to register your device to mecord server

##### 2. Running
    $ mecord service start
start a process to wait for the server to issue tasks. **Please do not close it**

Module Developer
------------
    $ mecord widget init

in empty folder, use above command craete a mecord module, structure is like 
    
    [widget folder]
        |-- h5
            |-- config.json     //*required, do not change*
            |-- icon.png
            |-- index.html      //*required* index web page
            |-- MekongJS.js      //*required, do not change*
        |-- script
            |-- main.py         //*required, do not change* 
            |-- run.py

if other person share widget code to you , you can add widget path in your computer to mecord environment

    $ mecord widget add [path_with_widget_code]

you can modify script and h5 file yourself, then publish to mecord sever 
    
    $ mecord widget publish

#####other command
set/get multi process task number

    $ mecord set_multitask_num / get_multitask_num 1

add this device joined to other group using token, or show current group token , you can share it to other person

    $ mecord add_token /  show_token [token_string]

unregister this device from mecord server

    $ mecord unbind

get mecord version
    $ mecord version