{ "info": { "author": "C.W.", "author_email": "wangc_2011@hotmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development :: Libraries" ], "description": "================================================================================\ngitfs2\n================================================================================\n\n.. image:: https://api.travis-ci.org/moremoban/gitfs2.svg\n :target: http://travis-ci.org/moremoban/gitfs2\n\n.. image:: https://codecov.io/github/moremoban/gitfs2/coverage.png\n :target: https://codecov.io/github/moremoban/gitfs2\n\n\n.. image:: https://dev.azure.com/moremoban/gitfs2/_apis/build/status/moremoban.gitfs2?branchName=master\n :target: https://dev.azure.com/moremoban/gitfs2/_build/latest?definitionId=2&branchName=master\n\n\nIt helps perform `file operations `_ over a git repository.\nIt clones the git repository and returns python file system 2's `OSFS `_ instance.\n\nThe idea originates from `moban `_, which uses git repositories as\na vehicle to have versioned templates for the creation of a new python package. Surely, it can be implemented\nin any other ways but moban v0.6.0 mandates python file system 2 interface. Hence this library is written.\n\nGet a file inside a python package\n--------------------------------------------------------------------------------\n\n.. code-block:: python\n\n >>> import fs\n >>> git_fs = fs.open_fs(\"git://github.com/moremobans/pypi-mobans.git!/templates\")\n >>> git_fs.readtext(\"_version.py.jj2\")\n '__version__ = \"0.0.2\"\\n__author__ = \"C.W.\"\\n'\n\n\nGet from a different branch\n--------------------------------------------------------------------------------\n\n.. code-block:: python\n\n >>> import fs\n >>> git_fs = fs.open_fs(\"git://github.com/moremobans/pypi-mobans.git?branch=master!/templates\")\n >>> git_fs.read(\"_version.py.jj2\")\n '__version__ = \"0.0.2\"\\n__author__ = \"C.W.\"\\n'\n\n\nCheckout submodules recursively\n--------------------------------------------------------------------------------\n\n.. code-block:: python\n\n >>> git_fs = fs.open_fs(\"git://github.com/moremobans/pypi-mobans.git?branch=master&submodule=true!/templates\")\n\n\nDoes it write?\n--------------------------------------------------------------------------------\n\nYes locally, it will write as you can do so without using gitfs2. And no, it does help\ncommit and push the changes for you.\n\nPlus, the intention is never to write to a repository.\n\n\n\nInstallation\n================================================================================\n\n\nYou can install gitfs2 via pip:\n\n.. code-block:: bash\n\n $ pip install gitfs2\n\n\nor clone it and install it:\n\n.. code-block:: bash\n\n $ git clone https://github.com/moremoban/gitfs2.git\n $ cd gitfs2\n $ python setup.py install\n\nChange log\n================================================================================\n\n0.0.2 - 2.10.2019\n--------------------------------------------------------------------------------\n\n**Fix**\n\n#. `#4 `_: failed to checkout more\n than one git repo.\n\n0.0.1 - 19.08.2019\n--------------------------------------------------------------------------------\n\n**first release**\n\n#. what a feat!\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/moremoban/gitfs2/archive/0.0.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/moremoban/gitfs2", "keywords": "python", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gitfs2", "package_url": "https://pypi.org/project/gitfs2/", "platform": "", "project_url": "https://pypi.org/project/gitfs2/", "project_urls": { "Download": "https://github.com/moremoban/gitfs2/archive/0.0.2.tar.gz", "Homepage": "https://github.com/moremoban/gitfs2" }, "release_url": "https://pypi.org/project/gitfs2/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Python file system 2 over GitPython", "version": "0.0.2" }, "last_serial": 5916443, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4dd491e663754c442478e14f106c65cd", "sha256": "a5570e22b7851bdef9ecf51771ed6ea94b4cb70498bd579c0ad543d9d44f0a35" }, "downloads": -1, "filename": "gitfs2-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4dd491e663754c442478e14f106c65cd", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5225, "upload_time": "2019-08-19T07:27:51", "url": "https://files.pythonhosted.org/packages/71/8e/e84bfeba529be71e45860bfce0cc46c6731ac4bbab746549fb8a21850ce5/gitfs2-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4ecad4eacc885792a8560bff244747c", "sha256": "33629d59130a2687a4edf543f619e79bd8b46bad235f78625c043df3d808b651" }, "downloads": -1, "filename": "gitfs2-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b4ecad4eacc885792a8560bff244747c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5875, "upload_time": "2019-08-19T07:27:48", "url": "https://files.pythonhosted.org/packages/57/3d/958a5332b5d2b199cc34f21821a096495a27dfb4d45f68b07316c22f9d32/gitfs2-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2d2106881d76d414d328ca8f751f2a7d", "sha256": "2d3157e4cd47584446010e8f017f432a4013de8dd8ca79888e7caaa7c138c301" }, "downloads": -1, "filename": "gitfs2-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d2106881d76d414d328ca8f751f2a7d", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5324, "upload_time": "2019-10-02T06:57:12", "url": "https://files.pythonhosted.org/packages/fc/31/3e9bab2a05b13335661d2e7f5455c68317e531c4a4a4a97cecbd146e3002/gitfs2-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61dc5bf7e6e7c5031994e2d326342239", "sha256": "1a19b94e4e742748557e6720b2b7663191dc62baa41ed9a74faa610c097ceab8" }, "downloads": -1, "filename": "gitfs2-0.0.2.tar.gz", "has_sig": false, "md5_digest": "61dc5bf7e6e7c5031994e2d326342239", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5996, "upload_time": "2019-10-02T06:57:08", "url": "https://files.pythonhosted.org/packages/01/11/a009cca573900180eefdb02411455f84dde4726703b5dc5aa9f7fc0baede/gitfs2-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d2106881d76d414d328ca8f751f2a7d", "sha256": "2d3157e4cd47584446010e8f017f432a4013de8dd8ca79888e7caaa7c138c301" }, "downloads": -1, "filename": "gitfs2-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d2106881d76d414d328ca8f751f2a7d", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5324, "upload_time": "2019-10-02T06:57:12", "url": "https://files.pythonhosted.org/packages/fc/31/3e9bab2a05b13335661d2e7f5455c68317e531c4a4a4a97cecbd146e3002/gitfs2-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61dc5bf7e6e7c5031994e2d326342239", "sha256": "1a19b94e4e742748557e6720b2b7663191dc62baa41ed9a74faa610c097ceab8" }, "downloads": -1, "filename": "gitfs2-0.0.2.tar.gz", "has_sig": false, "md5_digest": "61dc5bf7e6e7c5031994e2d326342239", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5996, "upload_time": "2019-10-02T06:57:08", "url": "https://files.pythonhosted.org/packages/01/11/a009cca573900180eefdb02411455f84dde4726703b5dc5aa9f7fc0baede/gitfs2-0.0.2.tar.gz" } ] }