.. image:: https://img.shields.io/pypi/v/potplayer.svg
.. image:: https://img.shields.io/pypi/l/potplayer.svg
.. image:: https://img.shields.io/pypi/pyversions/potplayer.svg
Welcome to potplayer Documentation
===============================================================================
**Call a media player to play some video/music from Python is Pain!**
`Pot Player <https://potplayer.daum.net/>`_ is a universal media player software for windows. And the pot player playlist (*.dpl) file is a pure text file to manipulate playlist.
Now with ``potplayer``
**Quick Links**
-------------------------------------------------------------------------------
- `GitHub Homepage <https://github.com/MacHu-GWU/potplayer-project>`_
- `Usage <usage_>`_
- `PyPI download <https://pypi.python.org/pypi/potplayer>`_
- `Install <install_>`_
- `Issue submit and feature request <https://github.com/MacHu-GWU/potplayer-project/issues>`_
- `API reference and source code <http://pythonhosted.org/potplayer/py-modindex.html>`_
.. _usage:
**Usage**
-------------------------------------------------------------------------------
The main usage is to manipulate **video/audio/image** play list:
.. code-block:: python
>>> import potplayer
>>> playlist = potplayer.PlayList() # create a PlayList
>>> playlist.add(r"august_holiday.jpg") # add some `to play` files, can be video/audio/image
>>> playlist.add(r"life_goes_on.jpg")
>>> playlist.add(r"trees_cloud_fog_landscape.jpg")
>>> playlist.dump("play") # dump play list to play.dpl, so you can open it with PotPlayer
You can also use ``run()`` and ``kill()`` method to open anything with PotPlayer, or, kill it.
.. code-block:: python
>>> potplayer.run("play.dpl") # open a play list, of course you can use this with a video
>>> potplayer.kill() # kill all running PotPlayer process
.. _install:
Install
-------------------------------------------------------------------------------
``potplayer`` is released on PyPI, so all you need is:
.. code-block:: console
$ pip install potplayer
To upgrade to latest version:
.. code-block:: console
$ pip install --upgrade potplayer
Metadata
Release files for potplayer 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| potplayer-0.0.3.zip | 17.9 kB | Without provenance | Details for potplayer-0.0.3.zip |
Release files / potplayer-0.0.3.zip
| Download URL | potplayer-0.0.3.zip |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4922e267c68ca9289b3fadf690e6524fbe76f96f067b4f737dbc6fbbf2de4632
|
|
BLAKE2b-256 checksum How to use checksums |
b66706d0ba46da32778464ad0d4ec741136f4858fbd49edb2e495f88a185a7a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for potplayer 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.