Read smart card ID number and emulate a keyboard to paste it as text.
Project description
Smartcard Identifier
This is an extremely simple smartcard system that reads only the smart card's ID number, and pastes it as text into the currently open application. This can be used for applications that rely on nothing more than the identity of the scanned card, such as an authentication system in a low-security environment.
Installation: macOS
On macOS you'll need to add permissions for simulating a keyboard:
- Install the package above. This will add python3 to the Security settings which you'll enable the in the next two steps.
- Open System Settings -> Privacy & Security -> Accessibility and enable permissions for python3 (and Terminal if you intend to run from a terminal). If you can't find python3 in the list, click the "+" button, then press Command+Shift+G and type /usr/bin/python3
- Open System Settings -> Privacy & Security -> Automation and enable permissions for python3.
Installation: Linux/Windows
$ pip3 install smartcard-identifier
$ smartcard-identifier --help
Release Process
First increment the version in pyproject.toml, then run the following to build and upload the release to Github and PyPI:
$ make release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smartcard_identifier-1.2.0.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for smartcard_identifier-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a14eb4a89ff87edf4922d4f07e087d9daba6881aa70578d0f0b495141520b95 |
|
MD5 | f50f9215ef5dc5baf66e874ded0a55b0 |
|
BLAKE2b-256 | 9f72364d876a9b0d2dba75e085e05b51fd4948f922fcb2d7dff7c774631b051f |
Close
Hashes for smartcard_identifier-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601f89a097bda85de8549304480820759fd3184ac8d2d22c70d5cc39574d090d |
|
MD5 | 9b99ea33ae7581e62ba113f06c865c02 |
|
BLAKE2b-256 | b6899e612529e1bd62dcaa2ee675bc5c976b7036125fc1d000b8c202a9f37d8a |