semvec/pypi-packages huggingface dataset:
soundpython 0.1.11
Simple audio processing library.
Requires Python: >=3.10

# soundpython

soundpython is a Python library for audio file processing that provides a simple, intuitive interface for working with audio data. It supports various audio formats and offers functionality for both mono and stereo audio manipulation.

## Features

- Load and save audio in multiple formats (MP3, WAV, OGG, FLAC)
- Convert between mono and stereo audio
- Manipulate individual audio channels
- Extract portions of audio by time
- Concatenate audio files with optional crossfade
- Create smooth audio transitions with crossfading overlay
- Automatic audio normalization
- Comprehensive metadata handling

## Requirements

- Python 3.10 or higher
- NumPy 2.1.0 or higher
- FFmpeg (must be installed and available in system PATH)

## Installation

Install the package using pip:


```bash
pip install soundpython
```

## Usage

Here are some common usage examples:

```python
from soundpython import Audio

# Load an audio file
audio = Audio.from_file("song.mp3")

# Convert stereo to mono
mono_audio = audio.to_mono()

# Extract left channel from stereo audio
left_channel = audio.get_channel(0)

# Extract portions of audio by time
intro = audio.slice(end_seconds=30.0)  # First 30 seconds
chorus = audio.slice(60.0, 90.0)       # 30-second clip from 1:00 to 1:30
outro = audio.slice(180.0)             # Everything after 3:00

# Simple concatenation of audio segments
combined = intro.concat(chorus)

# Crossfade between two audio segments
# The end of intro will fade out while the start of outro fades in
crossfaded = intro.overlay(outro, fade_duration=2.0)  # 2-second crossfade

# Create silent tracks
stereo_silence = Audio.create_silent(duration_seconds=5.0)  # 5 seconds of stereo silence
mono_silence = Audio.create_silent(duration_seconds=3.0, stereo=False)  # 3 seconds of mono silence

# Save in different formats
audio.save("output.wav")
audio.save("output.mp3")
```

## Audio Metadata

The library provides detailed metadata about audio files through the `AudioMetadata` class:

```python
# Access audio metadata
print(f"Sample rate: {audio.metadata.sample_rate}Hz")
print(f"Channels: {audio.metadata.channels}")
print(f"Duration: {audio.metadata.duration_seconds:.2f}s")
print(f"Bit depth: {audio.metadata.bits_per_sample} bits")
```

## Development

To set up the development environment:

0. Install `uv`
1. Clone the repository
2. Install development dependencies:
```bash
uv sync --dev
```
3. Run tests:
```bash
uv run pytest
```
mcp-tapd 0.0.2
TAPD MCP Server
Requires Python: >=3.13
Keywords: mcp, tapd

# TAPD MCP Server

TAPD MCP Server 是一个 Model Context Protocol (MCP) 的实现，用于连接 TAPD（腾讯敏捷产品研发平台）与 AI 编码助手。通过这个服务器，您可以：

* 与 TAPD API 无缝集成，提升开发效率

## System requirements

* uv
* TAPD API Token https://open.tapd.cn/document/api-doc/API%E6%96%87%E6%A1%A3/API%E9%85%8D%E7%BD%AE%E6%8C%87%E5%BC%95.html

## Setup Guide
### Install uv
```
brew install uv
# OR
curl -LsSf https://astral.sh/uv/install.sh | sh
```

## Configuration and Usage
### Claude Desktop Setup
```
{
  "mcpServers": {
    "mcp-tapd": {
      "command": "uvx",
      "args": [
        "mcp-tapd",
        "--api-user=your_api_user",
        "--api-password=your_api_password"
        "--tapd-base-url=https://api.tapd.cn"
      ]
    }
  }
}
```

### Cursor IDE Setup
1. Open Cursor Settings
2. Navigate to Features > MCP Servers
3. Click Add new MCP server

For stdio transport:
```
name: mcp-tapd
type: command
command: uvx mcp-tapd --api-user=your_api_user --api-password=your_api_password --api-base-url=https://api.tapd.cn
```
ispositive 0.1
A simple package to check if a number is positive.
Requires Python: >=3.6

# ispositive

A simple Python package to check if a number is positive.

## Installation
```sh
pip install ispositive
```

## Usage
```python
import ispositive

print(ispositive.is_positive(5))  # True
print(ispositive.is_positive(-3)) # False
```

## Author
Created by Keshav Sharma

## License
MIT License - Free for everyone

### ðŸš€ Final Summary
1. **`LICENSE`** (MIT License - Free for everyone)  
2. **`README.md`** (Documentation with usage example)
jmcomic-api 0.5.2.0
A Python crawler for downloading content from JMComic.
Requires Python: >=3.8

# ~~还在施工~~一部分可以用

## 功能
- [x] 传入本子`ID`返回`base64`或文件二进制
- [x] 提供输出加密
- [ ] 文件提供
- [ ] 支持传入列表以批量下载本子


## 运行

### 推荐（通用）
1. **环境**
    ```plaintext
    理论 CPython >= 3.8 均可 (推荐使用 PyPy3.10 或 CPython3.13)
    ```
2. **安装**
    ```bash
    pip install jmcomic_api
    ```
3. **运行**
    ```bash
    python -m jmcomic_api
    ```

## 配置
配置路径均在软件输出,暂不提供更换配置路径

