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(save_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.2.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.2-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shohanc-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 416ab2d4eebb599ca043b7ffb3844d196f73880bbc3b2363e70aef73a4118c08
MD5 8776cea0197a11d1a2dd84096976c7e1
BLAKE2b-256 dd711b20f1e94ac76795e978323ac64c8c72a14a1769d047565913a771bbff4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shohanc-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed467f51d6c33c5e8e3101c252a81c501ae16fc98b643e791093401a605aa1c
MD5 ab1674405361f95fc8f22e482463c2d0
BLAKE2b-256 07bc37200ab6b36902a6c7c76ebf152e65bc0ed620c41cb946eb90e35c15112f

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