Skip to content

Create a Python library out of mtms-api #667

@okahilak

Description

@okahilak

So that it can be installed by running something like pip install mtms_api, and after that imported, regardless of where you are in the file system, by running, e.g., from mtms_api import MTMSApi in Python.

The API resides in mtms repository nowadays, under api directory. See, for example, example1.py, which shows that the API is currently imported by the line from MTMSApi import MTMSApi.

The objective of this task is that one would be able to run, e.g., example1.py in any directory, and it would be able to import the API library. (Moving example1.py to another directory and trying to run it is also a good test for whether the task is done successfully.)

Unsure how important this is - I would deem it not very important and maybe not even useful at all. Anyway, keeping it open for the time being, as it is at least somewhat relevant if not that useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions