Skip to main content

Client library for the GrowToward API

Project description

growtoward

Installation

pip install growtoward

Release

Run the repo release helper from the repo root. It bumps the patch version by default, rebuilds artifacts in a throwaway venv, uploads with your PyPI token, verifies a clean install, and creates a gtcli-v<version> git tag:

PYPI_TOKEN=your-token python3 scripts/release_gtcli.py

To bump a different part, pass minor or major:

PYPI_TOKEN=your-token python3 scripts/release_gtcli.py minor

Review Diff Since Release

Once releases have been tagged, review the gtcli diff from the latest release with:

python3 scripts/review_gtcli_diff.py

Useful variants:

python3 scripts/review_gtcli_diff.py --stat
python3 scripts/review_gtcli_diff.py --name-only

There are no historical gtcli-v* tags in this repo yet, so for the first use you need to point at the baseline release ref explicitly:

python3 scripts/review_gtcli_diff.py --against <git-ref>

Python client library for interacting with the GrowToward API.

Windows

Install with the Python launcher so the package lands under the interpreter you plan to use:

py -m pip install growtoward

Check where GrowToward's script wrappers were installed:

py -m growtoward.gt_path

If gt is still not recognized, add that interpreter's Scripts directory to your user PATH:

py -m growtoward.gt_path --add-user-path

Then open a new shell and verify:

gt --help

If you want a fallback that does not depend on PATH, you can always run:

py -m growtoward.cli --help

macOS and Linux

Install through the interpreter directly so pip does not depend on your shell already exposing a standalone pip command:

python3 -m pip install growtoward

Check where GrowToward's script wrappers were installed:

python3 -m growtoward.gt_path

If gt is still not recognized, add that interpreter's scripts directory to your shell startup file automatically:

python3 -m growtoward.gt_path --add-user-path

The helper will print which startup file it touched and how to source it in the current shell. After opening a new shell, verify:

gt --help

If you want a fallback that does not depend on PATH, you can always run:

python3 -m growtoward.cli --help

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

growtoward-0.1.1.tar.gz (149.3 kB view details)

Uploaded Source

Built Distribution

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

growtoward-0.1.1-py3-none-any.whl (164.7 kB view details)

Uploaded Python 3

File details

Details for the file growtoward-0.1.1.tar.gz.

File metadata

  • Download URL: growtoward-0.1.1.tar.gz
  • Upload date:
  • Size: 149.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for growtoward-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e7db6f7c447502447234dbe4fa913043ba282ef043fc7f6166885ee9e5a5e147
MD5 4d217a21aede99657097ad41b83a8cb8
BLAKE2b-256 fdd8ca9072c175dc538869947d9b8bae2c5fdbcc20069ba4a45ebba9652f8bed

See more details on using hashes here.

File details

Details for the file growtoward-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: growtoward-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 164.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for growtoward-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5da8329dd6010602bfdf1ca9acf3d346da0c5e34c25924f3bc4671c1a6827da4
MD5 244bed7b341a96d3b7e38c097ab9647e
BLAKE2b-256 ec45dabaa0d12bb41533bf1856cbed7034a6c3512ba494f6d11d82786c864fda

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