Python wrapper for Digital Check DLL
Project description
Digital Check DLL Python Wrapper
⚠️ Legal Disclaimer ⚠️
This project is NOT affiliated with, endorsed by, or supported by Digital Check Corporation.
The Digital Check SDK DLL (buicap32.dll) and related components are copyrighted property of Digital Check Corporation.
By using this wrapper, you acknowledge that:
- You possess a valid developer license from Digital Check Corporation
- You legally obtained all required DLLs through official channels
- You will only use this software with Digital Check scanners (SB500, SB600, TS240, CX35, CX30, etc.)
Python bindings for interacting with Digital Check's native DLL functions. This wrapper provides a Pythonic interface to safely access and utilize the functionality exposed by the Digital Check SDK DLL.
🔑 Critical Requirements
- Digital Check Hardware: Only works with scanners purchased from Digital Check Corporation
- Official DLL Files: You must obtain these separately from Digital Check:
buicap32.dll(Primary SDK Library)Ts2Dll.dll,Ts5Dll.dll,TsEDll.dll,wdapi1200.dll(DLL Dependencies)
- Windows Environment: 7/8.1/10/11 (x86/x64)
- Python 3.8+ 32 bits
🚀 Features
- Pure Python implementation using
ctypes - Object-oriented API abstraction
- Type-safe interface with error handling
- Context manager for automatic resource cleanup
- Windows service integration support
📦 Installation
pip install git+https://github.com/tomjod/buicap-py.git
Basic Usage
import buicap_py as dcc
from pathlib import Path
# Path to legally obtained Digital Check DLL
DLL_PATH = Path("C:/Path/To/buicap32.dll")
try:
api = dcc.ScannerIntegrationAPI(dll_path=DLL_PATH)
# Set Path to Scanner Configuration File or "NOINI"
# see DLL Manual for more information
INI_PATH = Path("C:/Path/To/BUICSCAN.INI")
api.buic_set_param_string(
iParameter=dcc.ConfigPaths.CFG_INIPATH,
sParamString=INI_PATH
)
# Initialize scanner
if api.buic_init() < 0:
raise RuntimeError("Scanner initialization failed")
# Perform scan
path_documents = Path(__file__).parent.parent / "scanned_documents"
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
front = path_documents / f"front_{timestamp}.jpg"
back = path_documents / f"back_{timestamp}.jpg"
scan_result = dcc.api.dcc_scan(
front_jpeg=str(front),
back_jpeg=str(back)
)
finally:
api.close()
🤝 Contributing
We welcome contributions! Please follow these guidelines for Pull Requests:
Before You Start
-
Legal Compliance
- Confirm you have a valid Digital Check developer license.
- Never include Digital Check DLLs/INI files in your PR.
-
Pre-requisites
- Discuss major changes via GitHub Issues first
PR Process
- Branch Strategy
git checkout -b feat/your-feature-name # For new features git checkout -b fix/issue-number # For bug fix
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file buicap_py-0.1.2.tar.gz.
File metadata
- Download URL: buicap_py-0.1.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fa61a22f1e7520edc9e0832847e9368949b619eae04866316ee9f99bb22531b
|
|
| MD5 |
bb31c79da69930c5ae48148a185a065b
|
|
| BLAKE2b-256 |
9be96dad199a6b09564d1b0eb2d0777fcbe98246a6e65754ebb633da3670f062
|
File details
Details for the file buicap_py-0.1.2-py3-none-any.whl.
File metadata
- Download URL: buicap_py-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69e10e864e7eeafd869ada5a48ebf6d4c97dac6ba344f348e52a33036038562b
|
|
| MD5 |
b25dc3cc2259daac38db8ff56ec95626
|
|
| BLAKE2b-256 |
534ddf7307c6a1e36f2d1a5efbe6716ae42aa2735b5ffc60fadd4cc382959359
|