kivy-garden-invisible-magnet


Namekivy-garden-invisible-magnet JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-04-09 05:11:08
maintainerNone
docs_urlNone
authorNattōsai Mitō
requires_python<4.0.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Invisible Magnet

Automatically animates the transition of the widgets' position (and optionally size).
Unlike the [Magnet](https://github.com/kivy-garden/garden.magnet), this one does not require extra widgets.

[Youtube](https://youtu.be/Lb2zzaq3i0E)


## Installation

Pin the minor version.

```text
poetry add kivy-garden-invisible-magnet@~0.1
pip install "kivy-garden-invisible-magnet>=0.1,<0.2"
```

## Usage

```python
from kivy_garden.invisible_magnet import magnetize

magnetize(widget)
```

Install if you prefer not to manually magnetize each individual widget.

```python
from kivy_garden.invisible_magnet import install

install()
```

All the widgets created after the installation will be automatically magnetized.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kivy-garden-invisible-magnet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Natt\u014dsai Mit\u014d",
    "author_email": "flow4re2c@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/46/08/9ce417cea1f47ecbd416829f6dfc24a1871b17dea9e315ad7190a3b58200/kivy_garden_invisible_magnet-0.1.1.tar.gz",
    "platform": null,
    "description": "# Invisible Magnet\n\nAutomatically animates the transition of the widgets' position (and optionally size).\nUnlike the [Magnet](https://github.com/kivy-garden/garden.magnet), this one does not require extra widgets.\n\n[Youtube](https://youtu.be/Lb2zzaq3i0E)\n\n\n## Installation\n\nPin the minor version.\n\n```text\npoetry add kivy-garden-invisible-magnet@~0.1\npip install \"kivy-garden-invisible-magnet>=0.1,<0.2\"\n```\n\n## Usage\n\n```python\nfrom kivy_garden.invisible_magnet import magnetize\n\nmagnetize(widget)\n```\n\nInstall if you prefer not to manually magnetize each individual widget.\n\n```python\nfrom kivy_garden.invisible_magnet import install\n\ninstall()\n```\n\nAll the widgets created after the installation will be automatically magnetized.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": null,
    "version": "0.1.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "322acec1ff959c42dc08b5812f16d029dc59c229147d184612c6d49327dacfdc",
                "md5": "47d1d9385f8f89beb483278a1d594a8c",
                "sha256": "08631fac75442439fa56ada77fe7a26c14fc18a0d92846f5520c1fe88d4d4281"
            },
            "downloads": -1,
            "filename": "kivy_garden_invisible_magnet-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "47d1d9385f8f89beb483278a1d594a8c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0.0,>=3.8.1",
            "size": 5083,
            "upload_time": "2024-04-09T05:11:05",
            "upload_time_iso_8601": "2024-04-09T05:11:05.807553Z",
            "url": "https://files.pythonhosted.org/packages/32/2a/cec1ff959c42dc08b5812f16d029dc59c229147d184612c6d49327dacfdc/kivy_garden_invisible_magnet-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "46089ce417cea1f47ecbd416829f6dfc24a1871b17dea9e315ad7190a3b58200",
                "md5": "5aa104c409240cfe57927e5a169d6e9a",
                "sha256": "4881ad65f4ac25b72cf200a81a88f90242b3dd05daccca6f7aa9fab6eae16196"
            },
            "downloads": -1,
            "filename": "kivy_garden_invisible_magnet-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5aa104c409240cfe57927e5a169d6e9a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0.0,>=3.8.1",
            "size": 3332,
            "upload_time": "2024-04-09T05:11:08",
            "upload_time_iso_8601": "2024-04-09T05:11:08.296223Z",
            "url": "https://files.pythonhosted.org/packages/46/08/9ce417cea1f47ecbd416829f6dfc24a1871b17dea9e315ad7190a3b58200/kivy_garden_invisible_magnet-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-09 05:11:08",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "kivy-garden-invisible-magnet"
}
        
Elapsed time: 0.20990s