{ "info": { "author": "Micha\u0142 G\u00f3ral", "author_email": "dev@mgoral.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Environment :: Console", "Environment :: X11 Applications :: Qt", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Utilities" ], "description": "Subconvert - movie subtitles converter\n======================================\n\nSubconvert is movie subtitles converter and editor aiming to be fast,\nlightweight and easy to use. It supports a wide variety of subtitle formats, can\nprocess files in batches and is available both as terminal application and with\na graphical frontend. Most things, like file encoding or movie framerate are\ndetected automatically so you can just sit and quickly enjoy your lovely\nsubtitles!\n\nInstallation\n------------\n\nInstall from PYPI\n~~~~~~~~~~~~~~~~~\n\n.. code:: shell\n\n $ pip3 install --user subconvert\n\nInstall with tox\n~~~~~~~~~~~~~~~~\n\nIf you cloned a git repository, you can install Subconvert with help of tox.\n\n.. warning:: If your system has Python version lower than 3.5, you'll need to\n manually install PyQt as it's not available via PYPI.\n\n.. code:: shell\n\n $ cd subconvert\n $ tox -e venv\n $ ln -s {.venv,$HOME/.local}/bin/subconvert\n $ ln -s {.venv,$HOME/.local}/share/applications/subconvert.desktop\n\n\nInstall with setup.py\n~~~~~~~~~~~~~~~~~~~~~\n\n.. warning:: these methods are not recommended for ordinary users as they don't\n manage some dependencies automatically. Installation methods from PYPI or\n with tox are preferable.\n\nYou can alternatively create a Python distribution (like bdist_wheel) and\ninstall it:\n\n.. code:: shell\n\n $ cd subconvert\n $ python3 setup.py bdist_wheel\n $ pip3 install dist/\\*.whl\n\nOr install it directly:\n\n.. code:: shell\n\n $ cd subconvert\n $ python3 setup.py install\n\n\nRemoving\n--------\n\nIf you installed Subconvert with pip, uninstalling it is simply calling\nuninstall:\n\n.. code:: shell\n\n $ pip3 uninstall subconvert\n\nOtherwise you'll have to manually remove all subconvert files, i.e.:\n\n* ``$prefix/lib/python*/site-packages/subconvert``\n* ``$prefix/bin/subconvert``\n* ``$prefix/share/applications/subconvert.desktop``\n* ``$prefix/share/icons/hicolor/*/apps/aubconvert.{svg,png}``\n\nUsage\n-----\n\n.. note:: Most recent usage description is always available by `subconvert\n --help`. You can also refer to the documentation included in ``docs/``\n directory. Documentation is also available at:\n https://mgoral.gitlab.io/subconvert.\n\nYou can use graphical or commandline interface. Default subconvert invocation\nexecutes graphical interface. It is an interactive window in which you can\nconvert and edit movie subtitles.\n\nTo access commandline interface, use ``-c`` switch:\n\n.. code:: shell\n\n $ subconvert -c file1.srt file2.txt\n\nAbove invocation will convert file1.srt and file2.txt to the default subtitles\nformat (which is SubRip). It will create file2.srt and will try to overwrite\nfile1.srt (don't worry, unless you used ``-f`` switch, Subconvert will first ask\nyou what to do).\n\nOutput filename syntax\n~~~~~~~~~~~~~~~~~~~~~~\nIt's not uncommon to add some kind of prefix/suffix to converted subtitles. Like\nthis::\n\n my_subtitles.srt --> converted_my_subtitles.extension\n\nWhen you specify output filename (via ``-o`` option), you can tell Subconvert to\nuse input file name base. Subconvert will substitute with it all appearances of\n``%f`` in output file name. See an example:\n\n.. code:: shell\n\n $ ls\n $ file1.srt file2.txt\n $ subconvert -c file1.srt file2.txt -o \"conv_%f.ABC\"\n $ ls\n $ conv_file1.ABC conv_file2.ABC file1.srt file2.txt\n\nYou can escape \"%f\" by adding second percent sign (\"%\"):\n\n.. code:: shell\n\n $ subconvert -c file1.srt -o \"conv_%%f.ABC\"\n $ ls\n $ conv_%f.ABC file1.srt file2.txt\n\nYou can also substitute ``%e``, with original file extension (without a dot\n``.``):\n\n.. code:: shell\n\n $ subconvert -c file1.srt -o \"conv_%f.%e_suffix\"\n $ ls\n $ conv_file1.srt_suffix file1.srt file2.txt\n\nSubtitle Property Files\n~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can create a common set of subtitle properties and apply all of them at\nonce. Say, your subtitles are usually iso-8859-4 encoded and you usually convert\nthem to TMP. You can set those settings with Subtitle Properties Editor\n(available via GUI: ``Tools -> Subtitle Properties Editor``) and use them each\ntime:\n\n.. code:: shell\n\n $ subconvert -c file1.srt file2.txt -o \"~/subs/%f.tmp\" -p ~/subs/iso88594_tmp.spf\n $ ls ~/subs\n $ file1.tmp file2.tmp\n\nDependencies\n------------\n* Python 3.4+ (3.5+ is preferred)\n* ``python3-pyqt5``\n* ``python3-chardet``\n* ``python3-pymediainfo``\n* ``libmediainfo`` (optional, pymediainfo won't work without it)\n* ``python-mpv`` (optional, needed for video playback)\n* ``libmpv`` (optional, needed for video playback)\n\nAdditionaly, to build Subconvert you'll need:\n\n* setuptools\n* pyrcc5 (comes with ``pyqt5-dev-tools``)\n\nTo build documentation:\n\n* ``asciidoctor``\n\nLicense\n-------\nSubconvert is Free Software, available under terms of GNU General Public License\n3, or (at your opinion) any later version. For details see LICENSE.txt which\nshould be delivered with Subconvert.\n\n.. _AUR: https://aur.archlinux.org/packages/subconvert/\n.. _PYPI: https://pypi.python.org/pypi/subconvert\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/mgoral/subconvert", "keywords": "", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "subconvert", "package_url": "https://pypi.org/project/subconvert/", "platform": "linux", "project_url": "https://pypi.org/project/subconvert/", "project_urls": { "Homepage": "https://gitlab.com/mgoral/subconvert" }, "release_url": "https://pypi.org/project/subconvert/3.0.0/", "requires_dist": [ "PyQt5 (==5.9)", "chardet (==3.0.4)", "pymediainfo (==2.1.9)", "python-mpv (==0.3.2)" ], "requires_python": "", "summary": "Movie subtitles converter", "version": "3.0.0" }, "last_serial": 3133893, "releases": { "3.0.0": [ { "comment_text": "", "digests": { "md5": "fb076553536be379472eed9e145ff679", "sha256": "9326ee452b07dc204ebacbfcf54ef9aace16a79e10c2e4d4800ba89704c6f325" }, "downloads": -1, "filename": "subconvert-3.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fb076553536be379472eed9e145ff679", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 313699, "upload_time": "2017-08-30T06:49:11", "url": "https://files.pythonhosted.org/packages/be/fb/09ea244eaa4f6d2100d8ff2af922e1845b182fcd4d1d8386fa7ba8874148/subconvert-3.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "574e615474e018d3d8c18a9f9262c5fd", "sha256": "e54f27647b831268ea1c981f41a9ea0ce2068be7406ba8555c98e795330ad1f8" }, "downloads": -1, "filename": "subconvert-3.0.0.tar.gz", "has_sig": false, "md5_digest": "574e615474e018d3d8c18a9f9262c5fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 396928, "upload_time": "2017-08-30T06:49:13", "url": "https://files.pythonhosted.org/packages/58/2a/eace4c51aac8bee94588d56202f8bc8695f38a057b5dd2f71ca6beb0acb3/subconvert-3.0.0.tar.gz" } ], "3.0.0a1": [ { "comment_text": "", "digests": { "md5": "48f3b74d8d971366196ecdf6f80ffd0e", "sha256": "6608e4da33b0bb9525a2fed2ec501da2f5199026acd8c20860e11056427d07e3" }, "downloads": -1, "filename": "subconvert-3.0.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "48f3b74d8d971366196ecdf6f80ffd0e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 304495, "upload_time": "2017-08-11T10:28:17", "url": "https://files.pythonhosted.org/packages/b2/57/8919e6b72be5fd5f158228a6d195434c49cfa456aa1c38172e655066dcf9/subconvert-3.0.0a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "638e3d7d6c9228b251b26d251db8fb5a", "sha256": "7a27eb19e267aec50718093b5f4bc78ae15fad4aee558a77ca6dd3241ab74bd3" }, "downloads": -1, "filename": "subconvert-3.0.0a1.tar.gz", "has_sig": false, "md5_digest": "638e3d7d6c9228b251b26d251db8fb5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 285067, "upload_time": "2017-08-11T10:28:20", "url": "https://files.pythonhosted.org/packages/ad/56/55b139323a4256213807a0ad2d72fd65a00ad260676ba905466ed420bfe5/subconvert-3.0.0a1.tar.gz" } ], "3.0.0a4": [ { "comment_text": "", "digests": { "md5": "90d6cf2aaa2b434823e93898603684f7", "sha256": "136825801282a03df81b96273db529a74a77000f6ebe956aceec7993a811e193" }, "downloads": -1, "filename": "subconvert-3.0.0a4-py3-none-any.whl", "has_sig": false, "md5_digest": "90d6cf2aaa2b434823e93898603684f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 311932, "upload_time": "2017-08-23T19:11:30", "url": "https://files.pythonhosted.org/packages/6c/26/a5743dff037c679bbf5d295d2f6a5c45da6dfec91e3b05cc996aefbcadf7/subconvert-3.0.0a4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0478a83265b114933fb88ef2e6336d13", "sha256": "9120c500d44c65ba24216e9d26ea3e4abb67e4f8878d2633c1b9c64ec76bd41f" }, "downloads": -1, "filename": "subconvert-3.0.0a4.tar.gz", "has_sig": false, "md5_digest": "0478a83265b114933fb88ef2e6336d13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 414333, "upload_time": "2017-08-23T19:11:31", "url": "https://files.pythonhosted.org/packages/03/63/3b459a0979097bb1b20e342329199bb35dfe27451744522cf8daeca83262/subconvert-3.0.0a4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fb076553536be379472eed9e145ff679", "sha256": "9326ee452b07dc204ebacbfcf54ef9aace16a79e10c2e4d4800ba89704c6f325" }, "downloads": -1, "filename": "subconvert-3.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fb076553536be379472eed9e145ff679", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 313699, "upload_time": "2017-08-30T06:49:11", "url": "https://files.pythonhosted.org/packages/be/fb/09ea244eaa4f6d2100d8ff2af922e1845b182fcd4d1d8386fa7ba8874148/subconvert-3.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "574e615474e018d3d8c18a9f9262c5fd", "sha256": "e54f27647b831268ea1c981f41a9ea0ce2068be7406ba8555c98e795330ad1f8" }, "downloads": -1, "filename": "subconvert-3.0.0.tar.gz", "has_sig": false, "md5_digest": "574e615474e018d3d8c18a9f9262c5fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 396928, "upload_time": "2017-08-30T06:49:13", "url": "https://files.pythonhosted.org/packages/58/2a/eace4c51aac8bee94588d56202f8bc8695f38a057b5dd2f71ca6beb0acb3/subconvert-3.0.0.tar.gz" } ] }