avstudio-2.0
توضیحات
Python wrappers for AV Studio public API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | avstudio-2.0 |
| نام | avstudio |
| نسخه کتابخانه | 2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vadim Kalinskiy |
| ایمیل نویسنده | vkalinsky@epiphan.com |
| آدرس صفحه اصلی | https://github.com/epiphan-video/avstudio_api |
| آدرس اینترنتی | https://pypi.org/project/avstudio/ |
| مجوز | MIT |
# AV Studio API
This repo contains:
- `/avstudio`: Python wrapper for AV Studio API
- `/docs`: API reference
- `/device_api.ipynb`: Python notebook with API tutorial
- `/device_api.html`: static version of the tutorial ([link](http://htmlpreview.github.io/?https://github.com/epiphan-video/avstudio_api/blob/master/device_api.html))
## Installation
```
$ git clone https://github.com/epiphan-video/avstudio_api.git
$ cd avstudio_api
$ pip install -r requirements.txt
```
## Running the interactive tutorial
Jupyter has to be installed.
```
$ cd avstudio_api
$ python -m notebook
```
## Documentation
API documentation is available via Github Pages: [https://epiphan-video.github.io/avstudio_api](https://epiphan-video.github.io/avstudio_api/)
### How to update docs
Documentation source is stored in `docs-source-slate` folder.
1) Build a slate builder container (once):
```shell
$ cd slate
$ docker build -t slate-builder .
```
2) (optional) Start doc server:
```bash
docker run -it --rm \
-v $(pwd)/docs-source-slate/:/slate/source \
-v $(pwd)/docs:/slate/build \
-p 4567:4567 \
slate-builder bundle exec middleman server
```
...and open http://localhost:4567/ in your browser.
3) When editing is done, use the container to build static docs:
```bash
docker run -it --rm -v $(pwd)/docs-source-slate/:/slate/source -v $(pwd)/docs:/slate/build slate-builder
```
This command will update files in `docs` folder, if necessary.
3) git commit and push
### Exporting notebook tutorial:
```
jupyter nbconvert --to html --execute device_api.ipynb --ExecutePreprocessor.timeout=-1
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | requests-toolbelt |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7 | Python |
نحوه نصب
نصب پکیج whl avstudio-2.0:
pip install avstudio-2.0.whl
نصب پکیج tar.gz avstudio-2.0:
pip install avstudio-2.0.tar.gz