Skip to main content

A simple converter for Wiegand data

Project description

Wiegand Calculator

This is a simple calculator for the Wiegand protocol. It can calculate the facility code and card number from a Wiegand number, and vice versa. This is useful for RFID card systems that use the Wiegand protocol.

Usage

This module exposes two functions:

  • convert_from_wiegand(board_tag: int) -> int: Converts a Wiegand number to the original card number.
  • converet_to_wiegand(card_number: int) -> int: Converts a card number to a Wiegand number.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiegand_calculator-0.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiegand_calculator-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file wiegand_calculator-0.0.1.tar.gz.

File metadata

  • Download URL: wiegand_calculator-0.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for wiegand_calculator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 671641e003b62acb8f3f1d37270db7f383deb3f6c4ef07a1164bbb1203a5dc35
MD5 3f1d85c9f2a0e6d91150db89cd9a107a
BLAKE2b-256 5c1dfb8d78f853c424a84ecd06cd205da4aed60a7c78a2c81a7027a700ecb826

See more details on using hashes here.

File details

Details for the file wiegand_calculator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wiegand_calculator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef8df495938c9bcda8a46a50ef8cf66889205759f53ae33b3cef80ada24f89ab
MD5 5366e50c4a56e92436e19b4f32dbc998
BLAKE2b-256 c186c19f4e5ee19e14eec18be89c031ac33410ccc74a4dd5a125a73056c1b6aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page