{ "info": { "author": "Oliver Bell", "author_email": "freshollie@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# abridge\n\n[![pipeline status](https://gitlab.com/freshollie/abridge/badges/master/pipeline.svg)](https://gitlab.com/freshollie/abridge/commits/master)\n[![coverage report](https://gitlab.com/freshollie/abridge/badges/master/coverage.svg)](http://freshollie.gitlab.io/abridge)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n[![PyPI version](https://img.shields.io/pypi/v/abridge)](https://badge.fury.io/py/abridge)\n\nEffortlessly shorten videos.\n\n## About\n\n`abridge` can automatically shorten video files by removing parts from the video\nwhere not much happens. This is great for making timelapse videos more engaging\nand removes the need for manual editing to cut these dead spots from the videos.\n\n## Installation\n\n`pip install abridge`\n\n`abridge` makes use of `moviepy`, which releys on `ffmpeg`. `ffmpeg` should be installed\nwhen the package is installed, but this may not work on some systems.\n\n## Docker\n\n`adbridge` can be run as a docker image, which gaurentees it will run\non all systems.\n\n`docker pull freshollie/abridge:latest`\n\n`docker run freshollie/abridge`\n\n## Usage\n\n```\nusage: abridge [-h] [-w workers] [-o outdir] [-t diff-threshold]\n [-r repetition-threshold]\n clip [clip ...]\n\nEffortlessly shorten videos\n\npositional arguments:\n clip Clip to cut or glob group\n\noptional arguments:\n -h, --help show this help message and exit\n -w workers Number of clip processors\n -o outdir\n -t diff-threshold Difference threshold required between frames for a\n frames to be considered different\n -r repetition-threshold\n Number of frames in a row required to make a cut\n```\n\n## Api\n\n```python\nfrom abridge import abridge_clip\n\nabridge_clip(\"/path/to/clip\")\n```\n\n## Developing\n\nThe `abridge` project is managed and packaged by `poetry`\n\nUse `poetry install` to download the required packages for development\n\n`poetry run pre-commit install` should be run to install the pre-commit\nscripts which help with ensuring code is linted before push.\n\n### Tests\n\nTests are written with `pytest` and can be run with `make test`\n\n### Linting\n\n`abridge` is linted with `pylint` and formatted with `black` and `isort`\n\n`mypy` is used throughout the project to ensure consitent types.\n\n`make lint` will check linting, code formatting, and types\n\n`make format` will format code to required standards\n\n## TODO:\n\n- Test coverage on processor\n\n## License\n\n`MIT`\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sdispater/poetry", "keywords": "video,automatic,cutting,ffmpeg,moviepy", "license": "MIT", "maintainer": "Oliver Bell", "maintainer_email": "freshollie@gmail.com", "name": "abridge", "package_url": "https://pypi.org/project/abridge/", "platform": "", "project_url": "https://pypi.org/project/abridge/", "project_urls": { "Homepage": "https://github.com/sdispater/poetry", "Repository": "https://github.com/sdispater/poetry" }, "release_url": "https://pypi.org/project/abridge/0.1.4/", "requires_dist": [ "moviepy (>=1.0,<2.0)", "numpy (>=1.17,<2.0)", "enlighten (>=1.3,<2.0)", "proglog (>=0.1.9,<0.2.0)" ], "requires_python": ">=3.7,<4.0", "summary": "Splice similar frames from videos", "version": "0.1.4" }, "last_serial": 5703262, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c76e149b8201bb4db40fe090335c2457", "sha256": "d6d02a3a734f7b9bf4c3113b5a1e9f5f7ad6adf53acfebbc75fd28a0021b3d2a" }, "downloads": -1, "filename": "abridge-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c76e149b8201bb4db40fe090335c2457", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 4463, "upload_time": "2019-08-16T07:00:15", "url": "https://files.pythonhosted.org/packages/db/f9/d864df68f1969a43e7299eeaa7ef1444f42302db353d5dc3e1e2faa06d36/abridge-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13876d45917a6c4603730191aeffdeec", "sha256": "d18e72fe86860b29dfd5a2fcdc38fd4326582cd120bfbdda60e6975ae3a488f8" }, "downloads": -1, "filename": "abridge-0.1.0.tar.gz", "has_sig": false, "md5_digest": "13876d45917a6c4603730191aeffdeec", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 3710, "upload_time": "2019-08-16T07:00:18", "url": "https://files.pythonhosted.org/packages/15/2d/c62027b5181144d87ca30fccaf7a3421da8a801a5c3709f8129c61775c88/abridge-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "29ef68567086a2f52b7e8b13f66b2324", "sha256": "3558c2ea7433ed047c61f42915270289720009c13edd74ff9eb3bb60ac93589f" }, "downloads": -1, "filename": "abridge-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "29ef68567086a2f52b7e8b13f66b2324", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 4581, "upload_time": "2019-08-16T07:11:22", "url": "https://files.pythonhosted.org/packages/b1/d4/0bf8c07f2c31973c6aa30955d85aa7e4b83344523cfcce8bd3e11f1c4ec1/abridge-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffb41f3fd26852cf9d5f39594ea75d3f", "sha256": "1de5faebf9ea451cb3c4e803fab7cacd816bd313b0343163e8e931cbae0fcb76" }, "downloads": -1, "filename": "abridge-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ffb41f3fd26852cf9d5f39594ea75d3f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 3912, "upload_time": "2019-08-16T07:11:24", "url": "https://files.pythonhosted.org/packages/de/f4/1099ebe7e2d89bb792411a40394444eb81a3cbbc9784a4fe374dddf1cf83/abridge-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cf2b4e1b2221c362a61761ca041da70b", "sha256": "bf3b4086f3c0e8cefc7d17aea15326161c4e33e5cf52c71b213035eb51700b38" }, "downloads": -1, "filename": "abridge-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "cf2b4e1b2221c362a61761ca041da70b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 6467, "upload_time": "2019-08-20T10:51:22", "url": "https://files.pythonhosted.org/packages/92/76/62641ca1c75c419b5c82049ec2d8ee868560249af453cc1ce110562e048e/abridge-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4c233c7d7cf8e4db8f245a4ad2061a5", "sha256": "817f71d8ca17e6fbca6a8f6adff80678189413aded762c88e11f37f464acf3dd" }, "downloads": -1, "filename": "abridge-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f4c233c7d7cf8e4db8f245a4ad2061a5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 5863, "upload_time": "2019-08-20T10:51:24", "url": "https://files.pythonhosted.org/packages/bc/8c/3ba722c26039235068bed47c9d3db41419f927c92b1bb08c1208caf27a60/abridge-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1731479fc0fd27adb7a3b496d6b3fd19", "sha256": "fe2039f8fba00ce3fbfd735783e5075e6026172442825c822f0c5f536742adbd" }, "downloads": -1, "filename": "abridge-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1731479fc0fd27adb7a3b496d6b3fd19", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 6496, "upload_time": "2019-08-20T12:46:52", "url": "https://files.pythonhosted.org/packages/a8/0f/01a453a7360d74f4fda24a0206c39451572c42a457c8288d8e34a4105abc/abridge-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e960cd7f64830d71d4da30790a9cbaab", "sha256": "d42200740d6c6c2386f76848c83c4bb63fdf740c8aee0595d8bcc034a2a6d68a" }, "downloads": -1, "filename": "abridge-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e960cd7f64830d71d4da30790a9cbaab", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 5798, "upload_time": "2019-08-20T12:46:54", "url": "https://files.pythonhosted.org/packages/12/3f/316a68409adfb34a0ef8f48c4d17ea40b79ac0565b1c98fe37d3b2ea78d1/abridge-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6cc917666f8182751f7e23ad4f874c87", "sha256": "cda766255446da8671c421641f7a4e98c307bebc6a4d921ad266b10fb5cbdbc8" }, "downloads": -1, "filename": "abridge-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6cc917666f8182751f7e23ad4f874c87", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 6492, "upload_time": "2019-08-20T13:06:45", "url": "https://files.pythonhosted.org/packages/ef/d4/22bb2a0e2e2827df128e51ecbd86a3a8d3daae0eb6f95b95c3190ac877a1/abridge-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0dbc95b9d627c4546845ae13fbd4297", "sha256": "bc8dbab94af7b4f1a64eb4dd0c3d7f82bb860d160f524b58f62c520d110759e2" }, "downloads": -1, "filename": "abridge-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c0dbc95b9d627c4546845ae13fbd4297", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 5798, "upload_time": "2019-08-20T13:06:46", "url": "https://files.pythonhosted.org/packages/10/1b/e8c4791336646f7f69dd5e8606e6cdd23639a18922df5256f4fdf0ddba15/abridge-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6cc917666f8182751f7e23ad4f874c87", "sha256": "cda766255446da8671c421641f7a4e98c307bebc6a4d921ad266b10fb5cbdbc8" }, "downloads": -1, "filename": "abridge-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6cc917666f8182751f7e23ad4f874c87", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 6492, "upload_time": "2019-08-20T13:06:45", "url": "https://files.pythonhosted.org/packages/ef/d4/22bb2a0e2e2827df128e51ecbd86a3a8d3daae0eb6f95b95c3190ac877a1/abridge-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0dbc95b9d627c4546845ae13fbd4297", "sha256": "bc8dbab94af7b4f1a64eb4dd0c3d7f82bb860d160f524b58f62c520d110759e2" }, "downloads": -1, "filename": "abridge-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c0dbc95b9d627c4546845ae13fbd4297", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 5798, "upload_time": "2019-08-20T13:06:46", "url": "https://files.pythonhosted.org/packages/10/1b/e8c4791336646f7f69dd5e8606e6cdd23639a18922df5256f4fdf0ddba15/abridge-0.1.4.tar.gz" } ] }