libvcs


Namelibvcs JSON
Version 0.4.4 PyPI version JSON
download
home_pagehttp://github.com/vcs-python/libvcs/
Summaryvcs abstraction layer
upload_time2020-08-06 01:02:23
maintainer
docs_urlNone
authorTony Narlock
requires_python
licenseMIT
keywords libvcs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ``libvcs`` - abstraction layer for vcs, powers `vcspull`_.

|pypi| |docs| |build-status| |coverage| |license|

Install:

.. code-block:: sh

   $ pip install libvcs

Open up python:

.. code-block:: sh

   $ python

   # or for nice autocomplete and syntax highlighting
   $ pip install ptpython
   $ ptpython

Create a `Repo`_ object of the project to inspect / checkout / update:

.. code-block:: python

   >>> from libvcs.shortcuts import create_repo_from_pip_url, create_repo

   # repo is an object representation of a vcs repository.
   >>> r = create_repo(url='https://www.github.com/vcs-python/libtmux',
   ...                 vcs='git',
   ...                 repo_dir='/tmp/libtmux')

   # or via pip-style URL
   >>> r = create_repo_from_pip_url(
   ...         pip_url='git+https://www.github.com/vcs-python/libtmux',
   ...         repo_dir='/tmp/libtmux')

Update / clone repo:

.. code-block:: python

   # it may or may not be checked out/cloned on the system yet
   >>> r.update_repo()

Get revision:

.. code-block:: python

   >>> r.get_revision()
   u'5c227e6ab4aab44bf097da2e088b0ff947370ab8'

Donations
---------

Your donations fund development of new features, testing and support.
Your money will go directly to maintenance and development of the project.
If you are an individual, feel free to give whatever feels right for the
value you get out of the project.

See donation options at https://www.git-pull.com/support.html.

More information 
----------------

==============  ==========================================================
Python support  Python 2.7, >= 3.4, pypy
VCS supported   git(1), svn(1), hg(1)
Source          https://github.com/vcs-python/libvcs
Docs            https://libvcs.git-pull.com
Changelog       https://libvcs.git-pull.com/en/latest/history.html
API             https://libvcs.git-pull.com/en/latest/api.html
Issues          https://github.com/vcs-python/libvcs/issues
Travis          https://travis-ci.org/vcs-python/libvcs
Test Coverage   https://codecov.io/gh/vcs-python/libvcs
pypi            https://pypi.python.org/pypi/libvcs
Open Hub        https://www.openhub.net/p/libvcs
License         `MIT`_.
git repo        .. code-block:: bash

                    $ git clone https://github.com/vcs-python/libvcs.git
install dev     .. code-block:: bash

                    $ git clone https://github.com/vcs-python/libvcs.git libvcs
                    $ cd ./libvcs
                    $ virtualenv .venv
                    $ source .venv/bin/activate
                    $ pip install -e .
tests           .. code-block:: bash

                    $ py.test
==============  ==========================================================

.. _MIT: https://opensource.org/licenses/MIT
.. _Documentation: https://libvcs.git-pull.com/en/latest/
.. _API: https://libvcs.git-pull.com/en/latest/api.html
.. _pip: http://www.pip-installer.org/en/latest/
.. _vcspull: https://www.github.com/vcs-python/vcspull/
.. _Repo: https://libvcs.git-pull.com/en/latest/api.html#creating-a-repo-object

.. |pypi| image:: https://img.shields.io/pypi/v/libvcs.svg
    :alt: Python Package
    :target: http://badge.fury.io/py/libvcs

.. |build-status| image:: https://img.shields.io/travis/vcs-python/libvcs.svg
   :alt: Build Status
   :target: https://travis-ci.org/vcs-python/libvcs

.. |coverage| image:: https://codecov.io/gh/vcs-python/libvcs/branch/master/graph/badge.svg
    :alt: Code Coverage
    :target: https://codecov.io/gh/vcs-python/libvcs
    
.. |license| image:: https://img.shields.io/github/license/vcs-python/libvcs.svg
    :alt: License 

