Skip to main content

wrapper of git command-line

Project description

k3git

Build Status Python package Documentation Status Package

wrapper of git command-line

k3git is a component of pykit3 project: a python3 toolkit set.

k3git is wrapper of git command-line.

To parse a git command git --git-dir=/foo fetch origin:

>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds
['fetch', 'origin']

>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()
['--git-dir=/foo']

Install

pip install k3git

Synopsis

>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).cmds
['fetch', 'origin']
>>> GitOpt().parse_args(['--git-dir=/foo', 'fetch', 'origin']).to_args()
['--git-dir=/foo']

Author

Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k3git-0.1.11.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

k3git-0.1.11-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file k3git-0.1.11.tar.gz.

File metadata

  • Download URL: k3git-0.1.11.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for k3git-0.1.11.tar.gz
Algorithm Hash digest
SHA256 f198e412953de141327e9079d3e1ea1c2663536d0a80357a4af8658084f70012
MD5 41e7bd37609bc1ea7d01b7b9eb0299bb
BLAKE2b-256 ba8957a40ff4a1e01740f799796ae880b92d2be81f2b0fa57e2a890b515ce9af

See more details on using hashes here.

File details

Details for the file k3git-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: k3git-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for k3git-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 70edad76da637b7c1ce2b932d67bbe1785e6cf11dc766bd863f813fceb26f4c2
MD5 6ca7d96b34b031eef853514b1bd5be71
BLAKE2b-256 1c1820f19a885731e7aafb9225fa9bf06d9da6b1e68f29161d60b6b489fc52e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page