{"id":18476088,"url":"https://github.com/ducin/pycached","last_synced_at":"2025-05-13T15:19:39.484Z","repository":{"id":145173048,"uuid":"13661653","full_name":"ducin/pycached","owner":"ducin","description":"simple key-value storage based on python/twisted","archived":false,"fork":false,"pushed_at":"2015-06-26T10:34:37.000Z","size":372,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-25T11:30:09.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ducin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-17T21:27:39.000Z","updated_at":"2015-07-09T21:56:18.000Z","dependencies_parsed_at":"2023-03-30T15:41:38.020Z","dependency_job_id":null,"html_url":"https://github.com/ducin/pycached","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducin%2Fpycached","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducin%2Fpycached/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducin%2Fpycached/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducin%2Fpycached/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ducin","download_url":"https://codeload.github.com/ducin/pycached/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239188697,"owners_count":19597032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T10:36:08.884Z","updated_at":"2025-02-16T19:43:14.999Z","avatar_url":"https://github.com/ducin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyCached\n\nPyCached is a simple key-value storage based on python/[twisted](http://twistedmatrix.com/) library.\n\n## Commands\n\nFollowing commands are provided:\n\n| Command       | Arguments     | Description  |\n| ------------- |:-------------:| ------------:|\n| version | - | returns pycached server version |\n| count | - | returns number of cache entries |\n| clear | - | removes all cache entries |\n| items | - | returns all cache entries |\n| status | - | returns pycached server status (uptime) |\n| get | key | returns cache entry for a given key |\n| set | key, value | sets/overwrites cache entry for a given key with a given value |\n| delete | key | deletes cache entry for a given key |\n\n## Clients\n\nPyCached serves following clients:\n * python\n * PHP\n * JavaScript (must run http server)\n\n## Interactive console client\n\nYou may play with PyCached using interactive console client tool (just like you\ndo with python interactive shell). Simply start the service and then start the\nclient:\n\n    export PYTHONPATH=\"$PYTHONPATH:`pwd`/client/python\"\n    ./run-service 8081\n    ./run-client localhost 8081\n\nThen the python shell shall open with the `client` object ready to be used:\n\n    Python 2.7.2+ (default, Jul 20 2012, 22:12:53)\n    [GCC 4.6.1] on linux2\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n    (InteractiveConsole)\n    \u003e\u003e\u003e client\n    \u003cclient.PyCachedClient object at 0xb72ae34c\u003e\n    \u003e\u003e\u003e client.version()\n    u'1.2'\n\n## HTTP Access\n\n### work in progress\n\nPyCached is bundled with an HTTP server that connects to the main service. This\nenables browser clients to send requests to the cache indirectly.\n\n## Tests \u0026 Continuous Integration\n\nPyCached is continuously integrated with travis:\n\n[![Build Status](https://travis-ci.org/ducin/pycached.png?branch=master)](https://travis-ci.org/ducin/pycached)\n\nAutomated test execution perform following steps:\n\n * set environment variables (pycached host and port)\n * run the server\n * run tests (all tests rely on the same server process)\n * kill the server process\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducin%2Fpycached","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fducin%2Fpycached","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducin%2Fpycached/lists"}