afplay-py-0.2.0
توضیحات
A wrapper around macOS afplay
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | afplay-py-0.2.0 |
| نام | afplay-py |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Juliya Smith <juliya@juliyasmith.com> |
| ایمیل نویسنده | juliya@juliyasmith.com |
| آدرس صفحه اصلی | https://github.com/unparalleled-js/afplay-py |
| آدرس اینترنتی | https://pypi.org/project/afplay-py/ |
| مجوز | Apache-2.0 |
# afplay-py
A python wrapper around the macOS tool `afplay` (audio-file player).
## Installation
From pip:
```shell
pip install afplay-py
```
From source (from the root project directory):
```shell
pip install .
```
## Quick Usage
Play an audio file:
```python
from afplay import afplay
afplay("path/to/file.mp3", volume=2, time=100, leaks=True)
```
Check if `afplay` is installed:
```python
from afplay import is_installed
print(is_installed())
```
نیازمندی
| مقدار | نام |
|---|---|
| >=7.0 | pytest |
| <4,>=3.10.0 | pytest-mock |
| >=23.3.0 | black |
| <2,>=1.0 | mypy |
| - | types-requests |
| - | types-setuptools |
| >=5.0.4 | flake8 |
| >=5.10.1 | isort |
| >=0.7.16 | mdformat |
| >=0.3.5 | mdformat-gfm |
| >=0.4.1 | mdformat-frontmatter |
| <4,>=3.4.3 | Sphinx |
| <1,>=0.1.9 | sphinx-rtd-theme |
| <20,>=19.2.0 | towncrier |
| - | setuptools |
| - | setuptools-scm |
| - | wheel |
| ==3.8 | twine |
| <4,>=3.0.18121 | python-vlc |
| <4,>=3.4.3 | Sphinx |
| <1,>=0.1.9 | sphinx-rtd-theme |
| <20,>=19.2.0 | towncrier |
| >=23.3.0 | black |
| <2,>=1.0 | mypy |
| - | types-requests |
| - | types-setuptools |
| >=5.0.4 | flake8 |
| >=5.10.1 | isort |
| >=0.7.16 | mdformat |
| >=0.3.5 | mdformat-gfm |
| >=0.4.1 | mdformat-frontmatter |
| - | setuptools |
| - | setuptools-scm |
| - | wheel |
| ==3.8 | twine |
| >=7.0 | pytest |
| <4,>=3.10.0 | pytest-mock |
| <4,>=3.0.18121 | python-vlc |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4 | Python |
نحوه نصب
نصب پکیج whl afplay-py-0.2.0:
pip install afplay-py-0.2.0.whl
نصب پکیج tar.gz afplay-py-0.2.0:
pip install afplay-py-0.2.0.tar.gz