Skip to main content

Base client for the KBase SDK

Project description

KBase SDK base client

This repo contains the base client code that all other SDK clients depend on. It's generally expected that users don't directly interact with it, but it can be useful for cases where a compiled client isn't available.

Installation

pip install kbase-sdk-baseclient

Usage

The client is not intended for general use, and power users should be easily able to inspect the code and tests to determine proper useage.

Development

Adding and releasing code

  • Adding code
    • All code additions and updates must be made as pull requests directed at the develop branch.
      • All tests must pass and all new code must be covered by tests.
      • All new code must be documented appropriately
        • Pydocs
        • General documentation if appropriate
        • Release notes
  • Releases
    • The main branch is the stable branch. Releases are made from the develop branch to the main branch.
    • Update the version in sdk_baseclient.py and pyproject.toml.
    • Tag the version in git and github.
    • Create a github release.

Testing

Copy test.cfg.example to test.cfg and fill it in appropriately.

uv sync --dev  # only required on first run or when the uv.lock file changes
PYTHONPATH=src uv run pytest test

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

kbase_sdk_baseclient-0.1.0.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

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

kbase_sdk_baseclient-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file kbase_sdk_baseclient-0.1.0.tar.gz.

File metadata

File hashes

Hashes for kbase_sdk_baseclient-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e1ec164411c7e04d2de0aa17c7e5fa5b80b462fe65863127eb93cd93a122be9
MD5 3fa3217d9182728f2f834367e7590182
BLAKE2b-256 1904d96ffaa5bc99680fa2dd38e2d9dd65a898085f14111d16ecf7be8446ad81

See more details on using hashes here.

File details

Details for the file kbase_sdk_baseclient-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kbase_sdk_baseclient-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1378bdbcba2f5b449365b8a3bdd55a958085619a37f623dd712ae9ab63a73f60
MD5 f7fd819ee78b0dd9133c20ab2d4156e5
BLAKE2b-256 49773b1b1841a35abaf661c99556c447005262ad262e42a7677198677c1b25f1

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