{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.7" ], "description": "Ctshed - Container Toolshed\n===========================\n![Travis (.org)](https://img.shields.io/travis/kkarolis/ctshed.svg)\n![Coveralls github](https://img.shields.io/coveralls/github/kkarolis/ctshed.svg)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ctshed.svg)\n![PyPI](https://img.shields.io/pypi/v/ctshed.svg)\n![GitHub](https://img.shields.io/github/license/kkarolis/ctshed.svg)\n[![Project Status: Concept \u2013 Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept.](https://www.repostatus.org/badges/latest/concept.svg)](https://www.repostatus.org/#concept)\n\n\nContainer Toolshed. A CLI tool manager for creating container centric\nnamespaces with specific tools installed. This could possibly help to easier\nmanage cli tools for users (multiple tool versions, no screw-up with os level\npackage executables)\n\nExample\n-------\n\n```sh\n# a single tool executable, debian:stable implicit source\nctshed install --packages=curl --cmd=curl mycurl\n# downloads the P04156.fasta file and saves it in the current directory\nctshed-mycurl -LO https://www.uniprot.org/uniprot/P04156.fasta\n\n# a tool namespace \nctshed install --source=biocontainers/blast:2.2.31 myblast\nctshed-myblast curl -LO https://www.uniprot.org/uniprot/P04156.fasta\nctshed-myblast curl -LO ftp://ftp.ncbi.nih.gov/refseq/D_rerio/mRNA_Prot/zebrafish.1.protein.faa.gz\nctshed-myblast gunzip zebrafish.1.protein.faa.gz\nctshed-myblast makeblastdb -in zebrafish.1.protein.faa -dbtype prot\nctshed-myblast blastp -query P04156.fasta -db zebrafish.1.protein.faa -out results.txt\n```\n\nInstallation\n------------\n```sh\npip install ctshed\n```\n\nThe tool places binaries to `~/bin` directory blindly without checking if it\nexists or if theres a nameclash. Make sure `~/bin` exists in your path. E.g.\nplace something like this in `~/.bash_rc`:\n\n```sh\n#~/.bash_rc file\nexport PATH=\"$HOME/bin:$PATH\"\n```\n\nThe tool depends on `docker` binary existing on the host system. You have to\ninstall it if you don't have it. Installation of docker on `ubuntu` systems is described [docker-ce/ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu/)\n\n\nFeatures\n--------\n\n* Create a docker based tool namespace\n* Create an executable with specific tool installation\n\n\nPrinciples of working\n---------------------\n\n1. An image is created during the install step and some name is automatically given to it.\n2. An executable is created in executable directory of the users workspace.\n3. Executable contains a container run command with stdin/stdout/stderr\n attached and /home directory mounted.\n\nTesting\n-------\n\n```sh\npython -m unittest discover tests\n```\n\nLimitations\n-----------\n\nThere are limitations with using container as a wrapper for command line.\n* Configuration might not be picked up by the tool.\n* Input/Output works correctly only under /home directory\n* Security, because /home is mounted\n* More will come. \n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kkarolis/ctshed", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ctshed", "package_url": "https://pypi.org/project/ctshed/", "platform": "", "project_url": "https://pypi.org/project/ctshed/", "project_urls": { "Homepage": "https://github.com/kkarolis/ctshed" }, "release_url": "https://pypi.org/project/ctshed/0.1.1/", "requires_dist": [ "Click", "jinja2" ], "requires_python": "", "summary": "A Docker based CLI Tools manager.", "version": "0.1.1" }, "last_serial": 4931948, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e5abf0beaa5458d220900e0aec6b7c34", "sha256": "79dedc414535f008cf69636a4e7f1ccd40b7342d95a285cd38f8258d546bb403" }, "downloads": -1, "filename": "ctshed-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e5abf0beaa5458d220900e0aec6b7c34", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7029, "upload_time": "2019-03-12T20:57:42", "url": "https://files.pythonhosted.org/packages/99/00/19d7b83785dcd5ae96b59f3f319ec509b8f70441831bdbc15ff93c5a7229/ctshed-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ae0a95b52a55db3b6b3a9039cf25f99", "sha256": "b17496ee5d422c956ca277e4f1e0c0b7db4f9bbd521c12690d67b16a970d07da" }, "downloads": -1, "filename": "ctshed-0.1.tar.gz", "has_sig": false, "md5_digest": "3ae0a95b52a55db3b6b3a9039cf25f99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7632, "upload_time": "2019-03-12T20:57:44", "url": "https://files.pythonhosted.org/packages/cf/8b/57d1d471c43470defddc968544dac5f6ba2cfdc2101ca2ca2c40661a02c4/ctshed-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "33fc6a86a2f72f94b0c30aec178ac536", "sha256": "26d629f61329b79f99b0d6334dc4f7bb37f3f660f4addabf778ac165419d8aba" }, "downloads": -1, "filename": "ctshed-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "33fc6a86a2f72f94b0c30aec178ac536", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7088, "upload_time": "2019-03-12T21:23:53", "url": "https://files.pythonhosted.org/packages/11/b9/e9e08d32e501df597990746e84f729527dc10cc6b2952d23d337bb38f9f4/ctshed-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c07bc875579ddfc3195ed08148ebbe1", "sha256": "6b3cb35b056d37476557cabccec8cad0214840e6083031b45311cc876ce3d837" }, "downloads": -1, "filename": "ctshed-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2c07bc875579ddfc3195ed08148ebbe1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7681, "upload_time": "2019-03-12T21:23:55", "url": "https://files.pythonhosted.org/packages/e1/7b/5f60f018fd7288166609509a9aa12bd1cc2eed2fc571daa0275ec8c513af/ctshed-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "33fc6a86a2f72f94b0c30aec178ac536", "sha256": "26d629f61329b79f99b0d6334dc4f7bb37f3f660f4addabf778ac165419d8aba" }, "downloads": -1, "filename": "ctshed-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "33fc6a86a2f72f94b0c30aec178ac536", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7088, "upload_time": "2019-03-12T21:23:53", "url": "https://files.pythonhosted.org/packages/11/b9/e9e08d32e501df597990746e84f729527dc10cc6b2952d23d337bb38f9f4/ctshed-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c07bc875579ddfc3195ed08148ebbe1", "sha256": "6b3cb35b056d37476557cabccec8cad0214840e6083031b45311cc876ce3d837" }, "downloads": -1, "filename": "ctshed-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2c07bc875579ddfc3195ed08148ebbe1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7681, "upload_time": "2019-03-12T21:23:55", "url": "https://files.pythonhosted.org/packages/e1/7b/5f60f018fd7288166609509a9aa12bd1cc2eed2fc571daa0275ec8c513af/ctshed-0.1.1.tar.gz" } ] }