conanim


Nameconanim JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/yourusername/mypackage
SummaryA Python library for creating animation in console.
upload_time2023-03-19 13:29:59
maintainer
docs_urlNone
authorbreadlol64
requires_python
license
keywords console animation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # conanim Library
**This python library is used for creating simple animations in console.**
## How to use

To create an animation you need use `frame_animattion()`function. Example:
```Python
import conanim as ca

# define frames for animation
frames = [
    "|",
    "/",
    "-",
    "\\",
]

while True:
    ca.frame_animation(frames, 0.1) # create an animation
```
In this example `frame_animation()` needs 2 arguments: frames and delay in seconds between frames
```Python 
frame_animation(frames, delay)
```
This is cool, but if we create program like this:
```Python
import conanim as ca

# define frames for animation
frames = [
    "|",
    "/",
    "-",
    "\\",
]

while True:
    print("loading ", end="")
    ca.frame_animation(frames, 0.1) # create an animation
```
it wil doesn't work, so this library have `print_with_animation()` function:
```Python
import conanim as ca

# define frames for animation
frames = [
    "|",
    "/",
    "-",
    "\\",
]

while True:
    ca.print_with_animation("Loading ", frames, 0.1) # create an animation
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yourusername/mypackage",
    "name": "conanim",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "console animation",
    "author": "breadlol64",
    "author_email": "breadlol64@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/65/56/39596ff3f9ec23663c76a86857c1f53d2d8e68a0e8f0d70574b052525931/conanim-0.1.0.tar.gz",
    "platform": null,
    "description": "# conanim Library\n**This python library is used for creating simple animations in console.**\n## How to use\n\nTo create an animation you need use `frame_animattion()`function. Example:\n```Python\nimport conanim as ca\n\n# define frames for animation\nframes = [\n    \"|\",\n    \"/\",\n    \"-\",\n    \"\\\\\",\n]\n\nwhile True:\n    ca.frame_animation(frames, 0.1) # create an animation\n```\nIn this example `frame_animation()` needs 2 arguments: frames and delay in seconds between frames\n```Python \nframe_animation(frames, delay)\n```\nThis is cool, but if we create program like this:\n```Python\nimport conanim as ca\n\n# define frames for animation\nframes = [\n    \"|\",\n    \"/\",\n    \"-\",\n    \"\\\\\",\n]\n\nwhile True:\n    print(\"loading \", end=\"\")\n    ca.frame_animation(frames, 0.1) # create an animation\n```\nit wil doesn't work, so this library have `print_with_animation()` function:\n```Python\nimport conanim as ca\n\n# define frames for animation\nframes = [\n    \"|\",\n    \"/\",\n    \"-\",\n    \"\\\\\",\n]\n\nwhile True:\n    ca.print_with_animation(\"Loading \", frames, 0.1) # create an animation\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python library for creating animation in console.",
    "version": "0.1.0",
    "split_keywords": [
        "console",
        "animation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c748325e347a3a2b076db325841f2f02a49ccb817f2ffcdd17f59758709f0ea",
                "md5": "3ee12e18a4c45859a595cd15114c5274",
                "sha256": "0642be338f3b7aceccc6bffe75d288d95605d92de883afafd092c5b78163aed3"
            },
            "downloads": -1,
            "filename": "conanim-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3ee12e18a4c45859a595cd15114c5274",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1821,
            "upload_time": "2023-03-19T13:29:57",
            "upload_time_iso_8601": "2023-03-19T13:29:57.526173Z",
            "url": "https://files.pythonhosted.org/packages/5c/74/8325e347a3a2b076db325841f2f02a49ccb817f2ffcdd17f59758709f0ea/conanim-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "655639596ff3f9ec23663c76a86857c1f53d2d8e68a0e8f0d70574b052525931",
                "md5": "749d29634d40b5fc8bf3b24de21c4e86",
                "sha256": "aa9bd3fb0d7e21b386e1e826d16933efa3d9fd197bd233790651fd4388ff1e09"
            },
            "downloads": -1,
            "filename": "conanim-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "749d29634d40b5fc8bf3b24de21c4e86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1739,
            "upload_time": "2023-03-19T13:29:59",
            "upload_time_iso_8601": "2023-03-19T13:29:59.179610Z",
            "url": "https://files.pythonhosted.org/packages/65/56/39596ff3f9ec23663c76a86857c1f53d2d8e68a0e8f0d70574b052525931/conanim-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-19 13:29:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "yourusername",
    "github_project": "mypackage",
    "lcname": "conanim"
}
        
Elapsed time: 0.04451s