Skip to main content

A simple in-memory caching module like Memcached

Project description

CacheCraft

CacheCraft is a custom in-memory caching system designed to improve application performance by storing and retrieving data with low-latency access. This Project is fully inspired by Memcache and some code have references from memcached github repo.

Project Structure

CacheCraft/
├── cachecraft/
│   ├── __init__.py   # Package init file
│   ├── cache.py      # Core caching logic
├── tests/
│   ├── test_cache.py # pytest
├── setup.py          # Setup configuration for PyPI
|── Dockerfile        # Dockerfile  
├── README.md         # Project description
└── LICENSE           # License file

Features

1. Key-value store
2. Expiration : Optionally set TTl (time to live)
3. LRU Eviction Policy : Automatically evicts the least recently used entries (Try to Implement later of the Project)
4. Containerize services
5. HTTP API : Access through simple HTTP requests
6. Customizable: Modify cache size, eviction policy etc.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

cachecraft-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

CacheCraft-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file cachecraft-0.1.0.tar.gz.

File metadata

  • Download URL: cachecraft-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for cachecraft-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a25ebdef824a68b95202e3927cbef5c9af9ec5f141ebc6a01001ecc3be173243
MD5 28fc4e6e93744c815f92a8f46727e341
BLAKE2b-256 eda4e05ab4893e1700b1fcd320a7ded8142a4a47b245fb86ec5ca7e68e7fed79

See more details on using hashes here.

File details

Details for the file CacheCraft-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: CacheCraft-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for CacheCraft-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d620fe7488b3326048c39952db0a672459a4940d047532bdd0309100a18e5da
MD5 62e0952b30743a3fadf445077d232e94
BLAKE2b-256 e2b025e1dd2bc7dfe6b82ee13f5aa61f7593dfbb543a9a6957721517f68213b2

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