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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a25ebdef824a68b95202e3927cbef5c9af9ec5f141ebc6a01001ecc3be173243
|
|
| MD5 |
28fc4e6e93744c815f92a8f46727e341
|
|
| BLAKE2b-256 |
eda4e05ab4893e1700b1fcd320a7ded8142a4a47b245fb86ec5ca7e68e7fed79
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d620fe7488b3326048c39952db0a672459a4940d047532bdd0309100a18e5da
|
|
| MD5 |
62e0952b30743a3fadf445077d232e94
|
|
| BLAKE2b-256 |
e2b025e1dd2bc7dfe6b82ee13f5aa61f7593dfbb543a9a6957721517f68213b2
|