Skip to main content

Shared code supporting 10Duke SDKs

Project description

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.

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_core-3.0.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

tenduke_core-3.0.1-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file tenduke_core-3.0.1.tar.gz.

File metadata

  • Download URL: tenduke_core-3.0.1.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tenduke_core-3.0.1.tar.gz
Algorithm Hash digest
SHA256 6879636e9e9943400234ba135e5dea45a558ab29c2e9a1770e3f0f934491b892
MD5 5f207b128260dfb6820d12f309558ea5
BLAKE2b-256 dea23580da44af5f681ceeca5bbde6d129cd6efed75bd770134c98174571a916

See more details on using hashes here.

File details

Details for the file tenduke_core-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: tenduke_core-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tenduke_core-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0acc4b8e1ad9a1b2a3901f15f11fc5bcba96f9b208bca1ea8dbf5b7fa838032d
MD5 b03c0c56d22be083200556052cc20ca2
BLAKE2b-256 bb869d0ffb8eba865efbd29f3f04ac7513e2ff481b98ef2e4302bbe79a0b0510

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