{ "info": { "author": "Louis Cordier", "author_email": "lcordier@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Software Development" ], "description": "# General useful utility functions for Python projects.\n\nThese are functions I use every day. Ideally they should make their way into the standard library.\nI understand we cannot put everything in the standard library, hence this package. ;)\n\nThe various modules have the following requirements:\n\n```\n# util_email\nimapclient\npyzmail\n\n# util_fs\nunidecode\n\n# util_ftp\nftputil\nparamiko\n\n# util_image\npillow\n\n# util_logging\nlogging_tree\n```\n\nIf you only need one module it is recommended you install from source and manage the requirments yourself.\n\n\n## Example usage:\n\n```python\nfrom PIL import Image\n\nfrom lcutil import util_email as ue\nfrom lcutil import util_image as ui\n\nface = ui.scale_width(Image.open('face.jpg'), 100)\nback = ui.scale_width(Image.open('back.jpg'), 100)\n\nstiched = ui.stitch_vertical(face, back)\nstiched.save('/tmp/stiched.jpg')\n\nue.html_email(from_='me ',\n to=['alice '],\n bcc=['bob '],\n subject='Here is an image for you',\n html_body='

Hello World!

',\n files=['/tmp/stiched.jpg'],\n smtp_server='smtp.example.com',\n smtp_port=25,\n smtp_username='username',\n smtp_password='password')\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/lcordier/lcutil/", "keywords": "utility functions devel", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lcutil", "package_url": "https://pypi.org/project/lcutil/", "platform": "", "project_url": "https://pypi.org/project/lcutil/", "project_urls": { "Homepage": "http://github.com/lcordier/lcutil/" }, "release_url": "https://pypi.org/project/lcutil/0.2.2/", "requires_dist": [ "imapclient", "pyzmail", "unidecode", "ftputil", "paramiko", "pillow", "logging-tree" ], "requires_python": "", "summary": "General useful utility functions for Python projects.", "version": "0.2.2" }, "last_serial": 4861571, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "fc3dd0fda416caa0b9d38561ca43e31c", "sha256": "f611d69c74fa9a0602e7b6cf74dda4e014794e34ac004cc63c56839bb76e4622" }, "downloads": -1, "filename": "lcutil-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "fc3dd0fda416caa0b9d38561ca43e31c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14815, "upload_time": "2019-02-24T15:54:55", "url": "https://files.pythonhosted.org/packages/b2/07/f038bb474d93efdba2e09a526823588cf0b08e834307714e5569f4fad107/lcutil-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5cb986e2e5cd310d18d473c5b5b863e6", "sha256": "a736e9a141a05bb81e40abb0c4be45ddccd52559b500379c588650e843dd84e1" }, "downloads": -1, "filename": "lcutil-0.1.tar.gz", "has_sig": false, "md5_digest": "5cb986e2e5cd310d18d473c5b5b863e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11714, "upload_time": "2019-02-24T15:54:58", "url": "https://files.pythonhosted.org/packages/84/63/39aaac83efcaca6ecef5fc3fb52edf83d92eea08f94aeff1b71eacfc4915/lcutil-0.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "cad7b1cfd82a726fdd67f34e51a4e813", "sha256": "c3c1ea9e2d720a0a049014ab5a538bbb92b6c0b1034b04e8797a8188ffd13750" }, "downloads": -1, "filename": "lcutil-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "cad7b1cfd82a726fdd67f34e51a4e813", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15273, "upload_time": "2019-02-24T17:52:34", "url": "https://files.pythonhosted.org/packages/bd/5e/f37588b2735df5eeaf28254c63956a05233812aced24c20e271c9190a406/lcutil-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdcedfdaf79e8f0b2e34730817db3d7b", "sha256": "fc99df303d7e8f542b0292f9d862a51ce89e2a3644fe4dc63ea54ec37bbe1245" }, "downloads": -1, "filename": "lcutil-0.2.2.tar.gz", "has_sig": false, "md5_digest": "fdcedfdaf79e8f0b2e34730817db3d7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11804, "upload_time": "2019-02-24T17:52:36", "url": "https://files.pythonhosted.org/packages/c2/39/d4d60df5bd384d18c38ba5e52e74e60e81c4258158484a4b6c9ce15d0316/lcutil-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cad7b1cfd82a726fdd67f34e51a4e813", "sha256": "c3c1ea9e2d720a0a049014ab5a538bbb92b6c0b1034b04e8797a8188ffd13750" }, "downloads": -1, "filename": "lcutil-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "cad7b1cfd82a726fdd67f34e51a4e813", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15273, "upload_time": "2019-02-24T17:52:34", "url": "https://files.pythonhosted.org/packages/bd/5e/f37588b2735df5eeaf28254c63956a05233812aced24c20e271c9190a406/lcutil-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fdcedfdaf79e8f0b2e34730817db3d7b", "sha256": "fc99df303d7e8f542b0292f9d862a51ce89e2a3644fe4dc63ea54ec37bbe1245" }, "downloads": -1, "filename": "lcutil-0.2.2.tar.gz", "has_sig": false, "md5_digest": "fdcedfdaf79e8f0b2e34730817db3d7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11804, "upload_time": "2019-02-24T17:52:36", "url": "https://files.pythonhosted.org/packages/c2/39/d4d60df5bd384d18c38ba5e52e74e60e81c4258158484a4b6c9ce15d0316/lcutil-0.2.2.tar.gz" } ] }