Metadata-Version: 2.4
Name: azrmooenc
Version: 1.0.0
Summary: A completely original reversible encoding library using Moo tokens
Author: azr
License: MIT
Project-URL: Homepage, https://pypi.org/project/azrmooenc/
Keywords: encoding,moo,azrmoo,reversible-encoding
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# AzrMoo Enc v1

A completely original reversible encoding library using Moo tokens.

## Installation

```bash
pip install azrmooenc
```

## Usage

```python
import azrmooenc

# Encode/decode strings
encoded = azrmooenc.encode("Hello, World!")
decoded = azrmooenc.decode(encoded)

# Encode/decode bytes
encoded = azrmooenc.encode_bytes(b"binary data")
decoded = azrmooenc.decode_bytes(encoded)

# With custom key
encoded = azrmooenc.encode("Secret", key="mykey")
decoded = azrmooenc.decode(encoded, key="mykey")

# File support
azrmooenc.encode_file("photo.jpg", "photo.jpg.azr")
azrmooenc.decode_file("photo.jpg.azr", "photo.jpg")

# Generate lookup tables
enc_table, dec_table = azrmooenc.generate_table("AZR")

# Version
print(azrmooenc.version())
```

## API

- `encode(text, key="AZR")` - Encode string to AzrMoo format
- `decode(text, key="AZR")` - Decode AzrMoo string back to text
- `encode_bytes(data, key="AZR")` - Encode bytes to AzrMoo format
- `decode_bytes(data, key="AZR")` - Decode AzrMoo bytes back to original
- `encode_file(input_path, output_path, key="AZR")` - Encode a file
- `decode_file(input_path, output_path, key="AZR")` - Decode a file
- `generate_table(key="AZR")` - Generate encoding/decoding lookup tables
- `version()` - Return version string

## License

MIT
