{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Topic :: Internet", "Topic :: Security", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": ".. warning::\n\n BrainSlug is a work in progress. Code may change rapidly in incompatible manners. Any question, please drop us an issue\n \n.. image:: https://raw.githubusercontent.com/BBVA/brainslug/master/assets/images/brainslug.png\n :align: center\n\n\n\n.. image:: https://img.shields.io/pypi/v/brainslug.svg\n :target: https://pypi.org/project/brainslug/\n\n.. image:: https://img.shields.io/circleci/project/github/BBVA/brainslug/master.svg\n :target: https://circleci.com/gh/BBVA/brainslug/tree/master\n\n.. image:: https://readthedocs.org/projects/brainslug/badge/?version=latest\n :target: https://brainslug.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/github/license/BBVA/brainslug.svg\n :alt: License Apache\n\nBrainSlug is a framework for *parasitic computing*. Allowing you to\nwrite programs which code and logic live in a computer but actions or\n*side-effects* are performed on another.\n\nExample:\n\n.. code-block:: python\n\n from brainslug import run, slug, body\n\n @slug(remote=body.platform == 'linux')\n def get_root_shell(remote):\n with remote.open('/etc/passwd', 'r') as passwd:\n for line in passwd:\n if line.startswith('root'):\n return line.split(':')[-1]\n\n run(get_root_shell)\n\n\nThis code should be run in a computer we call *slug*. Running this code\nwill open the port 8080 and stop execution until a *body* connects to\nit.\n\nTo connect a *body*, in a remote system run the following:\n\n.. code-block:: bash\n\n $ curl http://:8080/boot/python | python\n\nThis will spawn the *body* to life and connect it with the *slug*.\n\nThe program continues running in the *slug*, but the file reads are\nperformed in the *body*.\n\nMore examples on the example section.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "parasitic computing framework", "license": "", "maintainer": "", "maintainer_email": "", "name": "brainslug", "package_url": "https://pypi.org/project/brainslug/", "platform": "", "project_url": "https://pypi.org/project/brainslug/", "project_urls": null, "release_url": "https://pypi.org/project/brainslug/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Parasitic Computing Framework", "version": "0.0.2" }, "last_serial": 4906135, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8b5d23b979403632daad396677d2dc82", "sha256": "d6d663d72c3b2be311807cb026c30fc130b481b2d4692116bddd8d5429fffb34" }, "downloads": -1, "filename": "brainslug-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8b5d23b979403632daad396677d2dc82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5631, "upload_time": "2019-03-06T16:02:56", "url": "https://files.pythonhosted.org/packages/00/8a/78f3bff0b6d92041493190526eaefca5c6bd895ec9d883e1058c4c5dba82/brainslug-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f4bbb9b0c3b2bb70861b7a1395350a92", "sha256": "8d86310a0538d5126d54a74c7195044a328f2ac2d31698921ca573fc2f9b0017" }, "downloads": -1, "filename": "brainslug-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f4bbb9b0c3b2bb70861b7a1395350a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5953, "upload_time": "2019-03-06T16:14:36", "url": "https://files.pythonhosted.org/packages/11/39/f9fa740ce001316639b429c8ac1f5d4cd8155608e0cd933dd33c3feadd7c/brainslug-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f4bbb9b0c3b2bb70861b7a1395350a92", "sha256": "8d86310a0538d5126d54a74c7195044a328f2ac2d31698921ca573fc2f9b0017" }, "downloads": -1, "filename": "brainslug-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f4bbb9b0c3b2bb70861b7a1395350a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5953, "upload_time": "2019-03-06T16:14:36", "url": "https://files.pythonhosted.org/packages/11/39/f9fa740ce001316639b429c8ac1f5d4cd8155608e0cd933dd33c3feadd7c/brainslug-0.0.2.tar.gz" } ] }