Skip to main content

10Duke Python core library

This repository contains the shared code between the 10Duke Enterprise and 10Duke Scale SDKs.

Contents

Why

The 10Duke Enterprise and 10Duke Scale SDK client libraries both need similar functionality in areas such as authentication and configuration

In order to reduce complexity in those libraries, promote similar developer experience using those libraries, and reduce effort developing and maintaining those libraries, this project established a shared, core library that provides that functionality to both client libraries.

Installation

Using pip

pip install tenduke_core

Using poetry

poetry add tenduke_core

Development

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

git clone git@gitlab.com:10Duke/core/python-core.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 GitLab package repository.

Publishing to PyPi requires additional steps.

Getting involved

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

Resources

License

10Duke Python core library is licensed under the MIT license.

Release files for tenduke-core 3.0.1

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-core 3.0.1
File Size Uploaded
tenduke_core-3.0.1.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tenduke-core 3.0.1
File Interpreter ABI Platform
tenduke_core-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 41.9 kB

Release files / tenduke_core-3.0.1.tar.gz

Download URL tenduke_core-3.0.1.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6879636e9e9943400234ba135e5dea45a558ab29c2e9a1770e3f0f934491b892
BLAKE2b-256 checksum
How to use checksums
dea23580da44af5f681ceeca5bbde6d129cd6efed75bd770134c98174571a916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / tenduke_core-3.0.1-py3-none-any.whl

Download URL tenduke_core-3.0.1-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0acc4b8e1ad9a1b2a3901f15f11fc5bcba96f9b208bca1ea8dbf5b7fa838032d
BLAKE2b-256 checksum
How to use checksums
bb869d0ffb8eba865efbd29f3f04ac7513e2ff481b98ef2e4302bbe79a0b0510
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

3.0.1 This release

2 release files

3.0.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.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