## 使用
访问 [`http://Host:Port/`](http://localhost:5000/) 查看 `FastAPI` 自带的文档（默认端口是 `5000` ）

## 谢谢他们和它们
- [JMComic-Crawler-Python](https://github.com/hect0x7/JMComic-Crawler-Python)
- [![Contributors](https://contributors-img.web.app/image?repo=Shua-github/JMComic-API-Python)](https://github.com/Shua-github/JMComic-API-Python/graphs/contributors)

## 其它
出现问题请开 [`Issues`](https://github.com/Shua-github/JMComic-API-Python/issues/new?template=Blank+issue)
pytest-testinfra 10.2.2
Test infrastructures
Requires Python: >=3.9

##################################
Testinfra test your infrastructure
##################################

Latest documentation: https://testinfra.readthedocs.io/en/latest

About
=====

With Testinfra you can write unit tests in Python to test *actual state* of
your servers configured by management tools like Salt_, Ansible_, Puppet_,
Chef_ and so on.

Testinfra aims to be a Serverspec_ equivalent in python and is written as
a plugin to the powerful Pytest_ test engine

License
=======

`Apache License 2.0 <https://github.com/pytest-dev/pytest-testinfra/blob/main/LICENSE>`_

The logo is licensed under the `Creative Commons NoDerivatives 4.0 License <https://creativecommons.org/licenses/by-nd/4.0/>`_
If you have some other use in mind, contact us.

Quick start
===========

Install testinfra using pip::

    $ pip install pytest-testinfra

    # or install the devel version
    $ pip install 'git+https://github.com/pytest-dev/pytest-testinfra@main#egg=pytest-testinfra'


Write your first tests file to `test_myinfra.py`:

.. code-block:: python

    def test_passwd_file(host):
        passwd = host.file("/etc/passwd")
        assert passwd.contains("root")
        assert passwd.user == "root"
        assert passwd.group == "root"
        assert passwd.mode == 0o644


    def test_nginx_is_installed(host):
        nginx = host.package("nginx")
        assert nginx.is_installed
        assert nginx.version.startswith("1.2")


    def test_nginx_running_and_enabled(host):
        nginx = host.service("nginx")
        assert nginx.is_running
        assert nginx.is_enabled


And run it::

    $ pytest -v test_myinfra.py


    ====================== test session starts ======================
    platform linux -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
    plugins: testinfra
    collected 3 items

    test_myinfra.py::test_passwd_file[local] PASSED
    test_myinfra.py::test_nginx_is_installed[local] PASSED
    test_myinfra.py::test_nginx_running_and_enabled[local] PASSED

    =================== 3 passed in 0.66 seconds ====================


.. _Salt: https://saltstack.com/
.. _Ansible: https://www.ansible.com/
.. _Puppet: https://puppetlabs.com/
.. _Chef: https://www.chef.io/
.. _Serverspec: https://serverspec.org/
.. _Pytest: https://pytest.org/
riverborn 1.0.0
A river canoeing game for PyWeek 39
Requires Python: >=3.10

# Riverborn

A PyWeek 39 game about canoeing on a tropical river.

You have 5 minutes to get photos of 3 river animals. Some Aussie guy is very
insistent about this.

Where is the river? Are all these creatures authentic river fauna? Is this a
canoe or a kayak?


## Controls

At the title screen, press Space to play.

Left Arrow - paddle on the left side
Right Arrow - paddle on the right side

That's it! Go spot some fauna! Quick, because your mate said so.


## When you're done

There are some editor controls you can play with. They are all invoked using
the mouse.

Press `Tab` to cycle tools (the CLI says which tool is selected). Click/drag to
use the tool. Mousewheel to cycle animals.

The terrain and animals are persisted when you quit the game so don't mess up
your copy of the game data and blame me.


# Credits

Programming: Daniel Pope
Voiceovers: Daniel Pope in a dodgy accent


## AI

Thanks to ChatGPT & Copilot, particularly o3-mini & Claude 3.7 Sonnet. You're
ridiculous at writing shaders and matrix maths, I could not have done this
without you. Actually I could but not in a week.


## 3D Models

https://opengameart.org/content/crocodile
https://opengameart.org/content/tiny-boat
https://poly.pizza/m/5hUIvLVFqet
https://poly.pizza/m/4HNi8dZMdZa


## Sounds
Splash Sounds -
https://freesound.org/people/InspectorJ/sounds/416710/
https://freesound.org/people/InspectorJ/sounds/398705/

Ambient Lake sound -
https://freesound.org/people/radam04/sounds/412942/
vBones 0.1.4
A simple Hello World package
Requires Python: >=3.6

# vBones

간단한 Hello World 패키지입니다.

## 설치 방법

```bash
pip install vbones
```

## 사용 방법

```python
from vbones import hello

# 기본 인사말 출력
hello.say_hello()

# 이름을 지정하여 인사말 출력
hello.say_hello("Voramae")
```
pyssq 0.1.1
Add your description here
Requires Python: >=3.12

# PySSQ - 中国双色球随机生成器

[![PyPI version](https://img.shields.io/pypi/v/pyssq.svg)](https://pypi.org/project/pyssq/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

一个简单的中国福利彩票双色球随机号码生成器。

## 安装(测试阶段使用 uv)

```bash
# 正式发布后
pip install pyssq

# 如果使用uv管理项目
# 正式发布后
uv add pyssq
# 测试发布时
uv add --default-index  https://test.pypi.org/simple/ pyssq
```

## 使用示例

```python
from pyssq import DoubleColorBall

# 生成一注
ticket = DoubleColorBall.generate()
print(DoubleColorBall.pretty_print(ticket))

# 生成5注
for i, ticket in enumerate(DoubleColorBall.generate_batch(5), 1):
    print(f"第{i}注: {DoubleColorBall.pretty_print(ticket)}")

# 验证号码
print(DoubleColorBall.validate([1,2,3,4,5,6], 7))  # True
print(DoubleColorBall.validate([1,1,2,3,4,5], 7))  # False
```

## 功能

- 随机生成符合规则的双色球号码
- 批量生成多注号码
- 号码验证功能
- 美化输出格式

## 贡献

欢迎提交 issue 或 pull request。

## 许可证

MIT