gifcm


Namegifcm JSON
Version 0.1.0 PyPI version JSON
download
home_page
SummaryEasy gif animation of matplotlib figures
upload_time2023-09-11 19:29:56
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2023 Martin Schubert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords gif animation matplotlib
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gifcm 0.1.0

Gifcm provides a context manager for easy creation of gif animations from matplotlib figures. It does not offer capabilities beyond existing tools such as [gif](https://github.com/maxhumber/gif) or [celluloid](https://github.com/jwkvam/celluloid), but rather a different API making use of context managers.

## Installation
```
pip install gifcm
```

## Usage
Example usage is as follows:
```python
animated_figure = AnimatedFigure(figure=plt.figure())

for i in range(10):
  with animated_figure.frame():
    plt.plot(i, i, "o")

animated_figure.save_gif("my_animation.gif")
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "gifcm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Martin Schubert <mfschubert@gmail.com>",
    "keywords": "gif,animation,matplotlib",
    "author": "",
    "author_email": "Martin Schubert <mfschubert@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/59/53/29a1bfea0bdbc86c56f8f98da5c4cab2f1e633e921d74bbae66a253ecac0/gifcm-0.1.0.tar.gz",
    "platform": null,
    "description": "# gifcm 0.1.0\n\nGifcm provides a context manager for easy creation of gif animations from matplotlib figures. It does not offer capabilities beyond existing tools such as [gif](https://github.com/maxhumber/gif) or [celluloid](https://github.com/jwkvam/celluloid), but rather a different API making use of context managers.\n\n## Installation\n```\npip install gifcm\n```\n\n## Usage\nExample usage is as follows:\n```python\nanimated_figure = AnimatedFigure(figure=plt.figure())\n\nfor i in range(10):\n  with animated_figure.frame():\n    plt.plot(i, i, \"o\")\n\nanimated_figure.save_gif(\"my_animation.gif\")\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 Martin Schubert  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Easy gif animation of matplotlib figures",
    "version": "0.1.0",
    "project_urls": null,
    "split_keywords": [
        "gif",
        "animation",
        "matplotlib"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e62b926bc6a82402025b15bff372e47e131e214e97e7625589f4d01f6424b463",
                "md5": "e72253467dc9cfe5bc7332e6c4d8be3d",
                "sha256": "7083698869f3116566bb146cb7ae067b7bd67a99299f88facc3cc0c761511ecc"
            },
            "downloads": -1,
            "filename": "gifcm-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e72253467dc9cfe5bc7332e6c4d8be3d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4920,
            "upload_time": "2023-09-11T19:29:53",
            "upload_time_iso_8601": "2023-09-11T19:29:53.613501Z",
            "url": "https://files.pythonhosted.org/packages/e6/2b/926bc6a82402025b15bff372e47e131e214e97e7625589f4d01f6424b463/gifcm-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "595329a1bfea0bdbc86c56f8f98da5c4cab2f1e633e921d74bbae66a253ecac0",
                "md5": "a02d6a861068f3126d4ad2843b3cf1fd",
                "sha256": "3d11daf73c011c355663044f790458cd165f4d95845dbf98897252d7dad168d6"
            },
            "downloads": -1,
            "filename": "gifcm-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a02d6a861068f3126d4ad2843b3cf1fd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4607,
            "upload_time": "2023-09-11T19:29:56",
            "upload_time_iso_8601": "2023-09-11T19:29:56.164544Z",
            "url": "https://files.pythonhosted.org/packages/59/53/29a1bfea0bdbc86c56f8f98da5c4cab2f1e633e921d74bbae66a253ecac0/gifcm-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-11 19:29:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gifcm"
}
        
Elapsed time: 0.11107s