glink
Sync files between gist and localhost.
Purpose
When I clone a lot of repos and found a lot of interesting code file,
I can simplily push them to my gist via glink.
After I pull all the above repos,
I can simplily update all my gists via one single command (glink sync).
glink store sync states in ~/.config/Cologler/glink/...,
which mean if you move the linked file,
it will lose the connection.
Try gist-sync if you need move the gist files.
Installation
pip install glink2
Login
To login a remote repo, you need to edit the ~/.config/Cologler/glink/auth.json.
The format is like:
{
"<USER>@<SERVICE>": ...
}
The user name is required because the glink support multi-accounts per provider.
Gist
Login is required for push only.
To login gist, you need to create a new dev token from https://github.com/settings/tokens/new.
Ensure you checked the gist scope.
After you get the token, add following text into auth.json:
{
"<USER>@gist": "<TOKEN>"
}
Metadata
Release files for glink2 0.2.1
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 | |
|---|---|---|---|---|
| glink2-0.2.1.tar.gz | 8.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| glink2-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.1 kB
Release files / glink2-0.2.1.tar.gz
| Download URL | glink2-0.2.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ed495c22571fc236df1673c14258628be380c150ab1b13eed4257422fbc28d4
|
|
BLAKE2b-256 checksum How to use checksums |
30a0d41e964a84acbdd8909750714d9b69f8d302c6ca12eddd8773480d0a0e2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.1
|
Release files / glink2-0.2.1-py3-none-any.whl
| Download URL | glink2-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd6a800886d13cb56725d1a6ca9abd0910f29a4f98d7e1064b8500bae53cf497
|
|
BLAKE2b-256 checksum How to use checksums |
6e057766e3cc0e306eeacd7bedb2457594e45b17041da6ec287e79bfc83782da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.1
|
Security for glink2 0.2.1
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.