{ "info": { "author": "Ingo Heimbach", "author_email": "IJ_H@gmx.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: MacOS X", "Environment :: X11 Applications", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Text Editors", "Topic :: Utilities" ], "description": "Vim Tips\n========\n\nIntroduction\n------------\n\n.. figure:: https://raw.githubusercontent.com/IngoHeimbach/vimtips/master/screenshot.png\n :alt: screenshot\n\n screenshot\n\n*Vim Tips* is a project to aggregate and show vim tips from different\nsources. A small daemon waits for screen unlocks and automatically\nstarts the vim tips gui if it is the first unlock of the day.\n\nInstallation\n------------\n\n*Vim Tips* can be installed with ``pip`` on Linux and macos:\n\n.. code:: bash\n\n python3 -m pip install vimtips\n\n*Vim tips* contains components that must be compiled on installation, so\nensure you have XCode installed on macos or build tools on any Linux\ndistribution. For Linux, you also need X11 headers. On Ubuntu /\nDebian-based distributions you can install these dependencies with:\n\n.. code:: bash\n\n apt install build-essential libx11-dev nx-x11proto-xext-dev\n\nUsage\n-----\n\nAfter installation, you get the new commands ``vimtips-gui`` and\n``vimtips-daemon`` to start the graphical application or the daemon\nprocess. On the first gui start, the cache of vim tips is refreshed so\nthe first startup can take several seconds. Future runs renew the cache\nin the background. You can add ``vimtips-daemon`` to your startup /\nlogin items to automatically get new tips on computer startup or when\nyou unlock the screen for the first time of the day.\n\nLogin item creation on macos\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIt is indeed possible to add terminal commands to the user\u2019s login items\nbut this will cause the startup of a terminal window every time you\nlogin to your Mac. A better solution is to start the preinstalled\n*Automator* application, create a new app and add a bash script which\nstarts ``vimtips-daemon``. The created app can then be added to hidden\nlogin items.\n\nTip sources\n-----------\n\nCurrently, only twitter is supported as a tip source (the `vimtips\naccount `__ is read) but new\nsources can be added by creating a new Python module in\n``vimtips/sources``. Look at\n`vimtips/sources/twitter.py `__\nfor an example. You only need to implement a global function ``tips``\nwhich returns a list of strings.\n\nScreen unlock detection\n-----------------------\n\nThis package has different backends to detect a screen unlock:\n\n- Linux:\n\n - ``xscreensaver``: If ``xscreensaver`` is running, it will be asked\n for unlock events.\n - ``X11 dpms``: As a fallback dpms events are watched which should\n work on every Linux desktop. However, this backend does not really\n check for a screen unlock, it checks the screen power state\n instead (however, in most configurations the screen is sent to\n sleep when the screen is locked, so this should be fine on most\n systems). This backend could fail if screensavers are used.\n\n- macos:\n\n - On macos, the screen power state is watched similiar to the Linux\n X11 backend. If anyone knows how to check for a screen lock,\n please send a pull request! :)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/IngoHeimbach/vimtips", "keywords": "vim,tips", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "vimtips", "package_url": "https://pypi.org/project/vimtips/", "platform": "", "project_url": "https://pypi.org/project/vimtips/", "project_urls": { "Homepage": "https://github.com/IngoHeimbach/vimtips" }, "release_url": "https://pypi.org/project/vimtips/0.1.5/", "requires_dist": null, "requires_python": "~=3.3", "summary": "Vim Tips is a project to aggregate and show vim tips from different sources.", "version": "0.1.5" }, "last_serial": 4659227, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9cf58d18d89593d29ed728017e7647bb", "sha256": "ecbc4305625ed124e14658a77f30a6c88b730359c01a6c4821a1482a6693869a" }, "downloads": -1, "filename": "vimtips-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9cf58d18d89593d29ed728017e7647bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61110, "upload_time": "2018-05-23T09:16:00", "url": "https://files.pythonhosted.org/packages/52/cc/1b86e15bff5c20bfc8ef68d97b11180f981201dccb3c3abe52c77449147b/vimtips-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "193bd4a14c285b5011fde58e41f82f10", "sha256": "f336bae8c206078fe527dfaa42001bbec4013abbb6d41539f505a8364722e014" }, "downloads": -1, "filename": "vimtips-0.1.1.tar.gz", "has_sig": false, "md5_digest": "193bd4a14c285b5011fde58e41f82f10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61454, "upload_time": "2018-05-24T07:09:21", "url": "https://files.pythonhosted.org/packages/dd/3c/4ea47695ab113192a2b89b46c0e25a23b2301261d52b8fdf9dcba66263e0/vimtips-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "677fbf45b8ecbce19011fac330ceb1ed", "sha256": "b04e091279db502a2689bbbe93032ace668fb23427b0073ae44d12588f93ea7a" }, "downloads": -1, "filename": "vimtips-0.1.2.tar.gz", "has_sig": false, "md5_digest": "677fbf45b8ecbce19011fac330ceb1ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61557, "upload_time": "2018-05-25T07:17:04", "url": "https://files.pythonhosted.org/packages/2c/09/0859267a556c922ca4bdb756182b2f2e9672977b6bb2a7b688758f2d6c43/vimtips-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "003157201da860ba0f379a3240aac5bb", "sha256": "9adea76c9ade07453b8c5f312fb38501ddcd67d653eb133690d3bbde1f0d4e87" }, "downloads": -1, "filename": "vimtips-0.1.3.tar.gz", "has_sig": false, "md5_digest": "003157201da860ba0f379a3240aac5bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61597, "upload_time": "2018-05-25T15:14:05", "url": "https://files.pythonhosted.org/packages/a4/c6/6b499c49628be5d31f26ae49d2a3e8304aa3faa3ad4eb7cc5fbebad262e4/vimtips-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "602c68a51d812de5bb5b9d6a19a03194", "sha256": "d2126ee2dd67767b7239f572a652c30f5cf11b0e3057bda3bb333ffa066797b5" }, "downloads": -1, "filename": "vimtips-0.1.4.tar.gz", "has_sig": false, "md5_digest": "602c68a51d812de5bb5b9d6a19a03194", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.3", "size": 61640, "upload_time": "2018-06-04T09:54:20", "url": "https://files.pythonhosted.org/packages/07/ff/00deac316b6c9a0f510311b09b25f70dbeb02d3b5faecb8fee128b50d2be/vimtips-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "ee90f76c1040c0b421e142c0b84e949a", "sha256": "ab39a6851b3cd421dc9dd84c5713ee23d4d978719e15699e8eae3a02da44887f" }, "downloads": -1, "filename": "vimtips-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ee90f76c1040c0b421e142c0b84e949a", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.3", "size": 61627, "upload_time": "2019-01-04T07:14:30", "url": "https://files.pythonhosted.org/packages/5f/02/6548943b4a921e4fb5e0441f66a7723327d13b15b90faf4cca9b9376645e/vimtips-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee90f76c1040c0b421e142c0b84e949a", "sha256": "ab39a6851b3cd421dc9dd84c5713ee23d4d978719e15699e8eae3a02da44887f" }, "downloads": -1, "filename": "vimtips-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ee90f76c1040c0b421e142c0b84e949a", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.3", "size": 61627, "upload_time": "2019-01-04T07:14:30", "url": "https://files.pythonhosted.org/packages/5f/02/6548943b4a921e4fb5e0441f66a7723327d13b15b90faf4cca9b9376645e/vimtips-0.1.5.tar.gz" } ] }