Skip to main content

Dakara VLC player

Travis CI Build Status Appveyor CI Build status Codecov coverage analysis Code style: black PyPI version PyPI Python versions

Interface between the Dakara server and VLC, for the Dakara project.

Installation

To install Dakara completely, you have to get all the parts of the project. Installation guidelines are provided over here:

System requirements

  • Python3, for the magic to take place (supported versions: 3.5, 3.6);
  • VLC, duh.

For 64 bits operating systems, you must install the equivalent version of the requirements. Linux and Windows are supported.

Virtual environment

It is strongly recommended to use the Dakara VLC player within a virtual environment.

Install

Install the package with:

pip install dakaraplayervlc

If you have downloaded the repo, you can install the package directly with:

python setup.py install

Usage

The package provides the dakara-play-vlc command which runs the player:

dakara-play-vlc
# or
python -m dakara_player_vlc

One instance of the Dakara server should be running. For more help:

dakara-play-vlc -h
# or
python -m dakara_player_vlc -h

Before calling the command, you should create a config file with:

dakara-play-vlc create-config
# or
python -m dakara_player_vlc create-config

and complete it with your values. The file is stored in your user space: ~/.config/dakara on Linux or $APPDATA\Dakara on Windows.

Development

Install dependencies

Please ensure you have a recent enough version of setuptools:

pip install --upgrade "setuptools>=40.0"

Install the dependencies with:

pip install -e ".[tests]"

This installs the normal dependencies of the package plus the dependencies for tests.

Run tests

Run tests simply with:

python setup.py test

To check coverage, use the coverage command:

coverage run setup.py test
coverage report -m

Hooks

Git hooks are included in the hooks directory.

Use the following command to use this hook folder for the project:

git config core.hooksPath hooks

If you're using git < 2.9 you can make a symlink instead:

ln -s -f ../../hooks/pre-commit .git/hooks/pre-commit

Note that pre-commit hook does not run integration tests.

Code style

The code follows the PEP8 style guide (88 chars per line). Quality of code is checked with Flake8. Style is enforced using Black. You need to call Black before committing changes. You may want to configure your editor to call it automatically. Additionnal checking can be manually performed with Pylint.

The MIT License (MIT)

Copyright (c) 2020 Dakara Project

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for dakaraplayervlc 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dakaraplayervlc 1.6.0
File Size Uploaded Provenance
dakaraplayervlc-1.6.0.tar.gz 322.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dakaraplayervlc 1.6.0
File Interpreter ABI Platform
dakaraplayervlc-1.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 631.8 kB

Release files / dakaraplayervlc-1.6.0.tar.gz

Download URL dakaraplayervlc-1.6.0.tar.gz
Size 322.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6b1af4d89b62cdf2d82316bccc77a7de415b1d97079ec082ac0a9da51d0a7523
BLAKE2b-256 checksum
How to use checksums
45341ddad07f18233d329babcd695f731501cb818f4b0c451785baa2bd0d5ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / dakaraplayervlc-1.6.0-py3-none-any.whl

Download URL dakaraplayervlc-1.6.0-py3-none-any.whl
Size 309.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b40693ab23a460720b35811a7f2f572c10722822f774b18aee7e3c21981e48d0
BLAKE2b-256 checksum
How to use checksums
88213a62a24173d42a1678c3c54722a260eaf01649025f3702ec38cd08481e85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for dakaraplayervlc 1.6.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page