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.4.0.tar.gz
(18.0 kB
view hashes)
Built Distribution
Close
Hashes for smartcard_identifier-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 588db020bdd6fe9ff1e932d0a6ed8d801f9c5860a7af4a51d0bb429f33fb3f38 |
|
MD5 | c95dd9dcbc15c5a1c46ce12fe94f0f69 |
|
BLAKE2b-256 | 6a1381fde9195ff7a8df15b0646fe63e3feb3b4957ebb266e3e5088dfb00d1a8 |
Close
Hashes for smartcard_identifier-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198b01c515a1509041e948a5a434c5c8a4ee995b20c23e79ae2325b3225257c9 |
|
MD5 | 2046d31b5f2611a992588aa9046f954a |
|
BLAKE2b-256 | 194ee6eb82f3f621d52cb9343691ab17c38789b48f5355be61d11fcbab0c89a7 |