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.12.tar.gz (9.4 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.12-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k3git-0.1.12.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for k3git-0.1.12.tar.gz
Algorithm Hash digest
SHA256 fdd042127828dfad60f3a4f21d293c5b1ece21b9180841496f920a5c9c32493b
MD5 800fdacece0bfb9557ec744c9b50016f
BLAKE2b-256 14b16ee6fe3ee4a54e21fde110cab6283f223422397b72dff6fd795aee74f17c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k3git-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for k3git-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0af8e20df023c05e50c4da22859b4441a1055d38de3c8bea20244cd8bb51358d
MD5 c4b22fdc7bedbe2a34431606dc78d273
BLAKE2b-256 89acecd361b5b81d226976a21037b3fb6dbcd5b8926dfa87ea9ef751e3b66210

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