Skip to main content

A collection of tools for commmon package scripts

Project description

JGT Tools is a collection of package helpers for common CLI functions within a properly-formatted repository.

Quickstart

Just include jgt_tools in your package VirtualEnv, and you’ll have access to these CLI calls:

  • env-setup - set up the development environment with all packages and pre-commit checks

  • self-check - run self-checks/linters/etc. on your repository

  • run-tests - run your in-repo test suite

  • build-docs - build repo documentation locally

  • build-and-push-docs - both build the docs, then publish to your gh-pages branch

Details for each script can be found by calling with the --help flag.

Configuration

A number of the actions to be called can be customized in a [tool.jgt_tools] in your pyproject.toml file. Available values are:

  • env_setup_commands - a list of commands to be run under the env-setup call

  • self_check_commands - a list of commands to be run under the self-check call

  • run_tests_commands - a list of commands to be run under the run-tests call

  • doc_build_types - a list of types for doc construction: - api is currently the only supported option

For example:

[tools.jgt_tools]
env_setup_commands = [
    "poetry install",
    "poetry run pip install other_package",
    "./my_custom_setup_script.sh"
]
doc_build_types = []

would run your specified commands for env-setup and skip the api doc builder.

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

jgt_tools-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

jgt_tools-0.1.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file jgt_tools-0.1.3.tar.gz.

File metadata

  • Download URL: jgt_tools-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.3 Linux/4.4.0-101-generic

File hashes

Hashes for jgt_tools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 78a04ad08de9611ab6d6c0120e8e7a681f514384207d9b040aa68787afa6dc4b
MD5 eb619639ed8810b6edc652491a87f2ec
BLAKE2b-256 8d68c882197afcd2a52397bf4ff0ffdbf9eb17691aa40c7b39c0d618094742e8

See more details on using hashes here.

File details

Details for the file jgt_tools-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: jgt_tools-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.3 Linux/4.4.0-101-generic

File hashes

Hashes for jgt_tools-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b696b52ecd3e4bc87153ed99ad5726eaccb2900d3bf479e897dfc12b41c0f645
MD5 7d7e4f9df1abf437fce9e640205894ed
BLAKE2b-256 f96317976d5b9d7bd12d736fc78aa5d7469bafc6b32e307331b2bab40594c7fc

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