Skip to main content

libcapella 1.0.20

Installing

$ pip install libcapella

Create Capella database:

database_name = "test-cluster"
project_name = "test-project"
email = 'john.doe@example.com'
config = CapellaConfig(profile="default")
org = CapellaOrganization(config)
project = CapellaProject(org, project_name, email)
database = CapellaDatabase(project, database_name)
builder = CapellaDatabaseBuilder("aws")
builder = builder.name(database_name)
builder = builder.description("Test cluster")
builder = builder.region("us-east-1")
builder = builder.service_group("4x16", 3, 256)
config = builder.build()
database.create(config)

Credentials Directory

Automation for Capella leverages the v4 public API. To integrate the v4 API with libcapella, create an API key in the Capella UI and save it to a file named default-api-key-token.txt in a directory named .capella in your home directory. Add the email associated with your Capella account to the credentials file in the default section.

.capella
├── credentials
├── default-api-key-token.txt
├── project-api-key-token.txt
└── test-api-key-token.txt

Credentials file format:

[default]
api_host = cloudapi.cloud.couchbase.com
token_file = default-api-key-token.txt
account_email = john.doe@example.com

[project]
token_file = project-api-key-token.txt

Download files

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

Source Distribution

libcapella-1.0.20.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

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

libcapella-1.0.20-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file libcapella-1.0.20.tar.gz.

File metadata

  • Download URL: libcapella-1.0.20.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for libcapella-1.0.20.tar.gz
Algorithm Hash digest
SHA256 1c3c61db4327c38623e8a1de3d1cd7a6607467a70f18c94e3803c376bf9f3257
MD5 1d527958155d3238ee3796651723aee1
BLAKE2b-256 bca071bc0eba2f1e26b5b75c969b3afae40f112fd777330f960304737c9a430f

See more details on using hashes here.

File details

Details for the file libcapella-1.0.20-py3-none-any.whl.

File metadata

  • Download URL: libcapella-1.0.20-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for libcapella-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 17bd6f28ecf4adaf7ee1fe7c88e87919e2768f74cd03f068c73824846ae637c8
MD5 ce624e3f77cd05c5d9751f6390bb544e
BLAKE2b-256 705623ac5f7f03cdb9a128c29357e9bcc49af9bae88ae6efaef0b79ec999fd30

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.20 This release

2 files

1.0.19

2 files

1.0.18

2 files

1.0.17

2 files

1.0.16

2 files

1.0.15

2 files

1.0.14

2 files

1.0.12

2 files

1.0.11

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.2

2 files

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page