kore_fileformat 1.2.9

KORE — Killer Optimized Record Exchange: standalone Rust crate (zero deps)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
# Kore — Killer Optimized Record Exchange

[![Crates.io](https://img.shields.io/crates/v/kore_fileformat.svg)](https://crates.io/crates/kore_fileformat)
[![PyPI](https://img.shields.io/pypi/v/kore-fileformat.svg)](https://pypi.org/project/kore-fileformat/)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
[![Rust 1.70+](https://img.shields.io/badge/rust-1.70%2B-orange.svg)](https://www.rust-lang.org/)

**A high-performance, columnar file format for analytics with cloud storage connectors.**

Kore is a Rust-based columnar file format designed for efficient storage and analysis of structured data. It provides zero external dependencies in the base library with optional cloud connectors for AWS S3, Azure Blob Storage, and Google Cloud Storage.

---

## 🚀 Quick Start (5 Minutes)

### Step 1: Install
```bash
pip install kore-fileformat==1.2.9
```

### Step 2: Import
```python
from kore_fileformat import compress_csv

# Compress a CSV file (that's it!)
original, compressed, ratio = compress_csv("data.csv", "data.kore")
print(f"✅ Compressed {ratio:.1%}")
```

### Step 3: Use It
```python
from kore_fileformat import get_kore_info

# Get file information
info = get_kore_info("data.kore")
print(f"Records: {info['total_records']:,}")
```

---

## 📚 Documentation

### Getting Started
| Document | For Whom | Time |
|----------|----------|------|
| **[docs/INSTALLATION.md]docs/INSTALLATION.md** | Everyone | 5 min |
| **[docs/USER_GUIDE.md]docs/USER_GUIDE.md** | Python users | 15 min |
| **[docs/EXAMPLES.md]docs/EXAMPLES.md** | Developers | 20 min |

### Reference
| Document | Coverage |
|----------|----------|
| **[docs/API_REFERENCE.md]docs/API_REFERENCE.md** | Complete API documentation with examples |
| **[docs/TROUBLESHOOTING.md]docs/TROUBLESHOOTING.md** | FAQ, common issues, solutions |

### Advanced Documentation
| Guide | Purpose |
|---|---|
| **[PYTHON_USER_GUIDE.md]PYTHON_USER_GUIDE.md** | Cloud integration, advanced features |
| **[DOCKER_EMULATORS_GUIDE.md]DOCKER_EMULATORS_GUIDE.md** | Docker setup, LocalStack, Azurite testing |
| **[DOCUMENTATION_INDEX.md]DOCUMENTATION_INDEX.md** | Complete documentation index |
| **[CI_CD_SECRETS_SETUP.md]CI_CD_SECRETS_SETUP.md** | GitHub Actions, publishing setup |

**👉 New users**: Start with [docs/INSTALLATION.md](docs/INSTALLATION.md) → [docs/USER_GUIDE.md](docs/USER_GUIDE.md)

---

## ✨ Features

### Core Library
- **Zero External Dependencies**: Lightweight base crate
-**Columnar Format**: Optimized for analytical queries
-**Compression**: Built-in data compression
-**Multi-Platform**: Windows, macOS, Linux, web

### Cloud Connectors
- **AWS S3**: Full implementation in v1.0.0
-**Azure Blob Storage**: Full implementation coming in v1.1.0
-**Google Cloud Storage**: Full implementation coming in v1.1.0

### Language Bindings
- **Python**: PyO3 wheel for Python 3.9-3.12
-**Java**: JNI bindings and Maven package
-**JavaScript**: NAPI module for Node.js
-**Go**: Coming in v1.2.0

### DevOps & CI/CD
- **GitHub Actions**: 10 automated jobs for testing and publishing
-**Docker Support**: Integration tests with emulators
-**Multi-Registry Publishing**: crates.io, PyPI, Maven Central, npm

---

## 📋 What's Included in v1.0.0

| Component | Status | Details |
|---|---|---|
| **Base Library** | ✅ Production | Columnar format, compression, serialization |
| **S3 Connector** | ✅ Production | Read/write to AWS S3 with LocalStack testing |
| **Azure Connector** | ⏳ Prepared | Stub implementations, full SDK in v1.1.0 |
| **GCS Connector** | ⏳ Prepared | Stub implementations, full SDK in v1.1.0 |
| **Python Bindings** | ✅ Production | Wheel installation, PyPI distribution |
| **Java Bindings** | ✅ Production | JNI library, Maven Central distribution |
| **JavaScript Bindings** | ✅ Production | NAPI addon, npm distribution |
| **Integration Tests** | ✅ Complete | 4 comprehensive tests with emulators |
| **Documentation** | ✅ Complete | 8 guides, 2000+ lines, 50+ examples |

---

## 🎯 Use Cases

### Data Analytics
Process large datasets efficiently with columnar storage:
```python
import kore_fileformat
# Store analytics data in columnar format for fast queries
```

### Cloud Data Lakes
Store data directly in S3, Azure, or GCS:
```python
from kore_fileformat import S3Reader
reader = S3Reader(region='us-east-1')
data = reader.read_file('my-bucket', 'path/to/data.kore')
```

### Multi-Language Projects
Use Kore from Python, Java, or JavaScript in the same project:
```python
# Python: import kore_fileformat
# Java: import com.kore.cloud.S3Reader;
# JS: const kore = require('kore-fileformat');
```

---

## 🏗️ Architecture

### Modular Design
```
kore_fileformat/
├── core/           # Base library (zero dependencies)
├── cloud/          # Cloud connectors (optional)
│   ├── s3/        # AWS S3 (working)
│   ├── azure/     # Azure Blob (v1.1+)
│   └── gcs/       # Google Cloud (v1.1+)
└── bindings/       # Language bindings
    ├── python/    # PyO3 wheel
    ├── java/      # JNI library
    └── napi/      # Node.js addon
```

### Feature Gates
```toml
# Base: zero external dependencies
kore_fileformat = "1.0.0"

# With S3
kore_fileformat = { version = "1.0.0", features = ["s3"] }

# With all cloud (v1.1.0+)
kore_fileformat = { version = "1.0.0", features = ["s3", "azure", "gcs"] }

# With Python bindings
# Use: pip install kore-fileformat
```

---

## 📊 Performance

Kore is designed for analytics workloads:
- **Compression**: 5-10x reduction on typical datasets
- **Query Speed**: Columnar format enables fast aggregations
- **Storage**: 10-50 MB files with millions of rows
- **Cloud**: Direct S3/Azure/GCS integration (no intermediate files)



---

## 🛠️ Installation

### Requirements
- **Rust**: 1.70+ (for building from source)
- **Python**: 3.9-3.12 (for Python wheel)
- **Java**: 17+ (for Java bindings)
- **Node.js**: 14+ (for JavaScript bindings)
- **Docker**: 20.10+ (for testing with emulators)

### From PyPI (Recommended for Python)
```bash
pip install kore-fileformat
```

### From crates.io (Rust)
```bash
cargo add kore_fileformat --features s3
```

### Build from Source
```bash
git clone https://github.com/arunkatherashala/Kore.git
cd Kore
cargo build --release --features s3
```

---

## 🧪 Testing

### Run Unit Tests
```bash
cargo test
```

### Run Integration Tests (requires Docker)
```bash
# Start emulators (LocalStack, Azurite, GCS)
docker-compose up -d

# Run tests
cargo test --features s3,azure,gcs --test integration_tests -- --nocapture

# Stop emulators
docker-compose down
```

See [DOCKER_EMULATORS_GUIDE.md](DOCKER_EMULATORS_GUIDE.md) for detailed setup.

---

## 🚀 Cloud Integration

### AWS S3 (v1.0.0 - Working)
```python
from kore_fileformat import S3Reader

reader = S3Reader(region='us-east-1')
data = reader.read_file('bucket', 'object.kore')
reader.write_file('bucket', 'object.kore', data)
```

### Azure Blob Storage (v1.1.0 - Coming Soon)
```python
from kore_fileformat import AzureBlobReader

reader = AzureBlobReader('account', 'key')
data = reader.read_file('container', 'blob.kore')
```

### Google Cloud Storage (v1.1.0 - Coming Soon)
```python
from kore_fileformat import GcsReader

reader = GcsReader('project-id')
data = reader.read_file('bucket', 'object.kore')
```

---

## 🤝 Contributing

We welcome contributions! Here's how:

1. **Report Issues**: [GitHub Issues]https://github.com/arunkatherashala/Kore/issues
2. **Discuss Ideas**: [GitHub Discussions]https://github.com/arunkatherashala/Kore/discussions
3. **Submit PRs**: Fork, branch, code, and create a pull request

See [V1_1_ROADMAP.md](V1_1_ROADMAP.md) for planned features and how to help.

---

## 📅 Roadmap

### v1.0.0 (Current) ✅
- S3 connector with full API
- Python, Java, JavaScript bindings
- Integration tests with emulators
- Complete documentation

### v1.1.0 (Q2 2026)
- Azure Blob Storage full implementation
- Google Cloud Storage full implementation
- Performance optimizations
- Streaming support

### v2.0.0 (Q4 2026)
- Go language bindings
- Multi-region support
- Caching layer
- Advanced compression

See [V1_1_ROADMAP.md](V1_1_ROADMAP.md) for detailed phases and milestones.

---

## 📦 Distribution Channels

### Latest Versions
| Platform | Package | Version | Link |
|---|---|---|---|
| **PyPI** | kore-fileformat | 1.0.0 | [PyPI]https://pypi.org/project/kore-fileformat/ |
| **Crates.io** | kore_fileformat | 1.0.0 | [Crates.io]https://crates.io/crates/kore_fileformat |
| **Maven** | com.arun.kore:kore-cloud-java | 1.0.0 | Coming v1.1 |
| **npm** | kore-fileformat | 1.0.0 | Coming v1.1 |

---

## 🔒 Security

### Features
- Zero external dependencies in base library
- Optional SDKs are version-pinned and updated regularly
- Integration tests verify cloud connectivity
- GitHub Actions security scanning

### Reporting Security Issues
Please email: **arunkatherashala@gmail.com**

---

## 📞 Support & Community

### Getting Help
- **Documentation**: [DOCUMENTATION_INDEX.md]DOCUMENTATION_INDEX.md
- **Issues**: [GitHub Issues]https://github.com/arunkatherashala/Kore/issues
- **Discussions**: [GitHub Discussions]https://github.com/arunkatherashala/Kore/discussions
- **Email**: arunkatherashala@gmail.com

### Stay Updated
- **GitHub**: Star the repository
- **Releases**: Watch for v1.1.0 announcement
- **Email**: Subscribe to release notifications

---

## 📄 License

Kore is licensed under the Apache License 2.0.

```
Copyright 2024-2026 Sai Arun Kumar Ktherashala

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

---

## 👤 Author

**Sai Arun Kumar Ktherashala**
- Email: arunkatherashala@gmail.com
- GitHub: [@arunkatherashala]https://github.com/arunkatherashala
- LinkedIn: [Sai Arun Kumar]https://linkedin.com/in/arunkatherashala

---

## 🎯 What's Next?

### For Users
1. **Read**: [PYTHON_USER_GUIDE.md]PYTHON_USER_GUIDE.md or [DOCKER_EMULATORS_GUIDE.md]DOCKER_EMULATORS_GUIDE.md
2. **Install**: `pip install kore-fileformat`
3. **Explore**: Check [DOCUMENTATION_INDEX.md]DOCUMENTATION_INDEX.md for your role

### For Contributors
1. **Review**: [V1_1_ROADMAP.md]V1_1_ROADMAP.md for v1.1.0 features
2. **Clone**: `git clone https://github.com/arunkatherashala/Kore.git`
3. **Setup**: Follow [DOCKER_EMULATORS_GUIDE.md]DOCKER_EMULATORS_GUIDE.md
4. **Code**: Create feature branch and submit PR

### For DevOps
1. **Setup**: [CI_CD_SECRETS_SETUP.md]CI_CD_SECRETS_SETUP.md for automated publishing
2. **Monitor**: GitHub Actions workflows on each push
3. **Release**: Tag v1.0.1 or v1.1.0 to trigger publishing

---

## ✅ Project Status

| Phase | Status | Delivered |
|---|---|---|
| **Phase 1: Core Library** | ✅ Complete | Base Kore format, compression, serialization |
| **Phase 2: Cloud SDKs** | ✅ Partial | S3 working, Azure/GCS coming v1.1 |
| **Phase 3: Language Bindings** | ✅ Complete | Python, Java, JavaScript production-ready |
| **Phase 4: Integration Tests** | ✅ Complete | 4 comprehensive tests with emulators |
| **Phase 5: CI/CD & Publishing** | ✅ Complete | 10 automated jobs, multi-registry support |
| **Documentation** | ✅ Complete | 8 guides, 2000+ lines, 50+ examples |

---

## 🎉 Thank You!

Thank you for choosing Kore! We're excited to see what you build.

**Questions?** Open an issue or discussion on GitHub.  
**Want to help?** Check [V1_1_ROADMAP.md](V1_1_ROADMAP.md) for features to implement.  
**Found a bug?** Report it on [GitHub Issues](https://github.com/arunkatherashala/Kore/issues).

---

**Latest Release**: v1.0.0  
**Last Updated**: May 14, 2026  
**Status**: Production Ready ✅

🚀 **Let's build amazing data infrastructure together!**