Metadata-Version: 2.1
Name: pyrnp
Version: 1.1.2
Summary: Python client library for Eduplay (video platform from RNP)
Home-page: https://github.com/cnpem-iot/pyrnp
Author: Guilherme F. de Freitas
Author-email: g.fr@tuta.io
License: GNU Affero General Public License v3 or later (AGPLv3+)
Description: # PyRNP
        
        [![PyRNP](https://github.com/ntanck/pyrnp/actions/workflows/python-app.yml/badge.svg)](https://github.com/ntanck/pyrnp/actions/workflows/python-app.yml)
        [![codecov](https://codecov.io/gh/ntanck/pyrnp/branch/master/graph/badge.svg?token=VnxuTqUaHs)](https://codecov.io/gh/ntanck/pyrnp)
        
        Python wrapper for the Eduplay API (maintained by RNP). Made to be as lightweight as possible, only requires Requests!
        
        ## Contributors
        
        - [Patricia Nallin](https://github.com/pnallin)
        - [Guilherme Francisco de Freitas](https://github.com/ntanck)
        
        ## Installation
        
        ```shell
        git clone https://github.com/ntanck/pyrnp
        cd PyRNP
        pip3 install .
        ```
        
        ## Utilization
        
        - Create a client
        
        ```python
        from pyrnp import RNP
        
        client = RNP(
            client_key="KEY",
            client_id="ID",
            username="fulano.detal@org.br",
        )
        ```
        
        - Perform actions
        
        ```python
        client.upload("video.mp4", "video_unique_id")
        client.publish("video.mp4", "video_unique_id", "title", "test upload", thumbnail="thumb.png")
        ```
        
        Other utilization examples can be found in `Examples`.
        
        ## Obtaining credentials
        
        In order to obtain your client key and ID, you must contact [RNP](https://www.rnp.br/) directly.
        
        ## Token quirks
        
        Depending on your situation, you might not need tokens in order to publish/upload/change/delete videos. This is why I've made OAuth2 disabled by default. In order to get a token, you can follow the RNP documentation [here](https://eduplay.rnp.br/portal/integration#authentication) or use the `get_token` function in `pyrnp.extra` to display a Webdriver and get the token.
        
        ## TODO:
        
        - Add other API functions
        
        ## License
        
        This program is licensed under the [GNU Affero license](https://www.gnu.org/licenses/agpl-3.0.txt)
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Natural Language :: English
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
