Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speakeasy-sdks/neon-python
A python SDK for accessing the neon-python API.
https://github.com/speakeasy-sdks/neon-python
Last synced: 2 days ago
JSON representation
A python SDK for accessing the neon-python API.
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/neon-python
- Owner: speakeasy-sdks
- License: mit
- Created: 2023-05-23T15:37:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T21:21:17.000Z (7 months ago)
- Last Synced: 2024-04-28T05:14:47.112Z (6 months ago)
- Language: Python
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# neon-api
## SDK Installation
```bash
pip install git+https://github.com/speakeasy-sdks/neon-python.git
```## SDK Example Usage
```python
import neon_api
from neon_api.models import shareds = neon_api.NeonAPI(
security=shared.Security(
bearer_auth="YOUR_BEARER_TOKEN_HERE",
),
)req = shared.APIKeyCreateRequest(
key_name='corrupti',
)res = s.api_key.create_api_key(req)
if res.api_key_create_response is not None:
# handle response
```## Available Resources and Operations
### [api_key](docs/apikey/README.md)
* [create_api_key](docs/apikey/README.md#create_api_key) - Create an API key
* [list_api_keys](docs/apikey/README.md#list_api_keys) - Get a list of API keys
* [revoke_api_key](docs/apikey/README.md#revoke_api_key) - Revoke an API key### [branch](docs/branch/README.md)
* [create_project_branch](docs/branch/README.md#create_project_branch) - Create a branch
* [create_project_branch_database](docs/branch/README.md#create_project_branch_database) - Create a database
* [create_project_branch_role](docs/branch/README.md#create_project_branch_role) - Create a role
* [delete_project_branch](docs/branch/README.md#delete_project_branch) - Delete a branch
* [delete_project_branch_database](docs/branch/README.md#delete_project_branch_database) - Delete a database
* [delete_project_branch_role](docs/branch/README.md#delete_project_branch_role) - Delete a role
* [get_project_branch](docs/branch/README.md#get_project_branch) - Get branch details
* [get_project_branch_database](docs/branch/README.md#get_project_branch_database) - Get database details
* [get_project_branch_role](docs/branch/README.md#get_project_branch_role) - Get role details
* [get_project_branch_role_password](docs/branch/README.md#get_project_branch_role_password) - Get role password
* [list_project_branch_databases](docs/branch/README.md#list_project_branch_databases) - Get a list of databases
* [list_project_branch_endpoints](docs/branch/README.md#list_project_branch_endpoints) - Get a list of branch endpoints
* [list_project_branch_roles](docs/branch/README.md#list_project_branch_roles) - Get a list of roles
* [list_project_branches](docs/branch/README.md#list_project_branches) - Get a list of branches
* [reset_project_branch_role_password](docs/branch/README.md#reset_project_branch_role_password) - Reset the role password
* [set_primary_project_branch](docs/branch/README.md#set_primary_project_branch) - Set the branch as the primary branch of a project
* [update_project_branch](docs/branch/README.md#update_project_branch) - Update a branch
* [update_project_branch_database](docs/branch/README.md#update_project_branch_database) - Update a database### [endpoint](docs/endpoint/README.md)
* [create_project_endpoint](docs/endpoint/README.md#create_project_endpoint) - Create an endpoint
* [delete_project_endpoint](docs/endpoint/README.md#delete_project_endpoint) - Delete an endpoint
* [get_project_endpoint](docs/endpoint/README.md#get_project_endpoint) - Get an endpoint
* [list_project_endpoints](docs/endpoint/README.md#list_project_endpoints) - Get a list of endpoints
* [start_project_endpoint](docs/endpoint/README.md#start_project_endpoint) - Start an endpoint
* [suspend_project_endpoint](docs/endpoint/README.md#suspend_project_endpoint) - Suspend an endpoint
* [update_project_endpoint](docs/endpoint/README.md#update_project_endpoint) - Update an endpoint### [operation](docs/operation/README.md)
* [get_project_operation](docs/operation/README.md#get_project_operation) - Get operation details
* [list_project_operations](docs/operation/README.md#list_project_operations) - Get a list of operations### [preview](docs/preview/README.md)
* [list_projects_consumption](docs/preview/README.md#list_projects_consumption) - Get a list of projects consumption
### [project](docs/project/README.md)
* [create_project](docs/project/README.md#create_project) - Create a project
* [delete_project](docs/project/README.md#delete_project) - Delete a project
* [get_project](docs/project/README.md#get_project) - Get project details
* [list_projects](docs/project/README.md#list_projects) - Get a list of projects
* [update_project](docs/project/README.md#update_project) - Update a project### Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.### Contributions
While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)