Skip to main content

Python API client for ReqDB

Project description

ReqDB PyClient

The ReqDB PyClient is the official client for the ReqDB API. The PyClient contains the needed functions to interact with the API

Installation

Use pip to install the client:

pip install reqdb

Usage

First you need to get a valid OAuth access token for the ReqDB server (e.g. with msal). After you acquired your token you can connect to the API:

client = ReqDB("<ReqDB FQDN>", "<Access Token>")

With the initialized client you can now perform actions (according to your roles) for each model ( Tags, Topics, Requirements, ExtraTypes, ExtraEntries, Catalogues, Comment): get, all, update, delete, add

Example for a tags:

# Get tag with id: 1
tag1 = client.Tags.add(id=1)

# Get all tags
allTags = client.Tags.all()

# Update a tag:
tag = client.Tags.update(id=1, models.Tag(name="Tag 1"))

# Delete a tag:
ok = client.Tags.delete(id=1)

# Add a tag
tag = client.Tags.add(models.Tag(name="Tag 2"))

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details

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

reqdb-0.11.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

reqdb-0.11.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file reqdb-0.11.0.tar.gz.

File metadata

  • Download URL: reqdb-0.11.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0

File hashes

Hashes for reqdb-0.11.0.tar.gz
Algorithm Hash digest
SHA256 5e5fff5d4b643babc022cbad2122635fdd036809d2cccc14db09a571473d379c
MD5 5360249adb0afddc839e8cc32cf10368
BLAKE2b-256 6dd8aa58b458ee1f54351f65ef841b3a6fe7e8ea296738ed1a74435f49d08aa7

See more details on using hashes here.

File details

Details for the file reqdb-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: reqdb-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0

File hashes

Hashes for reqdb-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74bc7f538a46e55069d130a6d4b8805bc0f1ddda9969b22ac79cc07aa00df6f9
MD5 43c4ead9f3c3ab792603b6154c246319
BLAKE2b-256 1c6aea7bb2d8123b9b2249d7c6195f8aaa35436cca418e3bda67a89e1acbe16d

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