mfrc522
A python library to read/write RFID tags via the budget MFRC522 RFID module.
This code was published in relation to a blog post and you can find out more about how to hook up your MFRC reader to a Raspberry Pi there.
Installation
Until the package is on PyPi, clone this repository and run python setup.py install in the top level directory.
Example Code
The following code will read a tag from the MFRC522
from time import sleep
import sys
from mfrc522 import SimpleMFRC522
reader = SimpleMFRC522()
try:
while True:
print("Hold a tag near the reader")
id, text = reader.read()
print("ID: %s\nText: %s" % (id,text))
sleep(5)
except KeyboardInterrupt:
GPIO.cleanup()
raise
Metadata
Release files for mfrc522 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mfrc522-0.0.6.tar.gz | 5.7 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mfrc522-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
| mfrc522-0.0.6-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 42.9 kB
Release files / mfrc522-0.0.6.tar.gz
| Download URL | mfrc522-0.0.6.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
742dc8156fd9ca369b509be052ce50f520e18ed4ccb724bc3c3ac4d7cb11ac4e
|
|
BLAKE2b-256 checksum How to use checksums |
184eea49e1a60003959d146baf0d026888b49bb12ebd9c073cf138817031cf34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3
|
Release files / mfrc522-0.0.6-py3-none-any.whl
| Download URL | mfrc522-0.0.6-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86c57d180af96cb430c10f9e55ff9c6424ee82d19e285faadb9efc19427b5eb8
|
|
BLAKE2b-256 checksum How to use checksums |
00e73f3f0a3ca16043d3c353b001acb99a126f999f424dd64353c5777ff424dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3
|
Release files / mfrc522-0.0.6-py2-none-any.whl
| Download URL | mfrc522-0.0.6-py2-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ef198652c51a6e9956eaa658d64b4614f42e27580c1fd95e1ed9450cb5fb53ea
|
|
BLAKE2b-256 checksum How to use checksums |
9d6e259cde6382d2154396c8e6a7d29a73b271acf496c68620f459cb0828c877
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3
|
Security for mfrc522 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.