Skip to main content

A python interface to manage everything about Mantis Bug Tracker

Project description

python-mantis

A python API to manage everything about Mantis Bug Tracker

Instalation

pip install python-mantis

Usage

from mantis import MantisBT

client = MantisBT('https://<your-mantisbt-server>:<your-mantisbt-port>/', '<your mantisbt token API>')

# Get all projects from your mantisbt server
projects = client.projects.get_all()

# Get first project
project = projects[0]
project.name # Project name

# Get all issues for project
issues = project.get_issues()

# Get first issues
issue = issues[0]
issue.summary       # Issue title
issue.description   # Issue Description

# Get all notes for issue
notes = issue.get_notes()

# Get first note
note = notes[0]
note._id    # Note ID
note.text   # Get note comment

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

python_mantis-0.6.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

python_mantis-0.6-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file python_mantis-0.6.tar.gz.

File metadata

  • Download URL: python_mantis-0.6.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for python_mantis-0.6.tar.gz
Algorithm Hash digest
SHA256 624db58d148432256a7e7fd7cdf97416d41d617c53354aa6ead33e9ebca20a43
MD5 c222b36df78b1f2a4c660c74cb90b9e0
BLAKE2b-256 adf2913d5111316264e3d23f855bb21d6f44e7ed1c385708dd27ec901b0c690c

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_mantis-0.6.tar.gz:

Publisher: python-publish.yml on eliaquimrs/python-mantis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_mantis-0.6-py3-none-any.whl.

File metadata

  • Download URL: python_mantis-0.6-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for python_mantis-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f26636cb9e0c003983d5c9e1a4b341e05bfe7bb33e4206d4cc12f53d5abd9ca3
MD5 427fe57b09c40c9cd1b7ec09ba3a37ea
BLAKE2b-256 d7700aa9f4967e7300786f8638132fdb874e99f1081f0f2658e3535195997f48

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_mantis-0.6-py3-none-any.whl:

Publisher: python-publish.yml on eliaquimrs/python-mantis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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