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 relevant repository.

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-1.0.0.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

tenduke_core-1.0.0-py3-none-any.whl (22.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page