{ "info": { "author": "andreymal", "author_email": "andriyano-31@mail.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Flask", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application" ], "description": "Smilepack\n=========\n\nA website where you can create collections on smiles and use it on other sites.\n\n\nQuick start\n-----------\n\nInstall Smilepack from PyPI:\n\n pip3 install smilepack\n\nCreate administrator account:\n\n smilepack createsuperuser\n\nIt also creates `database.sqlite3` in current directory.\n\nRun HTTP server:\n\n smilepack runserver\n\nNow website is available at `http://localhost:5000/` and ready for use, but uploading of icons and smiles is recommended:\n\nOpen `http://localhost:5000/login/` and login as administrator. Open `http://localhost:5000/admin/`, click \"Other actions\" -> \"Icon management\" and upload at least one icon (don't forget to configure uploader if you wish upload icon from computer). Tick uploaded icon to publish it, and refresh the page. Now you can create categories of collection and upload smiles here.\n\nFor production you can use gunicorn (or another WSGI server):\n\n gunicorn -w 4 'smilepack.application:create_app()'\n\n\nConfiguration\n-------------\n\nYou can change default settings by `.py` file containing configuration class. Example in `examples/settings.py`. Save it as `local_settings.py` and load using environment variable:\n\n export SMILEPACK_SETTINGS=local_settings.Production\n\nYou can specify any Python object. Be sure that `local_settings.py` must be available in `PYTHONPATH`.\n\nFor development you can inherit class `smilepack.settings.Development`, for production use `smilepack.settings.Config`.\n\n\nDatabase\n--------\n\n* `DATABASE_ENGINE` \u0438 `DATABASE` are [Pony ORM connection settings](http://doc.ponyorm.com/database.html#database-providers). `examples/settings.py` has example for MySQL. Default database is `sqlite3`.\n\n\nSmiles\n------\n\nSmiles need to be stored somewhere. Use `UPLOAD_METHOD`:\n\n* `None` (default) \u2014 don't save. All smiles should be uploaded to some hosting in advance.\n\n* `'imgur'` \u2014 upload to Imgur. For this, set `IMGUR_ID` of API application. You need to install `Flask-Imgur`.\n\n* `'directory'` \u2014\u00a0upload to `SMILES_DIRECTORY`.\n\n`ICON_UPLOAD_METHOD` setting is similar.\n\nIf upload method is set, you can disable custom urls of smiles by `ALLOW_CUSTOM_URLS = True`. Then all links of user will reuploaded.\n\n`SMILE_URL` \u2014 template for links of smiles stored in `SMILES_DIRECTORY`. Default `/smiles/images/{filename}`; if you use another url (CDN for example), you can set another template here. `ICON_URL` setting is similar.\n\n\nUtilites\n--------\n\n* `smilepack status` \u2014 partly verifies the operability of configuration and database;\n\n* `smilepack shell` \u2014 runs interactive console with application.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/andreymal/smilepack", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "smilepack", "package_url": "https://pypi.org/project/smilepack/", "platform": "linux,osx,bsd", "project_url": "https://pypi.org/project/smilepack/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/andreymal/smilepack" }, "release_url": "https://pypi.org/project/smilepack/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A website where you can create collections on smiles and use it on other sites", "version": "0.2.1" }, "last_serial": 2019305, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5af67c3c09c86914d5582aeae4416aca", "sha256": "c6e852a9c7c5f4c3ebf88a4b36cdbd62b94d5f531bc87c0f4697731943a4a767" }, "downloads": -1, "filename": "smilepack-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5af67c3c09c86914d5582aeae4416aca", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 195714, "upload_time": "2015-11-28T14:45:17", "url": "https://files.pythonhosted.org/packages/64/a7/6a8695a50924b7d57c483eb7d7ce94e992c0021ce2dca8f7d55ba90e4f19/smilepack-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f71d6d7a37f1090012d5d5d52d90a0c9", "sha256": "51d4d96c264ac30143db63434287cb5460a6690b2ef254f9385da7a21f91e867" }, "downloads": -1, "filename": "smilepack-0.1.0.tar.gz", "has_sig": true, "md5_digest": "f71d6d7a37f1090012d5d5d52d90a0c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39887, "upload_time": "2015-11-28T14:41:19", "url": "https://files.pythonhosted.org/packages/72/45/19332ba95bf814ed74c735e04c44981d0e232a45a38dc8a59699c01594af/smilepack-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9691267e8b35487a9865128db099bb9b", "sha256": "1ea214c926a25d94fc4ac620ff3363d96b8309bf7cdebd4307ce65ecc41dd50e" }, "downloads": -1, "filename": "smilepack-0.1.1-py3-none-any.whl", "has_sig": true, "md5_digest": "9691267e8b35487a9865128db099bb9b", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 202347, "upload_time": "2015-12-14T20:18:26", "url": "https://files.pythonhosted.org/packages/1c/13/ba7e583461aa2ce05753f11e4412438ccfd7b344cba62bad187410d200a8/smilepack-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6921f376b97607b197c3b6c768b5cb02", "sha256": "c094f93ae2b5c820a00730ba672f7490e908c72c3ffcdfd1d1c4df6e683cf383" }, "downloads": -1, "filename": "smilepack-0.1.1.tar.gz", "has_sig": true, "md5_digest": "6921f376b97607b197c3b6c768b5cb02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43760, "upload_time": "2015-12-14T20:17:49", "url": "https://files.pythonhosted.org/packages/99/64/3ae5c9055752ea1a27707b7aee3149d4e63b18708adc78c0cde7be7f3c22/smilepack-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "584e7a7d898b9e13bad7970ee2217498", "sha256": "5183412e316f27b53227876df5877f160dcc5a44c2a3937cf79ad10e4e1db609" }, "downloads": -1, "filename": "smilepack-0.2.0-py3-none-any.whl", "has_sig": true, "md5_digest": "584e7a7d898b9e13bad7970ee2217498", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 785641, "upload_time": "2016-03-20T18:36:16", "url": "https://files.pythonhosted.org/packages/b3/46/f2838c768fe19740b67a6d1bd55695b206df8ff45b14de8da9514a848eec/smilepack-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "446518b0559f31538500e2f071fb6308", "sha256": "65ca3a86b66ac1f2fe087617de09c399233d12e1d584985f7b2a62e5dc0f9f8b" }, "downloads": -1, "filename": "smilepack-0.2.0.tar.gz", "has_sig": true, "md5_digest": "446518b0559f31538500e2f071fb6308", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 402811, "upload_time": "2016-03-20T18:35:33", "url": "https://files.pythonhosted.org/packages/8f/56/c395d9d4081f000b681ea1cffb8e7c225e326565a6ef4c5674e0a6aaf9bc/smilepack-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ffb78ec100b8d9e8540d0aa36a7009bd", "sha256": "518fcc6f8116e232b226f49ae7b6db9b124a1ee7108892b585f25d79e46e5382" }, "downloads": -1, "filename": "smilepack-0.2.1-py3-none-any.whl", "has_sig": true, "md5_digest": "ffb78ec100b8d9e8540d0aa36a7009bd", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 434702, "upload_time": "2016-03-21T19:48:37", "url": "https://files.pythonhosted.org/packages/30/7d/cde1934f214f6e10f1f45dc4d83d3e640be8381cb12e2c9f768b25bb46d5/smilepack-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b66499b565af5dff48de36932216075f", "sha256": "32d1908d4ca54665b55d91c5a9cd10adb3b6cbc43a2b2a9cfd12c1425916e37b" }, "downloads": -1, "filename": "smilepack-0.2.1.tar.gz", "has_sig": true, "md5_digest": "b66499b565af5dff48de36932216075f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68230, "upload_time": "2016-03-21T19:48:00", "url": "https://files.pythonhosted.org/packages/cf/0e/b8ac1ce78501ee3c1eb4ca81a3782d797aa898253e739a399ec2d3605698/smilepack-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ffb78ec100b8d9e8540d0aa36a7009bd", "sha256": "518fcc6f8116e232b226f49ae7b6db9b124a1ee7108892b585f25d79e46e5382" }, "downloads": -1, "filename": "smilepack-0.2.1-py3-none-any.whl", "has_sig": true, "md5_digest": "ffb78ec100b8d9e8540d0aa36a7009bd", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 434702, "upload_time": "2016-03-21T19:48:37", "url": "https://files.pythonhosted.org/packages/30/7d/cde1934f214f6e10f1f45dc4d83d3e640be8381cb12e2c9f768b25bb46d5/smilepack-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b66499b565af5dff48de36932216075f", "sha256": "32d1908d4ca54665b55d91c5a9cd10adb3b6cbc43a2b2a9cfd12c1425916e37b" }, "downloads": -1, "filename": "smilepack-0.2.1.tar.gz", "has_sig": true, "md5_digest": "b66499b565af5dff48de36932216075f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68230, "upload_time": "2016-03-21T19:48:00", "url": "https://files.pythonhosted.org/packages/cf/0e/b8ac1ce78501ee3c1eb4ca81a3782d797aa898253e739a399ec2d3605698/smilepack-0.2.1.tar.gz" } ] }