Skip to main content

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.

Metadata

Release files for wiegand-calculator 0.0.1

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

Source distribution (sdist)

Source distribution for wiegand-calculator 0.0.1
File Size Uploaded
wiegand_calculator-0.0.1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wiegand-calculator 0.0.1
File Interpreter ABI Platform
wiegand_calculator-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / wiegand_calculator-0.0.1.tar.gz

Download URL wiegand_calculator-0.0.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
671641e003b62acb8f3f1d37270db7f383deb3f6c4ef07a1164bbb1203a5dc35
BLAKE2b-256 checksum
How to use checksums
5c1dfb8d78f853c424a84ecd06cd205da4aed60a7c78a2c81a7027a700ecb826
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release files / wiegand_calculator-0.0.1-py3-none-any.whl

Download URL wiegand_calculator-0.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef8df495938c9bcda8a46a50ef8cf66889205759f53ae33b3cef80ada24f89ab
BLAKE2b-256 checksum
How to use checksums
c186c19f4e5ee19e14eec18be89c031ac33410ccc74a4dd5a125a73056c1b6aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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