Skip to main content

A Python CLI for the Neon API

Project description

pyneoncli

A python package and command line tool for interaction with the Neon Serverless Postgres API.

This is a work in progress and this version is incomplete.

This version only supports the Neon V2 API.

The program can read the NEON_API_KEY from the environment or it can he loaded from a .env field in the current working directory.

Installation

You can install the package from PyPi using pip:

pip install pyneoncli

This will install the package and the command line tool. You can invoke the command line tool using the command neoncli.

Operation

usage: neoncli [-h] [--apikey APIKEY] [--version] [--nocolor] [--yes] [-f FIELDFILTER]
               {list,project,branch} ...

neoncli -  neon command line client

options:
  -h, --help            show this help message and exit
  --apikey APIKEY       Specify NEON API Key (env NEON_API_KEY)
  --version             show program's version number and exit
  --nocolor             Turn off Color output
  --yes                 Answer yes to all prompts
  -f FIELDFILTER, --fieldfilter FIELDFILTER
                        Enter field values to filter results on

subcommands:
  Invoke a specific neon command

  {list,project,branch}
                        e.g. neoncli list will list all projects
    list                List Neon objects
    project             Create and delete Neon projects
    branch              create and delete Neon branches

use neoncli list  -h for more information on the list command
use neoncli branch  -h for more information on the branch command
use neoncli project -h for more information on the project command

Version : 0.0.9a2

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

pyneoncli-0.0.9a3.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

pyneoncli-0.0.9a3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file pyneoncli-0.0.9a3.tar.gz.

File metadata

  • Download URL: pyneoncli-0.0.9a3.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for pyneoncli-0.0.9a3.tar.gz
Algorithm Hash digest
SHA256 699f44b4ba9eb2695607060a66082aeb2c6acb72a34c7522944e4ef96c44def0
MD5 f66ccc8bda15fbc25305d6e3593b7990
BLAKE2b-256 21d4a8a6c11fd4515c2282da7a85a6e06c68b0a17cdcebee9616c7e858d4bf57

See more details on using hashes here.

File details

Details for the file pyneoncli-0.0.9a3-py3-none-any.whl.

File metadata

  • Download URL: pyneoncli-0.0.9a3-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.5.0

File hashes

Hashes for pyneoncli-0.0.9a3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d534eaf0d8ac7e4db551cb6e4adf9c4e0c2c1d7ced1389514e568f4817016cc
MD5 bd58f8aea4e876b487baa8a3220233df
BLAKE2b-256 7d37d0faaee5f5f63b225e866bd0da1db4d6f32dc3fb0ab7aed1937607a44dc2

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