Skip to main content

⚡ Ultra-fast Python queue system with native C backend support, persistence, and encryption.

Project description

📚 Modular Components

The shohanc library is built as a collection of production-ready, high-performance components designed for use in data-intensive and backend systems. Every module is cleanly separated under shohanc.collections and can be used independently or together.

🔁 UltraQueue — High-Performance Hybrid Queue

A blazing-fast, enterprise-grade RAM + disk queue system with optional native C backend support. Supports persistence, AES encryption, multiprocessing/threading, auto save, and crash recovery.

✅ Features

  • Dual backend: Python deque or C-based ultra queue
  • Auto-save with compression and encryption
  • Thread-safe & process-safe
  • Instant batch operations
  • Real-world tested with million+ ops/sec throughput

🔗 Read Full Docs →

📦 Import:

from shohanc.collections import UltraQueue

🧪 Example:

queue = UltraQueue(file_path="queue.dat", encryption_key="secret", use_ultraqueue=True)
queue.push("data")
print(queue.pop())

🧠 JSONUtils — Smart JSON Operations (Coming Soon)

A powerful toolkit for smart JSON processing in backend and data systems. Will include:

  • Deep comparison (diff, patch)
  • JSON schema validation and enforcement
  • Auto flattening, restructuring, key renaming
  • Compact serialization, pretty printing, transformation chaining

🔗 Planned Documentation →

📦 Future:

from shohanc.collections import JSONUtils

💾 DataStore — Persistent Key-Value Store (Planned)

Crash-safe lightweight key-value database with:

  • Atomic writes
  • Auto backup and snapshot
  • Read/write optimized design
  • Built-in Fernet encryption

🔗 Planned Documentation →

📦 Future:

from shohanc.collections import DataStore

📖 More Modules Coming Soon...

Module Description Status
🧬 BlobStore Binary-safe object store with encryption & versioning ⏳ Planned
🧮 MathUtils Advanced numerical and matrix utilities ⏳ Planned
🧪 TestUtils Built-in stubs and mocks for queue/data testing ✅ Internal
🔍 SearchKit Index-based fast filtering & text search utilities ⏳ Research

🌐 Why Modular?

Benefit Description
🔌 Plug & Play Only use what you need — import minimal components
🧩 Extensible Design Easily build your own modules on top of ours
🛠️ Future Ready Built to support web servers, AI pipelines, and microservices
📦 Real-World Proven Optimized and tested with heavy data + production usage

📚 Documentation & Usage

Each module comes with:

  • 🧠 Conceptual overview
  • 🧪 Code examples & tips
  • 💻 Real-world scenarios
  • ⚠️ Pitfalls to avoid
  • 🔐 Best practices (security, performance)

To explore individual modules, visit the relevant links:

🚀 Contributing New Modules?

If you'd like to add a new component or module under shohanc.collections, check the CONTRIBUTING.md guide.


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

shohanc-0.1.3.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

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

shohanc-0.1.3-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file shohanc-0.1.3.tar.gz.

File metadata

  • Download URL: shohanc-0.1.3.tar.gz
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for shohanc-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1e67f7530583beaa2ae3038b357e460a5ec33d16bf081c6008e3bb05ed9ba39c
MD5 789e0ff12167f37f9fc7dcad543dd6d8
BLAKE2b-256 eaf4a835e32f1a1ab9b9a30e34c08c03a61f6bd440b741a9a3fe3fa7a933b191

See more details on using hashes here.

File details

Details for the file shohanc-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: shohanc-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for shohanc-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cf6f4d94609ce48a7ccf8b7a3019a364e5c196f1b1cb09c40c95aa7a4ee2be1b
MD5 cc1568a7822bc8d841311bb6d36a0372
BLAKE2b-256 21630a1c17e9adccb79a1926206e41441281f436311776b61f5d243ecb3a42b4

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