Metadata-Version: 2.2
Name: python-mantis
Version: 0.6
Summary: A python interface to manage everything about Mantis Bug Tracker
Author-email: Eliaquim Souza <eliaquim.rsv@gmail.com>, Rafael Silva <rafael.alexandre.tm@gmail.com>, Elton Pescador <eltonpescadorvieira@gmail.com>
Maintainer-email: Eliaquim Souza <eliaquim.rsv@gmail.com>, Rafael Silva <rafael.alexandre.tm@gmail.com>, Elton Pescador <eltonpescadorvieira@gmail.com>
License: GPL-3.0
Project-URL: Homepage, https://github.com/eliaquimrs/python-mantis
Project-URL: Changelog, https://github.com/eliaquimrs/python-mantis/blob/master/CHANGELOG.md
Project-URL: Documentation, https://github.com/eliaquimrs/python-mantis?tab=readme-ov-file#readme
Project-URL: Source, https://github.com/eliaquimrs/python-mantis
Project-URL: Repository, https://github.com/eliaquimrs/python-mantis.git
Project-URL: Bug Tracker, https://github.com/eliaquimrs/python-mantis/issues
Keywords: api,client,mantisbt,mantis-bt,mantis-bug-tracker,mantis-bugtracker,python,python-mantisbt,python-mantis,mantis,bug-tracker
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: Unix
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.32.0

# python-mantis
A python API to manage everything about Mantis Bug Tracker

## Instalation
```bash
pip install python-mantis
```

## Usage
```python
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
```
