Metadata-Version: 2.1
Name: vcslinks
Version: 0.1.2
Summary: Get URLs to commit/file/log/etc. pages in GitHub/GitLab/Bitbucket
Home-page: https://github.com/tkf/vcslinks
Author: Takafumi Arakaki
Author-email: aka.tkf@gmail.com
License: MIT
Project-URL: Tracker, https://github.com/tkf/vcslinks/issues
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'

`vcslinks`: Get URLs to commit/file/log/etc. pages in GitHub/GitLab/Bitbucket
=============================================================================

|docs-latest| |pypi| |build-status| |coveralls| |mypy| |black| |commits-since|

`vcslinks` is a Python package for analyzing a local Git repository to
find a URL for web pages in the hosted services like GitHub, GitLab,
and Bitbucket.  For example, a permalink to the file ``setup.py`` with
lines 5 to 10 highlighted can be obtained by

..
   >>> getfixture("patch_analyze")

>>> import vcslinks
>>> vcslinks.file("setup.py", lines=(5, 10))
'https://github.com/USER/PROJECT/blob/55150afe539493d650889224db136bc8d9b7ecb8/setup.py#L5-L10'

`vcslinks` also comes with command line program `vcsbrowse` for
opening relevant pages of GitHub/GitLab/Bitbucket in web browser.

.. |docs-latest|
   image:: https://img.shields.io/badge/docs-latest-blue.svg
   :target: https://vcslinks.readthedocs.io/en/latest/
   :alt: Latest Documentation

.. |pypi|
   image:: https://img.shields.io/pypi/pyversions/vcslinks.svg
   :target: http://pypi.org/project/vcslinks
   :alt: PyPI - Python Version

.. |commits-since|
   image:: https://img.shields.io/github/commits-since/tkf/vcslinks/v0.1.1.svg?style=social
   :target: https://github.com/tkf/vcslinks
   :alt: GitHub commits since tagged version

.. |build-status|
   image:: https://travis-ci.com/tkf/vcslinks.svg?branch=master
   :target: https://travis-ci.com/tkf/vcslinks
   :alt: Build Status

.. |coveralls|
   image:: https://coveralls.io/repos/github/tkf/vcslinks/badge.svg?branch=master
   :target: https://coveralls.io/github/tkf/vcslinks?branch=master
   :alt: Test Coverage

.. |black|
   image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/python/black

.. |mypy|
   image:: http://www.mypy-lang.org/static/mypy_badge.svg
   :target: http://mypy-lang.org/


