Skip to content

python-uuidv47 v1.0.1

Choose a tag to compare

@FatahChan FatahChan released this 01 Oct 00:40
· 17 commits to main since this release

πŸŽ‰ *Stable release with working CI/CD pipelinepush origin v1.0.1

What's New in v1.0.1

  • βœ… Fixed CI/CD pipeline for reliable PyPI publishing
  • βœ… Simplified build process using uv
  • βœ… Updated license format to modern SPDX expression
  • βœ… Comprehensive testing across multiple platforms

Features

  • High-performance UUIDv47 encoding/decoding (10M+ ops/sec)
  • Cross-language compatibility with Node.js implementation
  • Comprehensive test suite (43 tests)
  • Multi-platform wheels (Linux, macOS, Windows)
  • Type safety with mypy compatibility
  • Modern Python packaging with uv support

Installation

uv add python-uuidv47
# or
pip install python-uuidv47

Quick Start

import python_uuidv47 as uuidv47

# Set encryption keys
uuidv47.set_keys(0x123456789ABCDEF0, 0xFEDCBA9876543210)

# Encode UUIDv7 to UUIDv4 facade
facade = uuidv47.encode('550e8400-e29b-71d4-a716-446655440000')
print(f'Facade: {facade}')

# Decode back to original
original = uuidv47.decode(facade)
print(f'Original: {original}')

Performance

  • Encode: 10M+ operations/second
  • Decode: 10M+ operations/second
  • Parse: 16M+ operations/second

Perfect for high-throughput applications! πŸš€

Changes from v1.0.0

  • Fixed PyPI publishing workflow
  • Updated project configuration for modern Python packaging
  • Improved CI reliability and testing