kctl-gsc
Kodemeio Google Search Console CLI — manage properties, search queries, URL indexing, and SEO reports.
Installation
uv tool install kctl-gsc
Requires kctl-lib>=0.4.0 and Google API client libraries (installed automatically).
Quick Start
# Configure a profile (service account credentials)
kctl-gsc config init
# List all GSC properties
kctl-gsc properties list
# Top queries for the last 28 days
kctl-gsc queries top --days 28
# Inspect a URL's index status
kctl-gsc inspect url https://example.com/page
# Generate an overview report
kctl-gsc reports overview
# Export raw search analytics to CSV
kctl-gsc export csv --output analytics.csv
Command Groups
| Group | Description | Key Commands |
|---|---|---|
properties |
GSC property browsing | list, show |
queries |
Search Analytics (query dimension) | top, search, trends |
pages |
Search Analytics by page | top |
sitemaps |
Sitemap management | list, submit, delete |
inspect |
URL Inspection API | url, bulk, request-index |
reports |
Opinionated SEO reports | overview, product, opportunities, drift |
export |
Raw data export | csv, json |
config |
Profile management | init, add, use, show, validate, remove, set, profiles, current |
doctor |
Diagnostic checks | API connectivity, auth validation |
Global Options
| Option | Short | Description |
|---|---|---|
--profile |
-p |
Config profile name |
--property |
GSC property URI override | |
--credentials-file |
Service account JSON file override | |
--format |
-f |
Output format: pretty, json, csv, yaml |
--json |
Shortcut for --format json |
|
--quiet |
-q |
Suppress info messages |
--no-header |
Omit headers in CSV output | |
--version |
-V |
Show version and exit |
Configuration
Config lives in ~/.config/kodemeio/config.yaml under the gsc service key.
# Interactive setup
kctl-gsc config init
# Add a named profile
kctl-gsc config add --profile production \
--property sc-domain:example.com \
--credentials-file ~/sa-key.json
# Switch active profile
kctl-gsc config use production
# Show current config (secrets masked)
kctl-gsc config show
Development
cd packages/kctl-gsc
uv sync --all-extras
uv run pytest tests/ -v
uv run mypy src/
uv run ruff check src/
uv build
Metadata
Release files for kctl-gsc 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| kctl_gsc-0.9.3.tar.gz | 20.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kctl_gsc-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.9 kB
Release files / kctl_gsc-0.9.3.tar.gz
| Download URL | kctl_gsc-0.9.3.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4319e318b6eb863fdaf7cbc3e5e5a63b4781d8298c69438653c22a2acdf4e68
|
|
BLAKE2b-256 checksum How to use checksums |
53d19304ea702b55ab6423596ccec4919696c42e8e96a6424c23ae81ab37127a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / kctl_gsc-0.9.3-py3-none-any.whl
| Download URL | kctl_gsc-0.9.3-py3-none-any.whl |
|---|---|
| Size | 22.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf4f8bf3bf0cde064b10453e788acc062c09b88deb3cb641822126fd5e075cd5
|
|
BLAKE2b-256 checksum How to use checksums |
476ee127e14a61a300003c8b757298ad232334b6fa1faf9c6588f39f423a8b47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for kctl-gsc 0.9.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.