Skip to main content

A lightweight client-side library for zcached, written in Python.

Project description

Zcached.py - A client-side library for zcached.

commits license

📜 Introduction

Zcached.py is a Python client-side library designed to interact with zcached, a high-performance caching system. This library provides developers with an easy-to-use interface for integrating zcached into their Python applications, enabling efficient data caching.

For more information, please see zcached repository.

🌟 Features

  • Simplified Caching: Zcached.py simplifies the process of caching data by providing intuitive functions for storing and retrieving values.
  • Efficient Communication: The library optimizes communication with the zcached server, ensuring minimal overhead and efficient data transfer.
  • Properly Typehinted: The codebase of zcached.py is properly typehinted, enhancing code readability.

🔧 Installation

[!IMPORTANT]
Library requires python version 3.8 or newer. (Older should also work, but untested).

Before installing zcached.py, ensure that you have the zcached server. Instructions for installing the server can be found here.

Once the zcached server is installed, you can proceed to install zcached.py using pip:

pip install -U zcached.py

🖊️ Usage

Here's a basic example demonstrating how to use zcached.py in your Python code:

from zcached import ZCached, Result

client = ZCached(host="localhost", port=1234)

result: Result[str] = client.ping()
print(result.value)

See more examples here

👥 Contributing

Contributions to zcached.py are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

📕 License

Zcached.py is licensed under the MIT License.

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

zcached.py-1.0.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

zcached.py-1.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file zcached.py-1.0.0.tar.gz.

File metadata

  • Download URL: zcached.py-1.0.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for zcached.py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 04cefd193eb6748ff99eb32ebea149c7c702c74183aff85773300532450169aa
MD5 02a1a141940137a093daa1a8f1ad2830
BLAKE2b-256 c1078adf87590ea746bb3d849033f3d1e603a7db6d9c54125eb9d3df18371c00

See more details on using hashes here.

File details

Details for the file zcached.py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: zcached.py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for zcached.py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0019f256a1fd779f68d341263034863ab9f3190dcbfe6c90f97efdaf1544fb
MD5 e45338e8fb058b2b095a3cec003f80f1
BLAKE2b-256 cebb1ce50f6d197d22db65a30d5f0dfb8fe8fdbc41e841637048ec4898ed1e30

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page