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.9+

Note: Starting with version 1.0.0, this client uses Pydantic v2. If your project requires Pydantic v1, please remain on a 0.x.x release of this client.

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-1.0.0.tar.gz (529.1 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-1.0.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phrasetms_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 846ef28c551c0f592902199a0b2e5be22e51645d14e940f5201f169bf21190e6
MD5 5dc126d729e40650a50ac63083d35bd0
BLAKE2b-256 1f2b10c31e44eb97c65fdeac768da2eb127d2b4cec7ae6144723ffd6b50b23e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for phrasetms_client-1.0.0.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-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phrasetms_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1254a9817299dab37a53471381de872f67fd5761601a0c7886a0bcc4676432
MD5 a9a29bbf3f75755d5e0cfef6a5ae906b
BLAKE2b-256 631e59c4b90d642cbae97d9e07c1256dc6f4c1c3591e727eb33efdc1f9051157

See more details on using hashes here.

Provenance

The following attestation bundles were made for phrasetms_client-1.0.0-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