Skip to main content

wrapper of git command-line

Project description

k3git

Action-CI 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.18.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

k3git-0.1.18-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k3git-0.1.18.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for k3git-0.1.18.tar.gz
Algorithm Hash digest
SHA256 6cb42096613a90e511b656f9808db3dcfab4a47c61f36cf3f52c6a20dac530b6
MD5 96420a360a6f69aeabc361cbee09ef7c
BLAKE2b-256 95fb4dcd3904fe534d76fdcb39ecbf3305017b12cc0ebb17d936946427f92f7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k3git-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for k3git-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 4f31d705c03102c3cf30fd1296891c2396e04901f8bf23a9df85932c1fac7021
MD5 14b14a0b3a4e653656e6c0546c9a9485
BLAKE2b-256 2e83cf5ab8d0c53f3295f9ab2dfcbbe3a71b2b5b2cd4499e67b58f3a98fd05a4

See more details on using hashes here.

Supported by

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