semvec/pypi-packages huggingface dataset:
mcp-python-sdk-test 0.1.2.2
mcp python sdk aliyun



[//]: # (1. python3 -m venv myenv)

[//]: # (2. source myenv/bin/activate  激活虚拟环境)

[//]: # (3. pip3 install -r requirements.txt  安装依赖)

[//]: # (4. pyinstaller --onefile __main__.py --name mcp-server-aliyun-python-sdk)


# **说明**
mcp python sdk，用于适配阿里云服务注册中心开发的运行在客户端本地的mcp server。

整体方案：https://alidocs.dingtalk.com/i/nodes/gwva2dxOW4vRkd9DUqbedAnGJbkz3BRL

sdk使用方式：https://alidocs.dingtalk.com/i/nodes/gvNG4YZ7Jnxop15OCnEXnDqEW2LD0oRE

# 使用方式概览
两种使用方式。

## 方式一：直接使用源码

源码clone到本地后，创建python虚拟环境，从requirements.txt文件安装依赖，然后在支持cline的客户端启动客户端即可。

详情参照[sdk使用文档](https://alidocs.dingtalk.com/i/nodes/gvNG4YZ7Jnxop15OCnEXnDqEW2LD0oRE)

## 方式二：打包可执行文件

源码clone到本地后，创建python虚拟环境，从requirements.txt文件安装依赖，使用pyinstaller打包成可执行文件，然后在支持cline的客户端通过该可执行文件启动即可。

文档[sdk使用文档](https://alidocs.dingtalk.com/i/nodes/gvNG4YZ7Jnxop15OCnEXnDqEW2LD0oRE)中有已经打包好的可执行文件。
gemini-live-voice-only 0.1.1
A real-time Gemini API streaming library with FastAPI integration

# 🎙️ Gemini Live Voice Only Python

**Gemini Live Voice Only** is a real-time streaming library that integrates the Gemini API with FastAPI and WebRTC using `fastrtc`. This package enables developers to build applications that process audio streams in real time—ideal for tasks such as voice-based ID matching. 🔊

## ✨ Features

- 🚀 **Real-time Audio Streaming:** Seamlessly stream audio data via FastAPI and WebRTC.
- 🔍 **Gemini API Integration:** Leverage the Gemini API's live voice processing capabilities.
- ⚙️ **Customizable Configuration:** Set your API key, system prompt, and voice name at initialization.
- 🌍 **Flexible CORS Setup:** Configure CORS settings to suit your deployment needs.
- 🛠️ **Easy-to-Use API:** Quickly create and run your streaming server with minimal setup.

## 📥 Installation

Install the package from PyPI:

```bash
pip install gemini_live_voice_only
```

Or install it in editable mode from the source repository:

```bash
git clone <repository_url>
cd gemini_live_voice_only
pip install -e .
```

## 🚀 Usage

Here's a quick example to get you started:

```python
from gemini_live_voice_only import create_gemini_stream
import uvicorn

# 🎛️ Configuration parameters
API_KEY = "YOUR_API_KEY"
SYSTEM_PROMPT = (
    "You are a specialized ID matching tool. Compare input IDs with the reference ID 'RBTL24CB067' "
    "and output only the matching percentage."
)
VOICE_NAME = "Puck"

# 🎤 Create the FastAPI app with customizable CORS settings
app = create_gemini_stream(
    api_key=API_KEY,
    system_prompt=SYSTEM_PROMPT,
    voice_name=VOICE_NAME,
    cors_origins=["https://yourdomain.com"],  # specify allowed origins
    cors_allow_credentials=True,
    cors_allow_methods=["*"],
    cors_allow_headers=["*"],
)

if __name__ == "__main__":
    uvicorn.run(app, host="127.0.0.1", port=7860, reload=True)
```

## ⚙️ Configuration Options

When using the `create_gemini_stream` function, you can configure:

- 🔑 **API Key, System Prompt, and Voice Name:** Required for setting up the Gemini API connection.
- 🌐 **ICE Servers:** Customize the ICE server list for WebRTC connections if needed.
- 🔄 **CORS Settings:** Configure `cors_origins`, `cors_allow_credentials`, `cors_allow_methods`, and `cors_allow_headers` for cross-origin resource sharing.
- 🎶 **Audio Stream Parameters:** Adjust `expected_layout`, `output_sample_rate`, `output_frame_size`, and `input_sample_rate` based on your audio processing needs.
- ⚡ **Concurrency & Time Limits:** Modify `concurrency_limit` and `time_limit` to suit your application's requirements.

## 🤝 Contributing

Contributions are welcome! 🎉 If you have suggestions, bug reports, or feature requests, please open an issue or submit a pull request. 🚀
foursquare.map-sdk 3.1.0
Jupyter Widget for Foursquare Studio Maps
Requires Python: >=3.8
Keywords: Jupyter, Widgets, IPython

# foursquare.map_sdk

Foursquare Map SDK for Jupyter (Python).

Refer to the documentation website for [how to install](https://location.foursquare.com/studio/docs/cloud-notebooks), [API documentation](https://location.foursquare.com/developer/docs/studio-map-sdk-api-reference), and [examples](https://github.com/foursquare/fsq-studio-sdk-examples/).


## License

(c) 2024 Foursquare Labs, Inc. Terms available at https://location.foursquare.com/legal/terms/foursquarestudio-terms-of-service/