Skip to main content

Revolutionary Quaternary Compression with Built-in Security

Project description

Qsinc - Revolutionary Quaternary Compression ๐Ÿš€

PyPI version Python 3.8+ License: MIT Downloads GitHub stars

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

Advanced Features

Technical Deep Dive


๐Ÿค 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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qsinc-3.2.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qsinc-3.2.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

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

Hashes for qsinc-3.2.0.tar.gz
Algorithm Hash digest
SHA256 45770590cb795ba4cbd8460d0318e68b673434a8d56fee166578339a79694d4f
MD5 997a3cccbd875489080253afb9c0aac2
BLAKE2b-256 08b9537d919b858ea0b0c941779e95cfd6a57f8feaf64dc0917f0417deb7320b

See more details on using hashes here.

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

Hashes for qsinc-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11bf5a6665a85c6a2d1694cc61b4bae4f658f339ba6b78d9a1c85753a7ae28d9
MD5 677c5a51ddecb729b20561d242aac859
BLAKE2b-256 00bb388b034d5dde8420f4916e13c702db665b3f124431750d3c4333633fd2f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page