Skip to main content

LentoDVD Speed Limiter

Project description

LentoDVD Speed Limiter

Control the maximum speed of your DVD/CD drive from the system tray. Works with Ubuntu Unity and Gnome.

Uses the eject tool to set the speed limit.

Screenshot

Screenshot

Usage

Install:

$ sudo apt-get install eject
$ sudo pip install lento_dvd

Run

To run LentoDVD, start it from Unity Dash or Gnome Desktop Menu (whichever desktop you use).

Development

Project directory layout

  • bin/ - entry point scripts

  • img/ - image files used in runtime (icons)

  • lento_dvd/ - root application package (all source code)

  • Makefile - provides basic tasks for development

  • setup.py - python packaging script

  • README - readme file for distributed package, autogenerated by make doc

  • README.md - this file

Python 2 and Python 3

Current indicator implementation runs on both Python 2.7 and Python 3. All tests are executed on “both pythons”.

Running and testing

Running tests

$ make venv  # run only once, or run again to re-create the virtualenv
$ make tests

Getting test coverage (reports to ./coverage/)

$ make cover

Creating python source package

$ make sdist

Running without installing

$ make run

Building and installing/uninstalling locally

$ sudo make install
$ sudo make uninstall

Cleaning up the project directory (remove dist/, *.pyc, etc.)

$ make clean

Generating README from README.md

$ make doc

Publishing to PYPI

$ make publish

Reminder - release process

  1. Make changes, update and run tests, ensure good coverage

  2. Update setup.py and change the version according to semantic versioning

  3. Tag new version; tag format is ‘vX.Y.Z’; e.g.: v1.2.1

  4. Push changes and a new tag

  5. Publish to PYPI

Copying

Copyright 2016, Pete Burgers

This Application Indicator is distributed under GNU GENERAL PUBLIC LICENSE, either version 3 of the License, or (at your option) any later version.

GPLv3

GPLv3

Boilerplate code adapted from Vagrant AppIndicator, thanks @candidtim!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lento_dvd-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file lento_dvd-0.1.0.tar.gz.

File metadata

  • Download URL: lento_dvd-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lento_dvd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ccf10e22ca6f1c65f31fc44e7378b893731d4c5b61263116b7395415e7cf263
MD5 c66c8822ccf3526ebc2a9d2621cc7077
BLAKE2b-256 41d68cd8ce1d5002f61dc78651d60172828f9af93144fe4698e373b670b2998c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page