全部搜尋項
trixie  ] [  sid  ]
[ 原始碼: aiomcache  ]

套件:python3-aiomcache(0.8.1-2)

python3-aiomcache 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 aiomcache

維護者:

外部的資源:

相似套件:

Minimal pure python memcached client

memcached client for asyncio The API looks very similar to the other memcache clients:

 .. code:: python

    import asyncio
    import aiomcache

    async def hello_aiomcache():
        mc = aiomcache.Client("127.0.0.1", 11211)
        await mc.set(b"some_key", b"Some value")
        value = await mc.get(b"some_key")
        print(value)
        values = await mc.multi_get(b"some_key", b"other_key")
        print(values)
        await mc.delete(b"another_key")

    asyncio.run(hello_aiomcache())

. Version 0.8 introduces `FlagClient` which allows registering callbacks to set or process flags. See `examples/simple_with_flag_handler.py`

其他與 python3-aiomcache 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-aiomcache

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10。2 kB49。0 kB [檔案列表]