vcslinks: Get URLs to commit/file/log/etc. pages in GitHub/GitLab/Bitbucket
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.
Metadata
Release files for vcslinks 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vcslinks-0.1.2.tar.gz | 13.4 kB | Without provenance | Details for vcslinks-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vcslinks-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for vcslinks-0.1.2-py3-none-any.whl |
Total release size: 30.1 kB
Release files / vcslinks-0.1.2.tar.gz
| Download URL | vcslinks-0.1.2.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a2b4c55dcddadfcb9034995d9c29ed25eb5addd71b087e9858e2a7c162265c7
|
|
BLAKE2b-256 checksum How to use checksums |
de31dac6b3ff12700e1b4833a0e39b97a4e121176134517f90ffba24166a2049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / vcslinks-0.1.2-py3-none-any.whl
| Download URL | vcslinks-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50d17e73dfa2641adfe8346ccce861d1974164f3ebbf0868277ce71967b05e13
|
|
BLAKE2b-256 checksum How to use checksums |
265d72a83c36a18142d67ea63e49cf21ab44bbe7efdf56e725c99a64fd927c10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for vcslinks 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.