Skip to main content

10Duke Scale SDK for Python

The 10Duke Scale SDK for Python is a library to facilitate building applications licensed using 10Duke Scale.

Contents

Why

Providing a set of Python client bindings for the 10Duke Scale REST API and a set of helper classes to configure the SDK, authenticate users, and provide authorization for API requests enables software vendors to focus on their software and their application domain. The SDK makes using 10Duke Scale in an application simpler and allows faster adoption.

Getting Started

The code is tested on Python versions 3.10, 3.11, 3.12, and 3.13.

Installation

Using pip

pip install tenduke_scale

Using poetry

poetry add tenduke_scale

Documentation

The user guide and API documentation are here.

Development

To get started with working on the code, clone this repository.

git clone git@gitlab.com:10Duke/scale/python/python-scale-sdk.git

Then you need to install the tools and dependencies.

Install poetry:

curl -sSL https://install.python-poetry.org | python3

Start the virtual environment for the project:

poetry env activate

Resolve dependencies:

poetry lock

Install dependencies:

poetry install

The tests can be run using

poetry run pytest .

For linux or macOS, a Makefile is provided to automate these, and other, development tasks.

Code formatting / linting

This project is using:

Bumping version and releasing

The project is using Semantic Versioning.

The version shall be set using poetry version. This will update the version number in pyproject.toml.

That change shall be committed in a new revision.

That revision shall be tagged (for example git tag v1.1.1).

The new tag shall be pushed (git push --tags).

That will trigger the creation of a new package and the publishing of that package to the relevant repository.

Publishing to PyPi requires additional steps.

Getting involved

We welcome contributions! Contributing explains what kind of contributions we welcome.

10Duke specific dependencies

The project depends on tenduke-core/10Duke Python core library package. If you are making changes that affect both tenduke-core and this project, there is some additional documentation on suggested workflow.

Resources

License

10Duke Scale SDK for Python is licensed under the MIT license.

Release files for tenduke-scale 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tenduke-scale 2.3.0
File Size Uploaded
tenduke_scale-2.3.0.tar.gz 27.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tenduke-scale 2.3.0
File Interpreter ABI Platform
tenduke_scale-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 71.7 kB

Release files / tenduke_scale-2.3.0.tar.gz

Download URL tenduke_scale-2.3.0.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b8e1cf137558c6d0df174af00739a5f4afec71568bdc46548e57d21470dbbbf0
BLAKE2b-256 checksum
How to use checksums
dbaac409e18de89f4cd704ba83c9b07a119a2b1d86437b6fc00bdb386554d355
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / tenduke_scale-2.3.0-py3-none-any.whl

Download URL tenduke_scale-2.3.0-py3-none-any.whl
Size 43.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe7b57101a84652cbd004bf2593e286d95d35c24f4bfdc78b46bca581d47823
BLAKE2b-256 checksum
How to use checksums
71a9730fe14e4194cd7a8d896e2af444eccbac7ac2f32d57439c4456e66f4128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page