Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Lock and unlock your desktop using a USB stick as a key.

Project Description
=======
USBLock
=======

Copyright (C) 2013 Sven Steinbauer http://www.unlogic.co.uk

[![Build Status](https://travis-ci.org/Svenito/usblock.png?branch=master)](https://travis-ci.org/Svenito/usblock)

USBlock is a Python script that will lock and unlock your linux box using any
old USB storage device as a key.

** NOTE **
V0.1 only works on Linux. OS X and Windows will have to wait a little.

Installation
============

Install with `pip install usblock` or run `sudo python ./setup.py install`
from the directory you downloaded USBLock into.

See `requirements.txt` for a list of required Python modules.

Non Python dependencies
=======================

Linux
-----

You will need `dbus` and `python-dbus` as well as `hal`. These should all be
available via your package manager. See below why `python-dbus` is listed here.

Known Issues
============

* I've had some devices not mount on external USB ports (like on a Mac keyboard
or hub). DBus does not register the device insertion and so USBLock cannot
lock or unlock your machine. Try a different memory stick or USB port.

* On linux you need dbus installed. `pip install dbus-python` doesn't work, so
you may have to install it via your system's package manager or from source.

Thanks for the patches
======================

Joel Semar, Natan L
Release History

Release History

This version
History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
USBLock-0.2.2.tar.gz (19.6 kB) Copy SHA256 Checksum SHA256 Source Mar 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting