Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.4.1 instead.
Reason given by maintainers: Large CSV uploads can fail at the production ingress. Upgrade to 0.1.2.

Polygres CLI

The Polygres CLI manages Polygres projects from the terminal. It authenticates with the control plane and supports project setup, imports, migrations, and retrieval configuration. It does not expose database passwords.

Install

pip install polygres-cli

For an isolated global installation:

pipx install polygres-cli

The command remains polygres:

polygres login
polygres whoami
polygres projects list
polygres projects use <project-id-or-exact-name>
polygres env
polygres ready

polygres login opens the Polygres dashboard for approval and prints a URL for headless terminals. Credentials are stored at ~/.config/polygres/config.json with owner-only permissions on POSIX systems. Run polygres logout to revoke the refresh token and remove local credentials.

Common project operations:

polygres import csv ./documents.csv --table documents --wait
polygres migrations apply --file ./001_create_documents.sql
polygres graph discover --json > graph.json
polygres graph config apply --file graph.json
polygres vector configs list
polygres text configs list

Run polygres --help for the full command reference. Exit codes distinguish validation (2), authentication (3), permission (4), not found (5), conflict (6), rate limiting (7), remote availability (8), and missing local tools such as psql (9).

Relationship to the Python SDK

The CLI is distributed separately from the Python SDK. Install polygres-sdk when your application needs Runtime API retrieval methods, and install polygres-cli when you need the terminal command. The CLI has its own control-plane client and does not require the SDK.

Users of the former combined polygres package should install polygres-cli and polygres-sdk separately.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polygres_cli-0.1.1.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

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

polygres_cli-0.1.1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polygres_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for polygres_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6c0b17d28c7406e4358a2879eee4191d165e51c51f46fb670517d3be915ee9dc
MD5 c73fbc4b8f9fd868fa2d32a06f4553d5
BLAKE2b-256 789875ce2049e185de773959ed0a0bcaaf7e6081dbbb79dcd1d910aca5be35a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for polygres_cli-0.1.1.tar.gz:

Publisher: publish-python-cli.yml on Evokoa/polygres-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: polygres_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for polygres_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73cb20940e465a4b4f0dae778d4ef37eaed8cab0a1641e5e8a493279cf81604e
MD5 76440a465b4d70ec9ef02277c2972de3
BLAKE2b-256 0d7fadc5329f910b8d93b2d2138d9de1e23595e15e13df78d59900b278d9ce09

See more details on using hashes here.

Provenance

The following attestation bundles were made for polygres_cli-0.1.1-py3-none-any.whl:

Publisher: publish-python-cli.yml on Evokoa/polygres-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

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