Skip to main content

A simple Card Unique ID Exporter

Reason this release was yanked:

잘못업로드

Project description

CCRE

Overview

This is a simple Python library for reading smart cards and extracting their unique card serial numbers (CSN). It provides basic functionality to interact with smart card readers and perform operations like selecting AID files and retrieving card serial numbers.

Example Usage

# FIND card reader
reader = find_card_reader()  # or find card reader by get_card_reader_list()

if reader:
    # MAKE a connection
    connection = create_new_reader_connection(reader, 'T0')

    # SELECT aid file of financial
    select_network_aid(connection, 'financial')

    # GET card serial number
    csv = get_card_serial_number(connection)
    print(f"Card serial number: {csv}")

else:
    print("No reader found.")

Dependencies

This library requires the following dependencies:

  • pyscard: For interacting with smart card readers.

Install dependencies using:

pip install pyscard

Features

  • Detect available smart card readers.
  • Establish a connection with a smart card reader.
  • Select specific AID files on the card.
  • Retrieve the unique card serial number (CSN).

License

This project is licensed under the MIT License.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ccre_card_unique_id_exporter-0.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ccre_card_unique_id_exporter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65fb99614043a5069c80cecc40ecb7976f3a1df78973acd867716d9e73989789
MD5 2da7747b7b81e08bd54d6de5cfcc6738
BLAKE2b-256 0dd777fc4a8f3ebc02b29af6bdbdfc8094a8618bec8ff795d26d75887a9701be

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