git_config
Get git config as a dictionary
Installation
pip install git_config
Usage
from git_config import get_config
# Global git config
config = get_config()
config["user"]["name"] # Roshan Acharya
config["user"]["email"] # acharyaroshan2357@gmail.com
# Local git config
config = get_config("local")
config['remote "origin"']["url"] # git@github.com:coderosh/git_config.git
Metadata
Release files for git-config 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_config-1.0.0.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_config-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / git_config-1.0.0.tar.gz
| Download URL | git_config-1.0.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb97193ba25c0bc47d1243d77aa6ac30116056c60ecf84b5f6aee4e2044a4dcb
|
|
BLAKE2b-256 checksum How to use checksums |
94f4594e7013090cfe08a8abb162ea30e2c7958fac4c7ef43580e396f3ad5e9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / git_config-1.0.0-py3-none-any.whl
| Download URL | git_config-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e44e747cb9a7abd8614ced6a6723fd5d8b3981db0e70f0a527d36dfd63b5be8
|
|
BLAKE2b-256 checksum How to use checksums |
55b16f0e26fd808600ed63b802c3983c627559abcac279e357dfc39840c8449c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|