Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Get URLs to commit/file/log/etc. pages in GitHub/GitLab/Bitbucket

Project description

Latest Documentation PyPI - Python Version Build Status Test Coverage mypy black GitHub commits since tagged version

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 with lines 5 to 10 highlighted can be obtained by

>>> import vcslinks
>>> vcslinks.file("", lines=(5, 10))

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vcslinks, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size vcslinks-0.1.1-py3-none-any.whl (16.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size vcslinks-0.1.1.tar.gz (12.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page