scard
Platypush documentation
scard
- class platypush.backend.scard.ScardBackend(atr=None, *args, **kwargs)[source]
Bases:
Backend
Generic backend to read smart cards and NFC tags and trigger an event whenever a device is detected.
Extend this backend to implement more advanced communication with custom smart cards.
Triggers:
platypush.message.event.scard.SmartCardDetectedEvent
when a smart card is detectedplatypush.message.event.scard.SmartCardRemovedEvent
when a smart card is removed
Requires:
pyscard (
pip install pyscard
)