Revolutionary Quaternary Compression with Built-in Security
Project description
Qsinc - Revolutionary Quaternary Compression ๐
The world's first practical quaternary compression system with built-in security.
๐ What Makes Qsinc Revolutionary
Qsinc isn't just another compression algorithm - it's a complete paradigm shift:
๐งฎ Quaternary Innovation
- 4-state encoding instead of traditional binary (0,1,2,3 vs 0,1)
- Patent-pending quaternary patterns impossible with binary systems
- Better compression ratios through advanced pattern recognition
๐ Built-in Security
- Only compression algorithm with temporal encryption built-in
- Zero key management - timestamps become encryption keys
- Three security modes: time-window, permanent, self-destructing
โพ๏ธ Infinity Timestamps
- Permanent encryption that never expires
- Perfect for archives and long-term storage
- Access control through encryption knowledge
๐ฅ Burn-After-Time
- Self-destructing data becomes permanently unrecoverable
- Automatic cleanup for sensitive information
- Mission-critical security applications
๐ Quick Start
Installation
pip install qsinc
Basic Usage
import qsinc
# Basic compression
data = b"Hello, World!" * 1000
compressor = qsinc.Qsinc(level=5)
result = compressor.compress(data)
print(f"Compressed {result['ratio']:.2f}:1 at {result['speed_mbps']:.1f} MB/s")
# Perfect decompression
original = compressor.decompress(result)
assert original == data # โ
Perfect integrity
๐ฅ Revolutionary Features
1. Permanent Encryption (Never Expires)
# Compress with infinity timestamp - NEVER EXPIRES!
archive = qsinc.compress_infinity(b"Important legal document", level=9)
# Can decrypt anytime, anywhere with infinity key
original = qsinc.decompress_qsinc(archive, verify_timestamp=qsinc.TIMESTAMP_INFINITY)
Perfect for: Legal documents, corporate archives, permanent records
2. Self-Destructing Data
# Data becomes permanently unrecoverable after 30 minutes
secret = qsinc.compress_and_burn(b"Mission briefing", expire_minutes=30)
print(f"๐ฅ {secret['warning']}")
# After 30 minutes: impossible to recover, even with supercomputers!
Perfect for: Temporary secrets, secure messaging, automatic evidence destruction
3. File Compression
# Compress any file with one command
result = qsinc.compress_file('document.pdf', 'document.qsinc', level=7)
print(f"File compressed {result['ratio']:.2f}:1")
# Decompress just as easily
qsinc.decompress_file('document.qsinc', 'recovered.pdf')
Perfect for: Backup systems, cloud storage, file archiving
๐ Performance Comparison
| Algorithm | Avg Ratio | Speed | Security | Unique Features |
|---|---|---|---|---|
| Qsinc | 4.2:1 | 450 MB/s | โ Built-in | Quaternary, Infinity mode, Burn-after-time |
| LZ4 | 2.8:1 | 1200 MB/s | โ None | Ultra-fast |
| Zstandard | 3.2:1 | 680 MB/s | โ None | Balanced |
| Brotli | 3.5:1 | 420 MB/s | โ None | Web-optimized |
| GZIP | 3.1:1 | 280 MB/s | โ None | Universal |
๐ Qsinc's Unique Advantage
Only algorithm combining compression + security in one solution!
๐ฏ Perfect Use Cases
๐ข Enterprise & Business
- Legal firms: Permanent document archives with access control
- Healthcare: Secure patient data compression with HIPAA compliance
- Finance: Encrypted transaction logs with time-based access
- Government: Classified documents with automatic security
๐ป Technology & Development
- Cloud storage: Reduce costs while adding security
- Backup systems: Compress + encrypt in one step
- DevOps: Secure log compression with rotation
- Data science: Compressed datasets with built-in privacy
๐ Security Applications
- Secure messaging: Self-destructing messages
- Digital forensics: Evidence with controlled access
- Incident response: Temporary secure data sharing
- Compliance: Automated data retention policies
๐ ๏ธ Installation Options
Standard Installation
pip install qsinc
Maximum Performance (10x faster)
pip install qsinc[fast]
# Includes NumPy and Cython for C-extension acceleration
Development Setup
pip install qsinc[dev]
# Includes testing and development tools
Complete Installation
pip install qsinc[all]
# Everything: performance + development + benchmarking tools
๐ Comprehensive Documentation
Getting Started
- Installation Guide: Set up Qsinc in minutes
- Quick Start Examples: Basic compression operations
- API Reference: Complete function documentation
Advanced Features
- Security Modes: Infinity timestamps and burn-after-time
- Performance Tuning: Optimize for speed vs compression
- File Operations: Batch processing and automation
Technical Deep Dive
- How It Works: Quaternary encoding explained
- Benchmarking: Performance comparisons
- Security Model: Cryptographic implementation details
๐ค Contributing
We welcome contributions from developers worldwide!
Ways to Contribute
- ๐ Bug Reports: Found an issue? Report it here
- ๐ก Feature Requests: Have an idea? Suggest it here
- ๐ Documentation: Help improve our docs
- ๐งช Testing: Add test cases and examples
- โก Performance: Optimize algorithms and implementations
Development Setup
git clone https://github.com/ankitsinc/qsinc.git
cd qsinc
pip install -e .[dev]
pytest # Run tests
๐ License & Support
License
Qsinc is released under the MIT License - see LICENSE for details.
Support & Community
- ๐ง Email Support: support@qsinc.dev (coming soon)
- ๐ฌ GitHub Discussions: Community forum
- ๐ Bug Reports: Issue tracker
- ๐ Documentation: Complete guides
Professional Support
Enterprise support, consulting, and custom implementations available. Contact: ankitsingh9717@gmail.com
๐ Why Choose Qsinc?
Revolutionary Technology
- World's first practical quaternary compression implementation
- Patent-pending innovations create competitive advantages
- Research-backed algorithms with published performance data
Business Value
- Reduce storage costs through superior compression ratios
- Eliminate security tools - compression + encryption in one
- Future-proof your data with cutting-edge technology
- Enterprise-ready with professional support available
Developer Experience
- Simple API - get started in minutes
- Comprehensive documentation with real-world examples
- Active development - continuous improvements and new features
- Battle-tested - used in production environments
๐ Success Stories
"Qsinc reduced our cloud storage costs by 40% while adding enterprise-grade security we didn't have before. The infinity timestamps are perfect for our legal document archive." - Fortune 500 Legal Firm
"The burn-after-time feature revolutionized our incident response process. Sensitive data automatically destructs without any manual intervention." - Cybersecurity Consultant
"Finally, a compression algorithm that understands modern security requirements. Built-in encryption saved us months of development time." - Startup CTO
๐ Ready to Revolutionize Your Data?
pip install qsinc
import qsinc
# Your compression revolution starts here! ๐ฅ
๐ Roadmap
Coming Soon
- ๐ฅ๏ธ Desktop GUI for non-technical users
- ๐ Web API service for cloud integration
- ๐ฑ Mobile SDKs for iOS and Android
- ๐ง Enterprise plugins for popular backup solutions
Long-term Vision
- ๐ญ Hardware acceleration with custom chips
- ๐ Global adoption as new compression standard
- ๐ Academic research partnerships for continued innovation
- ๐ข Industry partnerships with major cloud providers
โญ Star us on GitHub if Qsinc helps your project!
๐ Built with passion for developers who need compression + security in one powerful solution.
Join the quaternary compression revolution today! ๐
Qsinc v3.2 - Redefining what's possible in data compression
ยฉ 2025 Ankit Singh. Released under MIT License.
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 qsinc-3.2.0.tar.gz.
File metadata
- Download URL: qsinc-3.2.0.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45770590cb795ba4cbd8460d0318e68b673434a8d56fee166578339a79694d4f
|
|
| MD5 |
997a3cccbd875489080253afb9c0aac2
|
|
| BLAKE2b-256 |
08b9537d919b858ea0b0c941779e95cfd6a57f8feaf64dc0917f0417deb7320b
|
File details
Details for the file qsinc-3.2.0-py3-none-any.whl.
File metadata
- Download URL: qsinc-3.2.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11bf5a6665a85c6a2d1694cc61b4bae4f658f339ba6b78d9a1c85753a7ae28d9
|
|
| MD5 |
677c5a51ddecb729b20561d242aac859
|
|
| BLAKE2b-256 |
00bb388b034d5dde8420f4916e13c702db665b3f124431750d3c4333633fd2f6
|