Metadata-Version: 2.1
Name: pyneoncli
Version: 0.0.9a3
Summary: A Python CLI for the Neon API
License: Apache-2.0
Author: Joe Drumgoole
Author-email: Joe.Drumgoole@neon.tech
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: colorama (>=0.4.6,<0.5.0)
Requires-Dist: poetry (>=1.5.1,<2.0.0)
Requires-Dist: pygments (>=2.15.1,<3.0.0)
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Description-Content-Type: text/markdown

# pyneoncli

A python package and command line tool for interaction with the [Neon](https://neon.tech) Serverless Postgres [API](https://api-docs.neon.tech/reference/getting-started-with-neon-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:
```commandline
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
```
