Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shiguredo/sora-python-sdk-examples
Sora Python SDK サンプル集
https://github.com/shiguredo/sora-python-sdk-examples
python webrtc
Last synced: 3 months ago
JSON representation
Sora Python SDK サンプル集
- Host: GitHub
- URL: https://github.com/shiguredo/sora-python-sdk-examples
- Owner: shiguredo
- License: apache-2.0
- Created: 2023-03-15T07:47:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:08:09.000Z (4 months ago)
- Last Synced: 2024-11-10T00:15:24.603Z (3 months ago)
- Topics: python, webrtc
- Language: Python
- Homepage: https://sora-python-sdk.shiguredo.jp/
- Size: 460 KB
- Stars: 3
- Watchers: 10
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# Sora Python SDK サンプル集
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
## 概要
Sora Python SDK のサンプルコードをまとめたリポジトリです。
- Sora Python SDK の最新の安定版を利用しています
- PyPI に登録されている Sora Python SDK を利用しています
- サンプルコードを利用した E2E テストを実行できます## セットアップ
[uv](https://docs.astral.sh/uv/) というパッケージマネージャーを利用しています。
インストール方法は をご確認ください。
### 依存パッケージのビルド
```bash
uv sync
```## サンプルコードの実行
`.env.template` をコピーして `.env` に必要な変数を設定してください。
```bash
cp .env.template .env
```例えば `media_sendonly.py` を実行する場合は以下のコマンドを実行してください。
```bash
uv run python3 src/media_sendonly.py
```## E2E テストの実行
`.env.template` をコピーして `.env` に必要な変数を設定してください。
```bash
cp .env.template .env
``````bash
uv run pytest tests
```## ライセンス
Apache License 2.0
```text
Copyright 2023-2024, tnoho (Original Author)
Copyright 2023-2024, Shiguredo Inc.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```このリポジトリに含まれる `shiguremaru.png` ファイルのライセンスは [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.ja) です。