Skip to main content

API client for 10Duke Scale.

Project description

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.8, 3.9, 3.10, 3.11, and 3.12.

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 shell

Resolve dependencies:

poetry lock

Install dependencies:

poetry install

The tests can be run using

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.

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

tenduke_scale-2.2.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

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

tenduke_scale-2.2.0-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file tenduke_scale-2.2.0.tar.gz.

File metadata

  • Download URL: tenduke_scale-2.2.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.2 Linux/6.13.5-200.fc41.x86_64

File hashes

Hashes for tenduke_scale-2.2.0.tar.gz
Algorithm Hash digest
SHA256 1bdeb3f5d4d7999d706e57ad987516d2dd38e097ce30e8ab254ebf703065187e
MD5 f7443fa3241cb36ee1d21086d4a9e616
BLAKE2b-256 55256bb065a1cfef454360ca1a26f0fae6adc279815ea58d93da9009c49aab42

See more details on using hashes here.

File details

Details for the file tenduke_scale-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: tenduke_scale-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.2 Linux/6.13.5-200.fc41.x86_64

File hashes

Hashes for tenduke_scale-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e7d3ece86b5d902ddb9b8d06b905c79075cc04ae875ae5dabc0a14be62af427
MD5 9190ada87cf27a7bf18c582e867b1871
BLAKE2b-256 8cfd65967480ea01669579445f52d2333255b09fc67f7352a46a020ea8300ae2

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