Skip to main content

MIFARE DESFire for Python

https://img.shields.io/pypi/v/desfire.svg https://img.shields.io/travis/miohtama/desfire.svg Documentation Status

This package provides MIFARE DESFire native communication protocol for NFC cards.

Source code: https://github.com/miohtama/desfire

Documentation: https://desfire.readthedocs.org

https://raw.githubusercontent.com/miohtama/desfire/master/docs/desfire.jpg

In photo: MIFARE DESFire EV1 8kB blank card with Identive CLOUD 4500 F Dual Interface Reader

Features

  • Compatibile with USB-based NFC readers via PCSC interface. PCSC API is available on Linux, OSX and Windows. Linux support includes support for Raspberry Pi.

  • Compatibile with Android mobile phones and their built-in NFC readers. This is done using Kivy cross application Python framework and native Android APIs via pyjnius Python to Java bridging.

  • Only some of the commands are implemented in the current alpha quality version, please feel free to add more.

  • Compatible with Python 2 and Python 3

Background

The communication protocol specification is not public. The work is based on reverse engineering existing open source DESFire projects, namely Android host card emulation for DESFire and MIFARE SDK.

Author

Mikko Ohtamaa.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2 (2016-03-30)

  • Added data file read and write

0.1 (2016-03-07)

  • First release on PyPI.

Metadata

Release files for desfire 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for desfire 0.2
File Size Uploaded
desfire-0.2.tar.gz 121.2 kB Details

Release files / desfire-0.2.tar.gz

Download URL desfire-0.2.tar.gz
Size 121.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4314be80f8969cf326d4e58c9e314823782f1d8a1f9e36eb759dfb2f914d8cd5
BLAKE2b-256 checksum
How to use checksums
360651e05b494294284d923eef5d351e9cfd1078ea66acd988da7060f78cf9b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page