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 a0.x.xrelease 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
846ef28c551c0f592902199a0b2e5be22e51645d14e940f5201f169bf21190e6
|
|
| MD5 |
5dc126d729e40650a50ac63083d35bd0
|
|
| BLAKE2b-256 |
1f2b10c31e44eb97c65fdeac768da2eb127d2b4cec7ae6144723ffd6b50b23e8
|
Provenance
The following attestation bundles were made for phrasetms_client-1.0.0.tar.gz:
Publisher:
python-publish.yml on Martin005/phrasetms-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phrasetms_client-1.0.0.tar.gz -
Subject digest:
846ef28c551c0f592902199a0b2e5be22e51645d14e940f5201f169bf21190e6 - Sigstore transparency entry: 1076229373
- Sigstore integration time:
-
Permalink:
Martin005/phrasetms-python@e70d26ff793524777be0c2b2806e4cabf5b19082 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/Martin005
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e70d26ff793524777be0c2b2806e4cabf5b19082 -
Trigger Event:
release
-
Statement type:
File details
Details for the file phrasetms_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: phrasetms_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd1254a9817299dab37a53471381de872f67fd5761601a0c7886a0bcc4676432
|
|
| MD5 |
a9a29bbf3f75755d5e0cfef6a5ae906b
|
|
| BLAKE2b-256 |
631e59c4b90d642cbae97d9e07c1256dc6f4c1c3591e727eb33efdc1f9051157
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phrasetms_client-1.0.0-py3-none-any.whl -
Subject digest:
bd1254a9817299dab37a53471381de872f67fd5761601a0c7886a0bcc4676432 - Sigstore transparency entry: 1076229422
- Sigstore integration time:
-
Permalink:
Martin005/phrasetms-python@e70d26ff793524777be0c2b2806e4cabf5b19082 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/Martin005
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e70d26ff793524777be0c2b2806e4cabf5b19082 -
Trigger Event:
release
-
Statement type: