Get URLs to commit/file/log/etc. pages in GitHub/GitLab/Bitbucket
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vcslinks-0.1.2.tar.gz.
File metadata
- Download URL: vcslinks-0.1.2.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a2b4c55dcddadfcb9034995d9c29ed25eb5addd71b087e9858e2a7c162265c7
|
|
| MD5 |
d1f1850600656b58764f7ec17819909b
|
|
| BLAKE2b-256 |
de31dac6b3ff12700e1b4833a0e39b97a4e121176134517f90ffba24166a2049
|
File details
Details for the file vcslinks-0.1.2-py3-none-any.whl.
File metadata
- Download URL: vcslinks-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50d17e73dfa2641adfe8346ccce861d1974164f3ebbf0868277ce71967b05e13
|
|
| MD5 |
b6f5b97a9e64b0d96187a881ccdcb3c4
|
|
| BLAKE2b-256 |
265d72a83c36a18142d67ea63e49cf21ab44bbe7efdf56e725c99a64fd927c10
|