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.0.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.0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tenduke_core-3.0.0.tar.gz
Algorithm Hash digest
SHA256 78e346a1c808e47444b8fe57626c9e1d3c5eb17534a9d36b4d7cf23844c5447a
MD5 25f9214d02558bfc3cbb1a50ad4faefe
BLAKE2b-256 eb1687c486cf126c38c5b4eb1d43cc79ae899650281074a9443a6f79b1451a52

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tenduke_core-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cb8f1e55c465216d819c50ed784c6c725a6bca453d021b4a93436dbd32c7205
MD5 4d9898e5c780c4a74ee245959e8f1ed4
BLAKE2b-256 9113b756a7fc0f148fb2daeceb908b5065affa8e1b13ce624c78a068d8c3078d

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