{"id":21887200,"url":"https://github.com/profcomff/converter-api","last_synced_at":"2025-04-15T09:50:24.235Z","repository":{"id":65846178,"uuid":"600642412","full_name":"profcomff/converter-api","owner":"profcomff","description":"Сервис для конвертации документов в формат PDF","archived":false,"fork":false,"pushed_at":"2024-07-19T09:30:18.000Z","size":2256,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-28T18:55:15.056Z","etag":null,"topics":["print-service"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profcomff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-12T05:37:17.000Z","updated_at":"2025-03-17T09:32:00.000Z","dependencies_parsed_at":"2023-10-14T19:24:17.960Z","dependency_job_id":null,"html_url":"https://github.com/profcomff/converter-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fconverter-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fconverter-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fconverter-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fconverter-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profcomff","download_url":"https://codeload.github.com/profcomff/converter-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249048712,"owners_count":21204305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["print-service"],"created_at":"2024-11-28T11:08:46.493Z","updated_at":"2025-04-15T09:50:24.219Z","avatar_url":"https://github.com/profcomff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file-converter\n\nКонвертер файлов, основан на libre office. \n\n[\u003cimg src=\"https://cdn.profcomff.com/easycode/easycode.svg\" width=\"200\"\u003e\u003c/img\u003e](https://easycode.profcomff.com/templates/docker-fastapi/workspace?mode=manual\u0026param.Repository+URL=https://github.com/profcomff/converter-api.git\u0026param.Working+directory=converter-api)\n\n## Запуск\n\n1) Перейдите в папку проекта\n\n2) Создайте виртуальное окружение командой:\n```console\nfoo@bar:~$ python3 -m venv ./venv/\n```\n\n3) Установите библиотеки \n```console\nfoo@bar:~$ pip install -r requirements.txt\n```\n4) Запускайте приложение!\n```console\nfoo@bar:~$ python -m file_converter\n```\n\n## Тестирование и LibreOffice\n\n1) Установка LibreOffice должна производиться в Docker, иначе при выполнении \nстроки через shell возникнут проблемы с доступом к диреткории /static\n\n2) При запуске автоматических тестирований  на Windows в случае нестандартной установки \nlibreoffice - проверить директорию и добавить ее в список для поиска в get_dir:\n\n```console\npaths = ['\\\\Program Files', '\\\\Program Files (x86)', '\\\\ProgramData', '\\\\Users']\n```\n3) Для тестирований создать отдельно .env и прописать:\n\n```console\nSTATIC_FOLDER=static\n```\n\n## ENV-file description\n\nDB_DSN=\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fconverter-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofcomff%2Fconverter-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fconverter-api/lists"}