Skip to main content

pre-commit

pypi Read the Docs

CI/CD

Coverage

Description

Python client library for interacting with TestLodge.

Installation

pip install testlodge

Usage

Documentation

import os

from testlodge import Client


tl = Client(
    email='my.email@email.com',
    api_key=os.environ['TESTLODGE_API_KEY'],
    account_id=os.environ['TESTLODGE_ACCOUNT_ID'],
)

Users

from testlodge.typing import UserJSON
from testlodge.typing import UserListJSON


user_json: UserJSON = dict(
    id=123456,
    firstname='First',
    lastname='Last',
    email='user@email.com',
    created_at="2022-01-01T20:30:40.123456Z",
    updated_at="2022-05-16T01:08:41.493190Z",
)

# Get a list of users (Default: page 1)
user_list_json: UserListJSON = tl.list_user_json()

Projects

from testlodge.typing import ProjectJSON
from testlodge.typing import ProjectListJSON


# Get a list of projects (Default: page 1)
project_list_json: ProjectListJSON = tl.list_project_json()
# Get a project
project_list_json: ProjectJSON = tl.show_project_json(project_id=123)

Custom Fields

from testlodge.typing import CustomFieldListJSON


# Get a list of custom fields for a project
custom_field_list_json: CustomFieldListJSON = tl.list_custom_field_json(project_id=123)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testlodge-0.0.40.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

testlodge-0.0.40-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file testlodge-0.0.40.tar.gz.

File metadata

  • Download URL: testlodge-0.0.40.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.1

File hashes

Hashes for testlodge-0.0.40.tar.gz
Algorithm Hash digest
SHA256 d1643875d3ee61b57ee4f3a8fcc641d74af1b0a66f72defb4ea8f9fe806cb861
MD5 d2b26f271bceed2b05b245f2da49eacb
BLAKE2b-256 4c85491d3d6a6c7ccdb66441ab5a2a6c0427f019a94a6906b610c06195f4d8e4

See more details on using hashes here.

File details

Details for the file testlodge-0.0.40-py3-none-any.whl.

File metadata

  • Download URL: testlodge-0.0.40-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.1

File hashes

Hashes for testlodge-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ae2f905c47e28194370c130ac304c9697e824d6088bd39e5b80f950a34405d
MD5 a399cf8dae9c71ef3171958c30c9702f
BLAKE2b-256 b976257ebdec45c59ee187de022c7e05e80d77068d351fec861fb853a1096cbf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.40 This release

2 files

0.0.39

2 files

0.0.38

2 files

0.0.37

2 files

0.0.36

2 files

0.0.35

2 files

0.0.34

2 files

0.0.33

2 files

0.0.32

2 files

0.0.31

2 files

0.0.30

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.25

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.1

2 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