proofmode 0.9.0

Capture, share, and preserve verifiable photos and videos
Documentation
#!/usr/bin/env python3

import sys
sys.path.insert(0, 'bindings')

# Test the basic functionality
try:
    from proofmode_uniffi import get_version, get_file_hash
    
    print("Testing basic functions...")
    
    # Test version
    try:
        version = get_version()
        print(f"Version: {version}")
    except Exception as e:
        print(f"Version test failed: {e}")
    
    # Test hash
    try:
        test_data = b"Hello, ProofMode!"
        hash_val = get_file_hash(test_data)
        print(f"Hash of test data: {hash_val}")
    except Exception as e:
        print(f"Hash test failed: {e}")
    
    print("Basic tests completed")
    
except ImportError as e:
    print(f"Failed to import bindings: {e}")
except Exception as e:
    print(f"Unexpected error: {e}")