Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# NOTE: This file is auto generated by OpenAPI Generator.
# URL: https://openapi-generator.tech
#
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: lilt Python package

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Test with pytest
run: |
pytest --cov=lilt
42 changes: 20 additions & 22 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
# NOTE: This file is auto generated by OpenAPI Generator.
# URL: https://openapi-generator.tech
#
# ref: https://docs.gitlab.com/ee/ci/README.html
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml

stages:
- test

.nosetest:
.pytest:
stage: test
script:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pytest --cov=lilt

nosetest-2.7:
extends: .nosetest
image: python:2.7-alpine
nosetest-3.3:
extends: .nosetest
image: python:3.3-alpine
nosetest-3.4:
extends: .nosetest
image: python:3.4-alpine
nosetest-3.5:
extends: .nosetest
image: python:3.5-alpine
nosetest-3.6:
extends: .nosetest
image: python:3.6-alpine
nosetest-3.7:
extends: .nosetest
image: python:3.7-alpine
nosetest-3.8:
extends: .nosetest
image: python:3.8-alpine
pytest-3.9:
extends: .pytest
image: python:3.9-alpine
pytest-3.10:
extends: .pytest
image: python:3.10-alpine
pytest-3.11:
extends: .pytest
image: python:3.11-alpine
pytest-3.12:
extends: .pytest
image: python:3.12-alpine
pytest-3.13:
extends: .pytest
image: python:3.13-alpine
171 changes: 171 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
.github/workflows/python.yml
.gitlab-ci.yml
.travis.yml
README.md
docs/AddFileLabelRequest.md
docs/CreateApi.md
docs/CreateConverterConfigParameters.md
docs/CreateWebhookOptions.md
docs/DeleteLiltCreateContent200Response.md
docs/DeleteSegmentFromMemoryResponse.md
docs/DocumentWithSegments.md
docs/DocumentWithoutSegments.md
docs/DocumentWithoutSegmentsStatus.md
docs/DocumentsApi.md
docs/Domain.md
docs/DomainList.md
docs/DomainMetadata.md
docs/DomainReference.md
docs/DomainsApi.md
docs/Error.md
docs/FileDeleteResponse.md
docs/FilesApi.md
docs/FilterConfig.md
docs/GetLiltCreateContentResponse.md
docs/Job.md
docs/JobCreateParameters.md
docs/JobDeleteResponse.md
docs/JobLeverageStats.md
docs/JobProject.md
docs/JobStats.md
docs/JobUpdateParameters.md
docs/JobsApi.md
docs/LanguagePair.md
docs/LanguagesApi.md
docs/LanguagesResponse.md
docs/LiltCreateContent.md
docs/LiltCreateContentPreferences.md
docs/LiltCreateContentRequest.md
docs/LiltCreateContentTemplateParams.md
docs/MemoriesApi.md
docs/Memory.md
docs/MemoryCreateParameters.md
docs/MemoryDeleteResponse.md
docs/MemoryImportResponse.md
docs/MemoryUpdateParameters.md
docs/Model.md
docs/Project.md
docs/ProjectCreateParameters.md
docs/ProjectDeleteResponse.md
docs/ProjectStats.md
docs/ProjectsApi.md
docs/SDLXLIFFFilter.md
docs/Segment.md
docs/SignLiltCreateTermsResponse.md
docs/SourceFile.md
docs/TermbaseExportResponse.md
docs/TranslateApi.md
docs/TranslateSegmentBody.md
docs/Translation.md
docs/TranslationInfo.md
docs/TranslationList.md
docs/TranslationMemoryEntry.md
docs/WebhookConfigurationApi.md
docs/WebhookResponse.md
docs/WebhooksUpdateRequest.md
docs/WebhooksUpdateRequestAnyOf.md
docs/WebhooksUpdateRequestAnyOf1.md
docs/WebhooksUpdateRequestAnyOf2.md
docs/WorkflowStageAssignment.md
docs/WorkflowStageTemplate.md
docs/WorkflowTemplate.md
docs/WorkflowsApi.md
git_push.sh
lilt/__init__.py
lilt/api/__init__.py
lilt/api/create_api.py
lilt/api/documents_api.py
lilt/api/domains_api.py
lilt/api/files_api.py
lilt/api/jobs_api.py
lilt/api/languages_api.py
lilt/api/memories_api.py
lilt/api/projects_api.py
lilt/api/translate_api.py
lilt/api/webhook_configuration_api.py
lilt/api/workflows_api.py
lilt/api_client.py
lilt/api_response.py
lilt/configuration.py
lilt/exceptions.py
lilt/models/__init__.py
lilt/models/add_file_label_request.py
lilt/models/create_converter_config_parameters.py
lilt/models/create_webhook_options.py
lilt/models/delete_lilt_create_content200_response.py
lilt/models/delete_segment_from_memory_response.py
lilt/models/document_with_segments.py
lilt/models/document_without_segments.py
lilt/models/document_without_segments_status.py
lilt/models/domain.py
lilt/models/domain_list.py
lilt/models/domain_metadata.py
lilt/models/domain_reference.py
lilt/models/error.py
lilt/models/file_delete_response.py
lilt/models/filter_config.py
lilt/models/get_lilt_create_content_response.py
lilt/models/job.py
lilt/models/job_create_parameters.py
lilt/models/job_delete_response.py
lilt/models/job_leverage_stats.py
lilt/models/job_project.py
lilt/models/job_stats.py
lilt/models/job_update_parameters.py
lilt/models/language_pair.py
lilt/models/languages_response.py
lilt/models/lilt_create_content.py
lilt/models/lilt_create_content_preferences.py
lilt/models/lilt_create_content_request.py
lilt/models/lilt_create_content_template_params.py
lilt/models/memory.py
lilt/models/memory_create_parameters.py
lilt/models/memory_delete_response.py
lilt/models/memory_import_response.py
lilt/models/memory_update_parameters.py
lilt/models/model.py
lilt/models/project.py
lilt/models/project_create_parameters.py
lilt/models/project_delete_response.py
lilt/models/project_stats.py
lilt/models/sdlxliff_filter.py
lilt/models/segment.py
lilt/models/sign_lilt_create_terms_response.py
lilt/models/source_file.py
lilt/models/termbase_export_response.py
lilt/models/translate_segment_body.py
lilt/models/translation.py
lilt/models/translation_info.py
lilt/models/translation_list.py
lilt/models/translation_memory_entry.py
lilt/models/webhook_response.py
lilt/models/webhooks_update_request.py
lilt/models/webhooks_update_request_any_of.py
lilt/models/webhooks_update_request_any_of1.py
lilt/models/webhooks_update_request_any_of2.py
lilt/models/workflow_stage_assignment.py
lilt/models/workflow_stage_template.py
lilt/models/workflow_template.py
lilt/py.typed
lilt/rest.py
pyproject.toml
requirements.txt
setup.cfg
setup.py
test/__init__.py
test/test_create_webhook_options.py
test/test_delete_lilt_create_content200_response.py
test/test_domain.py
test/test_domain_list.py
test/test_domain_metadata.py
test/test_domain_reference.py
test/test_domains_api.py
test/test_filter_config.py
test/test_model.py
test/test_webhook_configuration_api.py
test/test_webhook_response.py
test/test_webhooks_update_request.py
test/test_webhooks_update_request_any_of.py
test/test_webhooks_update_request_any_of1.py
test/test_webhooks_update_request_any_of2.py
tox.ini
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.1
7.13.0
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# ref: https://docs.travis-ci.com/user/languages/python
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
# uncomment the following if needed
#- "3.13-dev" # 3.13 development branch
#- "nightly" # nightly build
# command to install dependencies
install:
- "pip install -r requirements.txt"
Expand Down
Loading
Loading