go_to_github is a tool to test whether github.com is reachable right now. If not, it will work it out automatically.
Notice
It might be in need for people who come from countries blocking github.
This project only applies to macOS and Linux.
Usage
sudo gotogithub
Don't forget sudo. Github ip will be updated if the program detects that you cannot connect to github.com. The update happens in your /private/etc/hosts file, which requires root user.
Meanwhile, before any modification, your original hosts file will be copied to ~/.local/share/gotogithub/hosts. If the program fails to connect to github in the end, it will restore the backup hosts file automatically to /private/etc/hosts.
Installation
pip install go_to_github
Metadata
Release files for go_to_github 0.0.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| go_to_github-0.0.18.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| go_to_github-0.0.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / go_to_github-0.0.18.tar.gz
| Download URL | go_to_github-0.0.18.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02e4317568032d532a98caaef5341870e826ec277c537ede7cac3ee2b0cb789d
|
|
BLAKE2b-256 checksum How to use checksums |
fc06225d774169489aa275ff8de6d82bef7d3c4ff071c8db21a3388276884ad6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / go_to_github-0.0.18-py3-none-any.whl
| Download URL | go_to_github-0.0.18-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dcce28bf87fa47ea1120a0184cda043c16a2af32e07b1ab0b20c6ea29311bd8
|
|
BLAKE2b-256 checksum How to use checksums |
a540613d3aa02a7aa2cfdfdec86eeacad5524fbfc6ff656882f4446816dd6405
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|