semvec/pypi-packages huggingface dataset:
altimetry-io 0.1.4
Provide a unified way to read a data collection, independent of the underlying data representation.
Requires Python: >=3.11

# Altimetry-io

A library providing a unified way to read an altimetry data collection, independent of the underlying data representation.

- Relies on [Files Collections](https://pypi.org/project/files-collections/) for NetCDF files collections reading
- Can also read ZCollections format


## Quick start

```bash
conda install altimetry-io
```

```python
from altimetry.io import AltimetryData, FileCollectionSource

alti_data = AltimetryData(
    source=FileCollectionSource(
        path=output_dir,
        ftype="SWOT_L3_LR_SSH",
        subset="Unsmoothed"
    ),
)

ds = alti_data.query_orbit(
    cycle_number=13,
    pass_number= [153, 155, 157, 181, 183, 209, 211, 237],
    variables=["time", "latitude", "longitude", "quality_flag", "ssha_unedited"],
    polygon=(-151, -109, 71, 78)
)
```

## Project status

⚠️ This project is still subject to breaking changes. Versioning will reflects
the breaking changes using SemVer convention

## License

Apache 2.0 — see [LICENSE](LICENSE)
deltakit-explorer 0.7.1
Deltakit (component deltakit-explorer)
Requires Python: <3.14,>=3.10

# Deltakit (component `deltakit-explorer`)

[![docs - here!][docs-badge]][docs-link]
[![PyPI][pypi-badge]][pypi-link]
[![Python versions][python-badge]][pypi-link]
[![Typing][typing-badge]][typing-link]
[![License: Apache 2.0][license-badge]][license-link]
[![SemVer][semver-badge]][semver-link]
[![SPEC 0][spec0-badge]][spec0-link]
[![Issues][issues-badge]][issues-link]
[![Discussions][discussions-badge]][discussions-link]

[docs-badge]: https://readthedocs.org/projects/deltakit/badge/?version=latest
[docs-link]: https://deltakit.readthedocs.io/

[pypi-badge]: https://img.shields.io/pypi/v/deltakit.svg
[pypi-link]: https://pypi.org/project/deltakit/

[python-badge]: https://img.shields.io/pypi/pyversions/deltakit

[typing-badge]: https://img.shields.io/pypi/types/deltakit
[typing-link]: https://typing.python.org/

[license-badge]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
[license-link]: https://www.apache.org/licenses/LICENSE-2.0

[semver-badge]: https://img.shields.io/badge/semver-2.0.0-blue
[semver-link]: https://semver.org/spec/v2.0.0.html

[spec0-badge]: https://img.shields.io/badge/SPEC-0-forestgreen
[spec0-link]: https://scientific-python.org/specs/spec-0000/

[issues-badge]: https://img.shields.io/github/issues/Deltakit/deltakit?logo=github
[issues-link]: https://github.com/Deltakit/deltakit/issues

[discussions-badge]: https://img.shields.io/badge/discussions-join-blue?logo=github
[discussions-link]: https://github.com/Deltakit/deltakit/discussions

Deltakit allows you to create and run quantum error correction (QEC) experiments with features
including circuit generation, simulation, decoding and results analysis.

Whether you're a seasoned QEC researcher or just starting out, Deltakit supports you
in exploring new ways to implement QEC logic all the way to running complex
QEC circuits on QPU hardware.

This package, `deltakit-explorer`, is a component package of Deltakit; please see [Deltakit](https://pypi.org/project/deltakit/) for more information.
deltakit-decode 0.7.1
Deltakit (component deltakit-decode)
Requires Python: <3.14,>=3.10

# Deltakit (component `deltakit-decode`)

[![docs - here!][docs-badge]][docs-link]
[![PyPI][pypi-badge]][pypi-link]
[![Python versions][python-badge]][pypi-link]
[![Typing][typing-badge]][typing-link]
[![License: Apache 2.0][license-badge]][license-link]
[![SemVer][semver-badge]][semver-link]
[![SPEC 0][spec0-badge]][spec0-link]
[![Issues][issues-badge]][issues-link]
[![Discussions][discussions-badge]][discussions-link]

[docs-badge]: https://readthedocs.org/projects/deltakit/badge/?version=latest
[docs-link]: https://deltakit.readthedocs.io/

[pypi-badge]: https://img.shields.io/pypi/v/deltakit.svg
[pypi-link]: https://pypi.org/project/deltakit/

[python-badge]: https://img.shields.io/pypi/pyversions/deltakit

[typing-badge]: https://img.shields.io/pypi/types/deltakit
[typing-link]: https://typing.python.org/

[license-badge]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
[license-link]: https://www.apache.org/licenses/LICENSE-2.0

[semver-badge]: https://img.shields.io/badge/semver-2.0.0-blue
[semver-link]: https://semver.org/spec/v2.0.0.html

[spec0-badge]: https://img.shields.io/badge/SPEC-0-forestgreen
[spec0-link]: https://scientific-python.org/specs/spec-0000/

[issues-badge]: https://img.shields.io/github/issues/Deltakit/deltakit?logo=github
[issues-link]: https://github.com/Deltakit/deltakit/issues

[discussions-badge]: https://img.shields.io/badge/discussions-join-blue?logo=github
[discussions-link]: https://github.com/Deltakit/deltakit/discussions

Deltakit allows you to create and run quantum error correction (QEC) experiments with features
including circuit generation, simulation, decoding and results analysis.

Whether you're a seasoned QEC researcher or just starting out, Deltakit supports you
in exploring new ways to implement QEC logic all the way to running complex
QEC circuits on QPU hardware.

This package, `deltakit-decode`, is a component package of Deltakit; please see [Deltakit](https://pypi.org/project/deltakit/) for more information.
deltakit-core 0.7.1
Deltakit (component deltakit-core)
Requires Python: <3.14,>=3.10

[![docs - here!][docs-badge]][docs-link]
[![PyPI][pypi-badge]][pypi-link]
[![Python versions][python-badge]][pypi-link]
[![Typing][typing-badge]][typing-link]
[![License: Apache 2.0][license-badge]][license-link]
[![SemVer][semver-badge]][semver-link]
[![SPEC 0][spec0-badge]][spec0-link]
[![Issues][issues-badge]][issues-link]
[![Discussions][discussions-badge]][discussions-link]

[docs-badge]: https://readthedocs.org/projects/deltakit/badge/?version=latest
[docs-link]: https://deltakit.readthedocs.io/

[pypi-badge]: https://img.shields.io/pypi/v/deltakit.svg
[pypi-link]: https://pypi.org/project/deltakit/

[python-badge]: https://img.shields.io/pypi/pyversions/deltakit

[typing-badge]: https://img.shields.io/pypi/types/deltakit
[typing-link]: https://typing.python.org/

[license-badge]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
[license-link]: https://www.apache.org/licenses/LICENSE-2.0

[semver-badge]: https://img.shields.io/badge/semver-2.0.0-blue
[semver-link]: https://semver.org/spec/v2.0.0.html

[spec0-badge]: https://img.shields.io/badge/SPEC-0-forestgreen
[spec0-link]: https://scientific-python.org/specs/spec-0000/

[issues-badge]: https://img.shields.io/github/issues/Deltakit/deltakit?logo=github
[issues-link]: https://github.com/Deltakit/deltakit/issues

[discussions-badge]: https://img.shields.io/badge/discussions-join-blue?logo=github
[discussions-link]: https://github.com/Deltakit/deltakit/discussions

--

<p align="center">
  <picture>
    <img alt="Deltakit-core logo" src="./docs/logo/deltakit_core.png" width="75%">
  </picture>
</p>

---

Deltakit allows you to create and run quantum error correction (QEC) experiments with features
including circuit generation, simulation, decoding and results analysis.

Whether you're a seasoned QEC researcher or just starting out, Deltakit supports you
in exploring new ways to implement QEC logic all the way to running complex
QEC circuits on QPU hardware.

This package, `deltakit-core`, is a component package of Deltakit; please see [Deltakit](https://pypi.org/project/deltakit/) for more information.
deltakit-compile 0.7.1
Deltakit (component deltakit-compile)
Requires Python: >=3.10

# Deltakit (component `deltakit-compile`)

[![docs - here!][docs-badge]][docs-link]
[![PyPI][pypi-badge]][pypi-link]
[![Python versions][python-badge]][pypi-link]
[![Typing][typing-badge]][typing-link]
[![License: Apache 2.0][license-badge]][license-link]
[![SemVer][semver-badge]][semver-link]
[![SPEC 0][spec0-badge]][spec0-link]
[![Issues][issues-badge]][issues-link]
[![Discussions][discussions-badge]][discussions-link]

[docs-badge]: https://readthedocs.org/projects/deltakit/badge/?version=latest
[docs-link]: https://deltakit.readthedocs.io/

[pypi-badge]: https://img.shields.io/pypi/v/deltakit.svg
[pypi-link]: https://pypi.org/project/deltakit/

[python-badge]: https://img.shields.io/pypi/pyversions/deltakit

[typing-badge]: https://img.shields.io/pypi/types/deltakit
[typing-link]: https://typing.python.org/

[license-badge]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
[license-link]: https://www.apache.org/licenses/LICENSE-2.0

[semver-badge]: https://img.shields.io/badge/semver-2.0.0-blue
[semver-link]: https://semver.org/spec/v2.0.0.html

[spec0-badge]: https://img.shields.io/badge/SPEC-0-forestgreen
[spec0-link]: https://scientific-python.org/specs/spec-0000/

[issues-badge]: https://img.shields.io/github/issues/Deltakit/deltakit?logo=github
[issues-link]: https://github.com/Deltakit/deltakit/issues

[discussions-badge]: https://img.shields.io/badge/discussions-join-blue?logo=github
[discussions-link]: https://github.com/Deltakit/deltakit/discussions

Deltakit allows you to create and run quantum error correction (QEC) experiments with features
including circuit generation, simulation, decoding and results analysis.

Whether you're a seasoned QEC researcher or just starting out, Deltakit supports you
in exploring new ways to implement QEC logic all the way to running complex
QEC circuits on QPU hardware.

This package, `deltakit-compile`, is a component package of Deltakit; please see
[Deltakit](https://pypi.org/project/deltakit/) for more information.
deltakit-circuit 0.7.1
Deltakit (component deltakit-circuit)
Requires Python: <3.14,>=3.10

# Deltakit (component `deltakit-circuit`)

[![docs - here!][docs-badge]][docs-link]
[![PyPI][pypi-badge]][pypi-link]
[![Python versions][python-badge]][pypi-link]
[![Typing][typing-badge]][typing-link]
[![License: Apache 2.0][license-badge]][license-link]
[![SemVer][semver-badge]][semver-link]
[![SPEC 0][spec0-badge]][spec0-link]
[![Issues][issues-badge]][issues-link]
[![Discussions][discussions-badge]][discussions-link]

[docs-badge]: https://readthedocs.org/projects/deltakit/badge/?version=latest
[docs-link]: https://deltakit.readthedocs.io/

[pypi-badge]: https://img.shields.io/pypi/v/deltakit.svg
[pypi-link]: https://pypi.org/project/deltakit/

[python-badge]: https://img.shields.io/pypi/pyversions/deltakit

[typing-badge]: https://img.shields.io/pypi/types/deltakit
[typing-link]: https://typing.python.org/

[license-badge]: https://img.shields.io/badge/License-Apache_2.0-blue.svg
[license-link]: https://www.apache.org/licenses/LICENSE-2.0

[semver-badge]: https://img.shields.io/badge/semver-2.0.0-blue
[semver-link]: https://semver.org/spec/v2.0.0.html

[spec0-badge]: https://img.shields.io/badge/SPEC-0-forestgreen
[spec0-link]: https://scientific-python.org/specs/spec-0000/

[issues-badge]: https://img.shields.io/github/issues/Deltakit/deltakit?logo=github
[issues-link]: https://github.com/Deltakit/deltakit/issues

[discussions-badge]: https://img.shields.io/badge/discussions-join-blue?logo=github
[discussions-link]: https://github.com/Deltakit/deltakit/discussions

Deltakit allows you to create and run quantum error correction (QEC) experiments with features
including circuit generation, simulation, decoding and results analysis.

Whether you're a seasoned QEC researcher or just starting out, Deltakit supports you
in exploring new ways to implement QEC logic all the way to running complex
QEC circuits on QPU hardware.

This package, `deltakit-circuit`, is a component package of Deltakit; please see [Deltakit](https://pypi.org/project/deltakit/) for more information.
akhmshare 0.1.0
Universal Telegram bot mailing SDK
Requires Python: >=3.8

# AKHMShare

**AKHMShare** is a universal Python library for Telegram bot mailing.  
It allows bot creators to send broadcast messages to Telegram users in a safe, scalable way.  

The library uses the Telegram Bot API directly and handles all background polling.  
The bot creator only needs to provide a `get_user_ids()` function and their bot credentials.

---

## Features

- Single main class: `AKHMShare`  
- Bot creator only provides `BOT_TOKEN`, `API_KEY`, `API_URL`, and `get_user_ids()`  
- Validates that the function returns a list/set of Telegram user IDs  
- Background polling (non-blocking)  
- Automatic duplicate message prevention  
- Direct Telegram Bot API integration (no external bot libraries required)

---

## Installation

Clone the repository and install:

```bash
git clone https://github.com/sk1llpy/akhmshare
cd akhmshare
pip install .
stario 2.2.1
Stario - High-performance Python web framework
Requires Python: >=3.14

<p align="center">
  <picture>
    <img alt="stario-logo" src="https://raw.githubusercontent.com/bobowski/stario/main/docs/img/stario.png" style="height: 200px; width: auto;">
  </picture>
</p>

<p align="center">
  <em>Real-time hypermedia for Python 3.14+</em>
</p>

---

**Documentation**: [stario.dev](https://stario.dev) · **Source**: [github.com/bobowski/stario](https://github.com/bobowski/stario)

---

## What is Stario?

Stario is a Python web framework for **real-time hypermedia**. While most frameworks treat HTTP as request → response, Stario treats connections as ongoing conversations - open an SSE stream, push DOM patches, sync reactive signals.

## Why Stario?

- **Real-time first** - SSE streaming, DOM patching, reactive signals built-in
- **Hypermedia** - Native [Datastar](https://data-star.dev/) integration, no JavaScript frameworks needed
- **Simple** - Go-style handlers `(Context, Writer) → None`
- **Fast** - Built on `httptools` with zstd/brotli/gzip compression

## Get Started

Install with `uv add stario` or `pip install stario`, then run `stario init` to create a new project. Requires **Python 3.14+**.

See the [documentation](https://stario.dev) for tutorials, API reference, and how-to guides.

---

<p align="center"><em>Stario: Real-time hypermedia, made simple.</em></p>
gl-py2pyd 0.3.2
将Python文件转换为pyd/so文件的工具
Requires Python: >=3.9

# py2pyd - Python转pyd/so工具

将Python文件(.py)转换为编译后的Python扩展模块(.pyd或.so)，使用Cython进行编译。

## 功能特点

- 支持单个Python文件的转换
- 支持目录批量转换
- 支持递归处理子目录
- 转换后可选择是否删除原始Python文件（交互式确认）
- 保留`__init__.py`文件内容处理
- 自动检测依赖并提供错误处理
- 针对不同操作系统自动选择正确的扩展名（Windows为.pyd，Linux/macOS为.so）
- 编译后保留带 ABI 标签的原始文件名（如 `module.cpython-311-darwin.so`）
- 美观的进度条显示

## 安装

```bash
pip install gl-py2pyd
```

### 系统要求

你的系统需要有合适的C/C++编译器：
- **Windows**: 需要安装 Visual C++ Build Tools
- **Linux**: 需要安装 GCC
- **macOS**: 需要安装 XCode 命令行工具（`xcode-select --install`）

## 使用方法

### 命令行使用

```bash
# 转换单个文件
py2pyd file.py

# 转换目录下所有Python文件
py2pyd folder/

# 递归转换目录及其子目录中的所有Python文件
py2pyd -r folder/

# 转换后删除原始Python文件（会弹出交互式确认菜单）
py2pyd -d file.py

# 删除且跳过确认提示（适用于 CI/CD 或脚本自动化）
py2pyd -d --no-confirm file.py

# 组合使用
py2pyd -r -d folder/

# 查看版本
py2pyd -v

# 查看帮助
py2pyd -h
```

### 输出示例

```
📄 处理文件: test.py
  转换进度 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100%

✅ 处理完成！成功: 1 个文件

🎉 全部转换成功！
```

### 关于编译后的文件名

编译后的文件会保留带有 Python 版本和平台信息的 ABI 标签，例如：

- `module.cpython-311-darwin.so`（macOS, Python 3.11）
- `module.cpython-311-x86_64-linux-gnu.so`（Linux, Python 3.11）
- `module.cp311-win_amd64.pyd`（Windows, Python 3.11）

> **注意**: 编译后的扩展模块只能在对应的 Python 版本上使用。例如用 Python 3.11 编译的模块无法在 Python 3.10 或 3.12 上加载。

### 作为模块导入

```python
# 转换单个文件
from module.single_py2pyd import py2pyd
success = py2pyd('path/to/your/file.py')
if success:
    print("转换成功")
else:
    print("转换失败")

# 转换整个目录
from module.fileConversion import FileConversion
converter = FileConversion()
success = converter.get_all_file('path/to/your/directory', need_remove=False)
print(f"成功：{converter.success_count} 个文件，失败：{converter.fail_count} 个文件")
```

## 错误处理

工具会自动检测必要的依赖并提供错误信息。常见问题包括：

1. **缺少Cython**: 运行前会检查Cython是否已安装，若未安装则会提示安装
2. **编译失败**: 可能是缺少编译器或者Python文件内容有问题

## 优化的编译选项

本工具针对不同操作系统和环境进行了编译选项优化：

1. **设置语言级别**: 显式设置Cython的`language_level`为3，避免语言级别警告
2. **禁止无用代码警告**: 添加适当的编译选项(`-Wno-unreachable-code`)以禁止Cython生成的C代码中的不可达代码警告
3. **修复Conda/Miniconda链接警告**: 在Conda环境中自动调整链接选项，避免重复的rpath警告

## 注意事项

- 确保已安装Cython和适当的编译器
- 转换后的so/pyd文件会保留在原始Python文件的相同目录中
- 在Windows系统上生成.pyd文件，在Linux/macOS上生成.so文件
- 编译后的模块绑定特定 Python 版本，不同版本间不兼容
- 对于复杂的Python项目，可能需要额外的编译选项

## License

MIT License
IsoSpecPy 2.3.4
IsoSpecPy is a Python library for computing isotopic distributions of molecules.
Requires Python: >=3.6
Keywords: isotopic distribution, mass spectrometry, chemistry, isotopic envelope, isotopologues

IsoSpec, the isotopic fine structure calculator
===============================================

The main purpose of this software package is to be used as a library, 
mostly in mass spectrometry software. We do not provide any standalone
programs, except for those in Examples directory which are intended to
showcase the usage of the library.

Please see the code in Examples directory for example usage.

The software is publically available under a 2-clause BSD licence. If 
you require other licensing terms, please contact the authors. See 
LICENCE file for more details.

More details about the program may be found in the following Analytical
Chemistry publications:

https://pubs.acs.org/doi/10.1021/acs.analchem.0c00959
https://pubs.acs.org/doi/abs/10.1021/acs.analchem.6b01459

See especially the Supporting Information for details about the algorithm.
fastapi-nplusone 0.1.0
A middlewere to help find n+1 queries in sqlalchemy.
Requires Python: >=3.10

# FastAPI / SQLAlchemy N+1 query middleware

A FastAPI middleware to find N+1 queries in development.
This middleware helps developers identify and fix N+1 query issues in their FastAPI applications.
It provides logging information to help locate the query and the number of N+1 query occurrences.

This middleware should probably not be used in production, but it can be useful during development and 
testing.

## Installation

Pip Install:
```bash
pip install fastapi-nplusone
```

UV install:
```bash
uv install fastapi-nplusone
```

Poetry install:
```bash
poetry add fastapi-nplusone
```

## Usage

This middleware while suitable to run in production should probably be limited to development and tesring. The code 
snippet below shows how to add the middleware to your application.

```python
from fastapi import FastAPI
from fastapi_nplusone import NPlusOneMiddleware

app = FastAPI()
if not app.debug:
    app.add_middleware(NPlusOneMiddleware)

```

Example Output:

> 
> WARNING:fastapi_nplusone:Potential N+1 query detected on GET /api/changes: Query executed 3 times. Normalized query: 
>   SELECT change.id AS change_id
>

### Tests

To run the tests:

```bash
uv run pytest ./tests
```