{ "info": { "author": "Tryton", "author_email": "bugs@tryton.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "Framework :: Tryton", "Intended Audience :: Developers", "Intended Audience :: Financial and Insurance Industry", "Intended Audience :: Legal Industry", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: Bulgarian", "Natural Language :: Catalan", "Natural Language :: Chinese (Simplified)", "Natural Language :: Czech", "Natural Language :: Dutch", "Natural Language :: English", "Natural Language :: Finnish", "Natural Language :: French", "Natural Language :: German", "Natural Language :: Hungarian", "Natural Language :: Italian", "Natural Language :: Persian", "Natural Language :: Polish", "Natural Language :: Portuguese (Brazilian)", "Natural Language :: Russian", "Natural Language :: Slovenian", "Natural Language :: Spanish", "Natural Language :: Turkish", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Office/Business" ], "description": "Web Shortener Module\n####################\n\nThe web_shortener module allows URLs to be shortened. It counts the number of\ntimes the URL is accessed and optionally triggers action.\n\nThe module defines a route `/s/`\nwhich will redirect the queries to the URL registered previously with\n`ShortenedURL.get_url`.\n\nModels that need to be callable from a shortened URL must define the method\n`shortened_url_execute`. This class method will be called from the underlying\nqueue with the record and the keywords arguments transmitted when calling\n`get_url`.\n\nShortened URL\n*************\n\n- Shortened URL: The shortened URL\n- Redirect URL: The URL the request is redirected to\n- Record: The record on which `method` will be executed\n- Method: The name of the method to call on `record`\n- Count: The number of times this shortened URL has been triggered\n\nConfiguration\n*************\n\nThe web_shortener modules uses the parameter from the section:\n\n- `[web]`:\n\n - `shortener_base`: The base URL without path for shortened URL.\n The default value is composed with the configuration `[web]` `hostname`.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "http://downloads.tryton.org/5.2/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.tryton.org/", "keywords": "tryton url", "license": "GPL-3", "maintainer": "", "maintainer_email": "", "name": "trytond-web-shortener", "package_url": "https://pypi.org/project/trytond-web-shortener/", "platform": "", "project_url": "https://pypi.org/project/trytond-web-shortener/", "project_urls": { "Bug Tracker": "https://bugs.tryton.org/", "Documentation": "https://docs.tryton.org/", "Download": "http://downloads.tryton.org/5.2/", "Forum": "https://www.tryton.org/forum", "Homepage": "http://www.tryton.org/", "Source Code": "https://hg.tryton.org/modules/web_shortener" }, "release_url": "https://pypi.org/project/trytond-web-shortener/5.2.0/", "requires_dist": [ "python-sql", "trytond (<5.3,>=5.2)" ], "requires_python": ">=3.5", "summary": "Tryton module to plug a URL to an action", "version": "5.2.0" }, "last_serial": 5326673, "releases": { "5.2.0": [ { "comment_text": "", "digests": { "md5": "df7ba42ea32e970b0fbc96af6f16f49d", "sha256": "398d3ae9b23b5d4d4a5e86d63b99bd13e42024bc2be9756841c789a53c2c271b" }, "downloads": -1, "filename": "trytond_web_shortener-5.2.0-py3-none-any.whl", "has_sig": true, "md5_digest": "df7ba42ea32e970b0fbc96af6f16f49d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 21108, "upload_time": "2019-05-06T13:18:56", "url": "https://files.pythonhosted.org/packages/d1/aa/cbe9f47ab5da1a54d0fa1087df115a9345567bbec6104165ba8da03094a6/trytond_web_shortener-5.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f238cf7552cff49e7d9c3551cf73b48", "sha256": "5ae412213524243994c0a3df1393c977f12bdeb14c6e57ee0dd5e5fe563c681f" }, "downloads": -1, "filename": "trytond_web_shortener-5.2.0.tar.gz", "has_sig": true, "md5_digest": "4f238cf7552cff49e7d9c3551cf73b48", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 23431, "upload_time": "2019-05-06T13:18:59", "url": "https://files.pythonhosted.org/packages/1d/1f/5d8c1ceaa85c898063edaa733b348e2e332b35612af6f3683831141ea695/trytond_web_shortener-5.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df7ba42ea32e970b0fbc96af6f16f49d", "sha256": "398d3ae9b23b5d4d4a5e86d63b99bd13e42024bc2be9756841c789a53c2c271b" }, "downloads": -1, "filename": "trytond_web_shortener-5.2.0-py3-none-any.whl", "has_sig": true, "md5_digest": "df7ba42ea32e970b0fbc96af6f16f49d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 21108, "upload_time": "2019-05-06T13:18:56", "url": "https://files.pythonhosted.org/packages/d1/aa/cbe9f47ab5da1a54d0fa1087df115a9345567bbec6104165ba8da03094a6/trytond_web_shortener-5.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f238cf7552cff49e7d9c3551cf73b48", "sha256": "5ae412213524243994c0a3df1393c977f12bdeb14c6e57ee0dd5e5fe563c681f" }, "downloads": -1, "filename": "trytond_web_shortener-5.2.0.tar.gz", "has_sig": true, "md5_digest": "4f238cf7552cff49e7d9c3551cf73b48", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 23431, "upload_time": "2019-05-06T13:18:59", "url": "https://files.pythonhosted.org/packages/1d/1f/5d8c1ceaa85c898063edaa733b348e2e332b35612af6f3683831141ea695/trytond_web_shortener-5.2.0.tar.gz" } ] }