No project description provided
Project description
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
>>> 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vcslinks-0.1.0.tar.gz
(12.1 kB
view hashes)
Built Distribution
vcslinks-0.1.0-py3-none-any.whl
(16.0 kB
view hashes)