Skip to main content

$ g

Passthrough to your current directory's VCS.

Python Package Docs Build Status Code Coverage License

Shortcut / powertool for developers to access current repos' VCS, whether it's git, subversion (svn), or mercurial (hg).

$ pip install --user g

Or install with uv:

$ uv tool install g

Working inside a uv-managed project:

$ uv add g

For one-off use without installing globally:

$ uvx g
$ g

Developmental releases

You can test the unpublished version of g before its released.

  • pip:

    $ pip install --user --upgrade --pre g
    
  • uv:

    $ uv tool install g
    
    $ uv add g
    
    $ uvx g
    
  • pipx:

    $ pipx install --suffix=@next g --pip-args '\--pre' --force
    

    Then use g@next --help.

Credits

2021-12-05: Thanks to John Shanahan (@_shanahanjrs) for giving g use g

Donations

Your donations fund development of new features, testing and support. Your money will go directly to maintenance and development of the project. If you are an individual, feel free to give whatever feels right for the value you get out of the project.

See donation options at https://tony.sh/support.html.

More information

Metadata

Release files for g 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for g 0.0.9
File Size Uploaded Provenance Actions
g-0.0.9.tar.gz 628.8 kB With provenance Details for g-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for g 0.0.9
File Interpreter ABI Platform Actions
g-0.0.9-py3-none-any.whl Python 3 none any Details for g-0.0.9-py3-none-any.whl

Total release size: 633.5 kB

Release files / g-0.0.9.tar.gz

Download URL g-0.0.9.tar.gz
Size 628.8 kB
Tags Source
SHA-256 checksum
How to use checksums
93826b2fabad4efbce9966db6d9c5d24b74fbb0976eb01a8de3cd00cb9f0c3e0
BLAKE2b-256 checksum
How to use checksums
5346e9475aaf09bac01a91d2b96ee0f78f9f7f34c2a6ec13378840df47984a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.

Transparency log

Release files / g-0.0.9-py3-none-any.whl

Download URL g-0.0.9-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9b29135b8beaeccd107942432a763d5551c7dd7e6535c2ea187b2e7c1806afe
BLAKE2b-256 checksum
How to use checksums
0ef76e4dcf065c569e8353fc9d27057fb725d70969c0f1d6621743ea3d5d3f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.

Transparency log

Security for g 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for g-0.0.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page