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.1.tar.gz (48.4 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.1-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shohanc-0.1.1.tar.gz
  • Upload date:
  • Size: 48.4 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.1.tar.gz
Algorithm Hash digest
SHA256 2a03787f907878f794847014053c8779ac6032b281e4aff9377db13d08fd9128
MD5 0ba5060361e269ef9971d4e29d84bad7
BLAKE2b-256 1d76ee6dfaa54320f5814c602de3da6f205915aca7cd8c900e71e3d2097b877d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shohanc-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5752a5b4eea49795101626bd0c20bf3dcac7376163ae56b057e187096274d76e
MD5 3f761cb08ec9281bd45618a04a972b17
BLAKE2b-256 0ad2b1f76f40cc79a8f7e2f3b67188600a8aab6c9eb987a2dc83cf162fcca462

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