.. |docs| image:: https://readthedocs.org/projects/libvcs/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://readthedocs.org/projects/libvcs/
            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/vcs-python/libvcs/",
    "name": "libvcs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "libvcs",
    "author": "Tony Narlock",
    "author_email": "tony@git-pull.com",
    "download_url": "https://files.pythonhosted.org/packages/00/e6/1244ec3ab0798d9b09ca5032288a36de798bbe417a85e60a073a6eb971f8/libvcs-0.4.4.tar.gz",
    "platform": "",
    "description": "``libvcs`` - abstraction layer for vcs, powers `vcspull`_.\n\n|pypi| |docs| |build-status| |coverage| |license|\n\nInstall:\n\n.. code-block:: sh\n\n   $ pip install libvcs\n\nOpen up python:\n\n.. code-block:: sh\n\n   $ python\n\n   # or for nice autocomplete and syntax highlighting\n   $ pip install ptpython\n   $ ptpython\n\nCreate a `Repo`_ object of the project to inspect / checkout / update:\n\n.. code-block:: python\n\n   >>> from libvcs.shortcuts import create_repo_from_pip_url, create_repo\n\n   # repo is an object representation of a vcs repository.\n   >>> r = create_repo(url='https://www.github.com/vcs-python/libtmux',\n   ...                 vcs='git',\n   ...                 repo_dir='/tmp/libtmux')\n\n   # or via pip-style URL\n   >>> r = create_repo_from_pip_url(\n   ...         pip_url='git+https://www.github.com/vcs-python/libtmux',\n   ...         repo_dir='/tmp/libtmux')\n\nUpdate / clone repo:\n\n.. code-block:: python\n\n   # it may or may not be checked out/cloned on the system yet\n   >>> r.update_repo()\n\nGet revision:\n\n.. code-block:: python\n\n   >>> r.get_revision()\n   u'5c227e6ab4aab44bf097da2e088b0ff947370ab8'\n\nDonations\n---------\n\nYour donations fund development of new features, testing and support.\nYour money will go directly to maintenance and development of the project.\nIf you are an individual, feel free to give whatever feels right for the\nvalue you get out of the project.\n\nSee donation options at https://www.git-pull.com/support.html.\n\nMore information \n----------------\n\n==============  ==========================================================\nPython support  Python 2.7, >= 3.4, pypy\nVCS supported   git(1), svn(1), hg(1)\nSource          https://github.com/vcs-python/libvcs\nDocs            https://libvcs.git-pull.com\nChangelog       https://libvcs.git-pull.com/en/latest/history.html\nAPI             https://libvcs.git-pull.com/en/latest/api.html\nIssues          https://github.com/vcs-python/libvcs/issues\nTravis          https://travis-ci.org/vcs-python/libvcs\nTest Coverage   https://codecov.io/gh/vcs-python/libvcs\npypi            https://pypi.python.org/pypi/libvcs\nOpen Hub        https://www.openhub.net/p/libvcs\nLicense         `MIT`_.\ngit repo        .. code-block:: bash\n\n                    $ git clone https://github.com/vcs-python/libvcs.git\ninstall dev     .. code-block:: bash\n\n                    $ git clone https://github.com/vcs-python/libvcs.git libvcs\n                    $ cd ./libvcs\n                    $ virtualenv .venv\n                    $ source .venv/bin/activate\n                    $ pip install -e .\ntests           .. code-block:: bash\n\n                    $ py.test\n==============  ==========================================================\n\n.. _MIT: https://opensource.org/licenses/MIT\n.. _Documentation: https://libvcs.git-pull.com/en/latest/\n.. _API: https://libvcs.git-pull.com/en/latest/api.html\n.. _pip: http://www.pip-installer.org/en/latest/\n.. _vcspull: https://www.github.com/vcs-python/vcspull/\n.. _Repo: https://libvcs.git-pull.com/en/latest/api.html#creating-a-repo-object\n\n.. |pypi| image:: https://img.shields.io/pypi/v/libvcs.svg\n    :alt: Python Package\n    :target: http://badge.fury.io/py/libvcs\n\n.. |build-status| image:: https://img.shields.io/travis/vcs-python/libvcs.svg\n   :alt: Build Status\n   :target: https://travis-ci.org/vcs-python/libvcs\n\n.. |coverage| image:: https://codecov.io/gh/vcs-python/libvcs/branch/master/graph/badge.svg\n    :alt: Code Coverage\n    :target: https://codecov.io/gh/vcs-python/libvcs\n    \n.. |license| image:: https://img.shields.io/github/license/vcs-python/libvcs.svg\n    :alt: License \n\n.. |docs| image:: https://readthedocs.org/projects/libvcs/badge/?version=latest\n    :alt: Documentation Status\n    :scale: 100%\n    :target: https://readthedocs.org/projects/libvcs/",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "vcs abstraction layer",
    "version": "0.4.4",
    "split_keywords": [
        "libvcs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "973ef2f82ba7d1d5bbf80bef45e93a83",
                "sha256": "e591bb7e3a6101c1a2634d98e5a911a6cca85c60645401a8f6005c3577ee0d00"
            },
            "downloads": -1,
            "filename": "libvcs-0.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "973ef2f82ba7d1d5bbf80bef45e93a83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 21386,
            "upload_time": "2020-08-06T01:02:23",
            "upload_time_iso_8601": "2020-08-06T01:02:23.808129Z",
            "url": "https://files.pythonhosted.org/packages/00/e6/1244ec3ab0798d9b09ca5032288a36de798bbe417a85e60a073a6eb971f8/libvcs-0.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-08-06 01:02:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "vcs-python",
    "error": "Could not fetch GitHub repository",
    "lcname": "libvcs"
}
        
Elapsed time: 0.17866s