Skip to main content

Phrase TMS API

Project description

phrasetms-client

Python client for Phrase TMS.

This Python package was initially automatically generated by the OpenAPI Generator project.

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install phrasetms-client

(you may need to run pip with root permission: sudo pip install phrasetms-client)

Then import the package:

import phrasetms_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import phrasetms_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import phrasetms_client
from phrasetms_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://cloud.memsource.com/web
# See configuration.py for a list of all supported configuration parameters.
configuration = phrasetms_client.Configuration(
    host = "https://cloud.memsource.com/web"
)

# Enter a context with an instance of the API client
with phrasetms_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = phrasetms_client.AdditionalWorkflowStepApi(api_client)
    body = phrasetms_client.AdditionalWorkflowStepRequestDto() # AdditionalWorkflowStepRequestDto |  (optional)

    try:
        # Create additional workflow step
        api_response = api_instance.create_awf_step(body=body)
        print("The response of AdditionalWorkflowStepApi->create_awf_step:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AdditionalWorkflowStepApi->create_awf_step: %s\n" % e)

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

phrasetms_client-0.3.14.tar.gz (527.8 kB view details)

Uploaded Source

Built Distribution

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

phrasetms_client-0.3.14-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file phrasetms_client-0.3.14.tar.gz.

File metadata

  • Download URL: phrasetms_client-0.3.14.tar.gz
  • Upload date:
  • Size: 527.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for phrasetms_client-0.3.14.tar.gz
Algorithm Hash digest
SHA256 0b904b5d6541f1dfc49e2c7f6110f2a19cbe101cc7a282eaa78fe9f517648a79
MD5 e1e9a58ab1161c14000a028cec2e866b
BLAKE2b-256 002bf3d99564070ec0070ffcc1640c43d2ffd2dbd0de201d24f919e8938d8430

See more details on using hashes here.

Provenance

The following attestation bundles were made for phrasetms_client-0.3.14.tar.gz:

Publisher: python-publish.yml on Martin005/phrasetms-python

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

File details

Details for the file phrasetms_client-0.3.14-py3-none-any.whl.

File metadata

File hashes

Hashes for phrasetms_client-0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 99c5ce165bd8f14e28c22144f3623142a81141309a83af619601e55e6341a859
MD5 ebaea8e913214fdf7ba27b8904918d6b
BLAKE2b-256 bc8dbc32a225b9bc581badf5d66e6c26ba0e053ceaee58ba65b1893bc6052cf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for phrasetms_client-0.3.14-py3-none-any.whl:

Publisher: python-publish.yml on Martin005/phrasetms-python

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