Files
plexpy/examples
2023-10-26 21:45:48 -05:00
..
2023-10-26 21:45:48 -05:00
2023-10-26 21:45:48 -05:00
2023-10-26 21:45:48 -05:00
2023-10-26 21:45:48 -05:00

plexpy-example

A basic example of how to use the plexpy package.

Installation

If plexpy is published to pypi:

pip install plexpy==0.0.1

In the event plexpy is not published to pypi, you can install it locally by running the following command in the example folder:

. ./install.sh

This will create and start a virtual environment and install the package locally in it.

To close the virtual environment run:

deactivate

To re-activate the virtual environment once it is installed run:

source .venv/bin/activate

Usage

To run the example, run the following command in the examples folder:

python sample.py