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 ID of the scanned card.
Installation: macOS
- Install the package above. This will also add python3 to the security settings which you'll enable the in the next two steps.
- Open System Settings -> Privacy & Security -> Automation and enable permissions for python3.
- Open System Settings -> Privacy & Security -> Accessibility and enable permissions for python3.
If you can't find python3 in the list, click the "+" button, then press Command+Shift+G and type /usr/bin/python3
Installation: Linux/Windows
https://pypi.org/project/smartcard-identifier/
$ pip3 install smartcard-identifier
$ smartcard-identifier --help
Release Process
To sign the macOS release you will need to have the relevant Developer Certificate installed in your Keychain, which you can download from https://developer.apple.com/account/resources/certificates/list . Make sure you also have Apple's intermediate certificates installed, which you can download from the bottom of the page at https://developer.apple.com/account/resources/certificates/add . Without these, the Developer Certificate will show up as "untrusted" in Keychain Access.
To build & publish a release, first increment the version in pyproject.toml, then run the following to build and upload to Github and PyPI:
$ make release
Notes
If you run into the following error installing via pip3 install smartcard-identifier
on macOS:
× Building wheel for pyscard (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_py
Install swig and try again
then you can fix the above error by running brew install swig
.
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
Built Distribution
File details
Details for the file smartcard_identifier-1.8.4.tar.gz
.
File metadata
- Download URL: smartcard_identifier-1.8.4.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e3f9ef9c9e9bd4bbe9746a6fbc253a00fe78c869952d163920bf1079c22476 |
|
MD5 | 29e98b6d03973d91f5036d806c21965a |
|
BLAKE2b-256 | 4f0f1fd63240c2653fab3dafce133b697f63e431bd7aff39e958f58142fa32d0 |
File details
Details for the file smartcard_identifier-1.8.4-py3-none-any.whl
.
File metadata
- Download URL: smartcard_identifier-1.8.4-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8751a22b467ea95547a7b9fad6d51393088943e23783e569f83dc1b4b8104d7c |
|
MD5 | 41d24cdb4d799b3d84bad1419769842d |
|
BLAKE2b-256 | d57106380614019b330658fcbf8bbb8fb136c23cda2f967050d77e15a5202298 |