{ "info": { "author": "Axel Juraske", "author_email": "axel.juraske@short-report.de", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "puppetry\n========\n\n.. image:: https://img.shields.io/gitter/room/nwjs/nw.js.svg\n :alt: Gitter\n :target: https://gitter.im/axju/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link\n\n.. image:: https://img.shields.io/twitter/url/https/github.com/axju/axju.svg?style=social\n :alt: Twitter\n :target: https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Faxju%2Fpuppetry\n\nRemote objects, like puppet.\n\nFor a small project I need to communicate between two process. In one process I\nhave a class which create an object. The other process should access the\nfunctions and variables of this object. The process play with the object like an\npuppetry.\n\nInstall\n-------\n::\n\n pip install puppetry\n\nBasic usage\n-----------\nExample class::\n\n class HelloWorld(object):\n\n def __init__(self, name=''):\n self.name = name\n\n def hello(self, name=None):\n if name: return 'Hello ' + name\n return 'Hello ' + self.name\n\nServer::\n\n from puppetry import RemoteServer\n\n server = RemoteServer((HOST, PORT), obj=HelloWorld('world'))\n server.start()\n\nClient::\n\n from puppetry import RemoteClient\n\n client = RemoteClient((HOST, PORT))\n print(client.hello())\n\n client.name = 'puppetry'\n print(client.hello())\n\nSee more examples in the example folder.\n\nDevelopment\n-----------\nClone repo::\n\n git clone https://github.com/axju/puppetry.git\n\nCreate virtual environment and update dev-tools::\n\n python3 -m venv venv\n source venv/bin/activate\n pip install --upgrade wheel pip setuptools twine tox\n\nInstall local::\n\n pip install -e .\n\nPublish the packages::\n\n python setup.py sdist bdist_wheel\n twine upload dist/*\n\nRun some tests::\n\n tox\n python setup.py test\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/axju/puppetry", "keywords": "socketserver socket pickle serializer", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "puppetry", "package_url": "https://pypi.org/project/puppetry/", "platform": "", "project_url": "https://pypi.org/project/puppetry/", "project_urls": { "Homepage": "https://github.com/axju/puppetry" }, "release_url": "https://pypi.org/project/puppetry/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "puppetry with objects", "version": "0.0.1" }, "last_serial": 4410802, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "02dcf5a7d81b2769467ca5275bf90179", "sha256": "94f1dc4526398ef03a8241a38fff012accbb500d47ccd85f7217f36773718195" }, "downloads": -1, "filename": "puppetry-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "02dcf5a7d81b2769467ca5275bf90179", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6392, "upload_time": "2018-10-24T12:03:34", "url": "https://files.pythonhosted.org/packages/65/b6/98edb0c53bc8df83cfa2393a23f13fb608a145ec81de3551168321606f74/puppetry-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd1b158cdff9885b0c61e64cc61efb0d", "sha256": "ff494a5bf045d716bfe2b4f81a60eae07ff792eb7d0fd6704864c0c525720f51" }, "downloads": -1, "filename": "puppetry-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cd1b158cdff9885b0c61e64cc61efb0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4471, "upload_time": "2018-10-24T12:03:36", "url": "https://files.pythonhosted.org/packages/1d/e8/ba6ce330e5f6266fa7969dadda705a3e14745a04b10402e74d0b4182e3c7/puppetry-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02dcf5a7d81b2769467ca5275bf90179", "sha256": "94f1dc4526398ef03a8241a38fff012accbb500d47ccd85f7217f36773718195" }, "downloads": -1, "filename": "puppetry-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "02dcf5a7d81b2769467ca5275bf90179", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6392, "upload_time": "2018-10-24T12:03:34", "url": "https://files.pythonhosted.org/packages/65/b6/98edb0c53bc8df83cfa2393a23f13fb608a145ec81de3551168321606f74/puppetry-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd1b158cdff9885b0c61e64cc61efb0d", "sha256": "ff494a5bf045d716bfe2b4f81a60eae07ff792eb7d0fd6704864c0c525720f51" }, "downloads": -1, "filename": "puppetry-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cd1b158cdff9885b0c61e64cc61efb0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4471, "upload_time": "2018-10-24T12:03:36", "url": "https://files.pythonhosted.org/packages/1d/e8/ba6ce330e5f6266fa7969dadda705a3e14745a04b10402e74d0b4182e3c7/puppetry-0.0.1.tar.gz" } ] }