{"id":23886160,"url":"https://github.com/hiro5id/python-fabric","last_synced_at":"2026-06-15T02:33:24.410Z","repository":{"id":72035016,"uuid":"66174234","full_name":"hiro5id/python-fabric","owner":"hiro5id","description":"A docker container that can be used to run python fabric automations. It also includes Cuisine, which is a set of fabric helper automations.","archived":false,"fork":false,"pushed_at":"2016-08-21T00:38:21.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-14T19:14:14.430Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiro5id.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-21T00:31:14.000Z","updated_at":"2022-06-23T22:21:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae915253-b2bf-491b-b81e-8b1e1ae38fff","html_url":"https://github.com/hiro5id/python-fabric","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiro5id/python-fabric","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro5id%2Fpython-fabric","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro5id%2Fpython-fabric/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro5id%2Fpython-fabric/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro5id%2Fpython-fabric/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiro5id","download_url":"https://codeload.github.com/hiro5id/python-fabric/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro5id%2Fpython-fabric/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34345577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-04T05:56:57.887Z","updated_at":"2026-06-15T02:33:24.406Z","avatar_url":"https://github.com/hiro5id.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker Fabric\n===\n\nAn image for running [Fabric](http://www.fabfile.org/) commands.\n\nExample:\n\n```docker run -it --rm -v $PWD:/app sebestyen/python-fabric fab .```\n\nGiven the following fabfile.py in your current directory\n```python\ndef hello():\n    print \"hello world\"\n```\nwill print \u003e hello world\n\nYou man also ask for help from fabric like this:\n\n```docker run -it --rm -v $PWD:/app sebestyen/python-fabric fab --help```\n\n\nNote that this container has [cuisine](https://pypi.python.org/pypi/cuisine) installed.  These are a number of fabric extensions for common\nactions. \n\nHow to run cuisine\n=====\n\nOpen up a python shell and type:\n\n```import cuisine```\n\nCuisine is designed to be a flat-file module, where all functions are prefixed by the type of functionality they offer (e.g., file for file operations, user for user operations). The available groups are:\n\n```\ntext_*    Text-processing functions\nfile_*    File operations\ndir_*     Directory operations\npackage_* Package management operations\ncommand_* Shell commands availability\nuser_*    User creation commands\ngroup*    Group creation commands\nmode_*    Configures cuisine’s behaviour within the current session.\nselect_*  Selects a specific option, such as package back-end (apt, yum, zypper, or pacman)\n```\n\nIf you’re using an interactive Python shell such as IPython you can easily browse the available functions by using tab-completion.\n\nAs the functions are prefixed by they type of functionality, it is very easy to get started using an interactive shell.\n\nIf you would like to use cuisine without using a fabfile, you can call the mode_local() function.\n\n```\nimport cuisine\ncuisine.mode_local()\nprint cuisine.run(\"echo Hello\")\n```\n\nalternatively, you can also directly connect to a server\n\n```\nimport cuisine\ncuisine.connect(\"my.server.com\")\nprint cuisine.run(\"echo Hello\")\n```\n\nIf you want to use cuisine within a fabfile, simply create a fabfile with the following content:\n\n```\nfrom cuisine import *\n\ndef setup():\n    group_ensure(\"remote_admin\")\n    user_ensure(\"admin\")\n    group_user_ensure(\"remote_admin\", \"admin\")\n```\n\nYou may run Ipython for interactive python with tab completion\n====\n\nExample:\n\n```docker run -it --rm -v $PWD:/app sebestyen/python-fabric ipython```\n\nYou may also run bash to get into the container via bash:\n====\n\nExample:\n\n```docker run -it --rm -v $PWD:/app sebestyen/python-fabric bash```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiro5id%2Fpython-fabric","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiro5id%2Fpython-fabric","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiro5id%2Fpython-fabric/lists"}