Skip to main content

Client and Worker module for Tin Arm Engineering LTC service

Project description

ltc_client

TeamCity build status

Node creation tool for TAE workers

Development with Poetry https://python-poetry.org/docs/basic-usage/

Before committing:

Check the formatting is compient with Black: poetry run black .

Run the tests: poetry run pytest

Get the coverage report: poetry run coverage report Hopefully it should not have gone down lower than this:

Name                     Stmts   Miss  Cover   Missing
------------------------------------------------------
ltc_client/__init__.py       7      0   100%
ltc_client/api.py          161     93    42%   38, 48-56, 72, 97-99, 104-106, 112, 118, 123-124, 128, 144, 149-156, 167, 171-173, 180, 191-200, 203-204, 211-212, 218, 223, 226-227, 236, 248-251, 259, 267-274, 278-280, 287-290, 298-301, 309-312, 319-328, 331-335, 340-342, 350-406
ltc_client/helpers.py      119     70    41%   48-57, 86, 89-105, 110-118, 121, 125-144, 147-175, 178, 193-195, 200-203, 207, 211, 214-228, 253-269
ltc_client/worker.py       179    116    35%   48, 85, 87, 97-98, 101, 142-197, 200-220, 223-236, 239, 242-250, 256-313, 317-365, 372-378, 382-393
------------------------------------------------------
TOTAL                      466    279    40%

To push a release with a tag, make your commits locally, don't push yet, then:

git tag 0.2.22
git push --atomic origin main 0.2.22

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

ltc_client-0.2.31.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

ltc_client-0.2.31-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file ltc_client-0.2.31.tar.gz.

File metadata

  • Download URL: ltc_client-0.2.31.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.12 Linux/5.15.0-143-generic

File hashes

Hashes for ltc_client-0.2.31.tar.gz
Algorithm Hash digest
SHA256 8075fc3f829aca1cd4627eb3af4ee1e1b2b3dc19448a4dd1dad3526bbeca2897
MD5 81e9e4b15f1d733c06d91216a610dbfe
BLAKE2b-256 24c7772575bb1262a56f21a860e3798f565df79d4cbcf69bce6b61dee9cf8bb9

See more details on using hashes here.

File details

Details for the file ltc_client-0.2.31-py3-none-any.whl.

File metadata

  • Download URL: ltc_client-0.2.31-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.12 Linux/5.15.0-143-generic

File hashes

Hashes for ltc_client-0.2.31-py3-none-any.whl
Algorithm Hash digest
SHA256 13478c6b04dded4dc30447ebd3c7c27f3e8f7f82d0a57bc117e8479114b2d6fe
MD5 a8843b0690dffa851072d44d7c1e4ef4
BLAKE2b-256 c9aa6205934568118a17bfbff071592a05a811f521d613ed87915754bfbc7a43

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