Metadata-Version: 2.1
Name: xbox-smartglass-nano
Version: 0.10.1
Summary: The NANO (v2) part of the xbox smartglass library
Home-page: https://github.com/OpenXbox/xbox-smartglass-nano-python
Author: OpenXbox
Author-email: noreply@openxbox.org
License: MIT
Keywords: xbox one smartglass nano gamestreaming xcloud
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: xbox-smartglass-core (==1.3.0)
Requires-Dist: av (==8.0.3)
Requires-Dist: PySDL2 (==0.9.7)
Provides-Extra: dev
Requires-Dist: pip ; extra == 'dev'
Requires-Dist: bump2version ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'
Requires-Dist: watchdog ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: coverage ; extra == 'dev'
Requires-Dist: Sphinx ; extra == 'dev'
Requires-Dist: sphinx-rtd-theme ; extra == 'dev'
Requires-Dist: recommonmark ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-asyncio ; extra == 'dev'
Requires-Dist: pytest-console-scripts ; extra == 'dev'
Requires-Dist: pytest-runner ; extra == 'dev'

# Xbox-Smartglass-Nano


[![PyPi version](https://pypip.in/version/xbox-smartglass-nano/badge.svg)](https://pypi.python.org/pypi/xbox-smartglass-nano)
[![Docs](https://readthedocs.org/projects/xbox-smartglass-nano-python/badge/?version=latest)](http://xbox-smartglass-nano-python.readthedocs.io/en/latest/?badge=latest)
[![Build status](https://img.shields.io/github/workflow/status/OpenXbox/xbox-smartglass-nano-python/build?label=build)](https://github.com/OpenXbox/xbox-smartglass-nano-python/actions?query=workflow%3Abuild)
[![Discord chat](https://img.shields.io/discord/338946086775554048)](https://openxbox.org/discord)

The gamestreaming part of the smartglass library, codename NANO.

Currently supported version:

* NANO v1 (Xbox One family)

XCloud and new XHome streaming are Nano v3, required for Xbox Series S/X.

For in-depth information, check out the documentation: (https://openxbox.github.io)


## Features

* Stream from your local Xbox One (OG/S/X) console


## Dependencies

* Python >= 3.7
* xbox-smartglass-core
* pyav (https://pyav.org/docs/develop/)
* pysdl2 (https://pysdl2.readthedocs.io/en/latest/install.html)


## Install

  pip install xbox-smartglass-nano

## How to use

```text
xbox-nano-client
```

## Known issues

* Video / Audio / Input is not smooth yet
* ChatAudio and Input Feedback not implemented

## Development workflow

Ready to contribute? Here's how to set up `xbox-smartglass-nano-python` for local development.

1. Fork the `xbox-smartglass-nano-python` repo on GitHub.
2. Clone your fork locally

```text
git clone git@github.com:your_name_here/xbox-smartglass-nano-python.git
```

3. Install your local copy into a virtual environment. This is how you set up your fork for local development

```text
python -m venv ~/pyvenv/xbox-smartglass
source ~/pyvenv/xbox-smartglass/bin/activate
cd xbox-smartglass-nano-python
pip install -e .[dev]
```

5. Create a branch for local development::

```text
git checkout -b name-of-your-bugfix-or-feature
```

6. Make your changes.

7. Before pushing the changes to git, please verify they actually work

```text
pytest
```

8. Commit your changes and push your branch to GitHub::

```text
git commit -m "Your detailed description of your changes."
git push origin name-of-your-bugfix-or-feature
```

9. Submit a pull request through the GitHub website.

### Pull Request Guidelines

Before you submit a pull request, check that it meets these guidelines:

1. Code includes unit-tests.
2. Added code is properly named and documented.
3. On major changes the README is updated.
4. Run tests / linting locally before pushing to remote.


## Credits

This package uses parts of [Cookiecutter](https://github.com/audreyr/cookiecutter) and the
[audreyr/cookiecutter-pypackage project template](https://github.com/audreyr/cookiecutter-pypackage)


# CHANGELOG

## 0.10.0 (2020-12-12)

* Change of license -> MIT license
* Deprecated Python 3.6, Added Python 3.9
* Migration from gevent to asyncio (in sync with smartglass-core)
* Migration from marshmallow objects to pydantic
* Fixed controller and closing issues (#15)

## 0.9.4 (2020-02-29)

* Fix KeyError for debug prints
* PyAV 0.4.1 -> 6.1.0 compatibility

## 0.9.3 (2018-11-14)

* Python 3.7 compatibility

## 0.9.2 (2018-09-30)

* Fix TravisCI dependency on ffmpeg

## 0.9.1 (2018-09-29)

* First release on PyPI.


