{ "info": { "author": "Ahmed Alwerdani", "author_email": "alwerdani@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "# Django Ads-txt\n\n[![PYPI](https://img.shields.io/pypi/v/django-ads-txt.svg)](https://pypi.python.org/pypi/django-ads-txt)\n[![Build Status](https://api.travis-ci.org/flyingelephantlab/django-ads-txt.svg?branch=master)](https://travis-ci.org/flyingelephantlab/django-ads-txt)\n[![pep8](https://img.shields.io/badge/code%20style-pep8-green.svg)](https://www.python.org/dev/peps/pep-0008/)\n[![Python](https://img.shields.io/pypi/pyversions/django-ads-txt.svg)](https://pypi.python.org/pypi/django-ads-txt)\n\nThis is a basic Django application to manage Authorized Digital Sellers (ads.txt) file based on [iabtech lab specification](https://iabtechlab.com/ads-txt/)\n\n\n### Requirements\nPython 2.7, 3.5 or PyPy.\n\nDjango 1.9 or higher.\n\n## Installation\n\nUse your favorite Python installer to install it from PyPI:\n\n```bash\npip install django-ads-txt\n```\n\nOr get the source from the application site at:\n\n```bash\nhttps://github.com/flyingelephantlab/django-ads-txt/\n```\n\n\n1. Add ``'ads_txt'`` to your [INSTALLED_APPS](https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps) setting.\n\n2. Run the ``migrate`` management command\n\n3. To activate ads.txt generation on your Django site, add this line to your [URLconf](https://docs.djangoproject.com/en/dev/topics/http/urls/):\n\n```python\nurl(r'^ads\\.txt', include('ads_txt.urls')),\n```\n4. Add the domains you need to appear from admin panel\n\n### Rules\nThe instructions are encoded as a formatted plain text object, described here. A complete\ndescription of the syntax of this format:\n\n , , , \n\n\n| Field | Description | \n| ------------------------|:-------------------------------------------------------------------------------------:|\n| Domain (Required) | Domain name of the advertising system |\n| Account ID (Required) | The identifier associated with the seller or reseller account |\n| Account type (Required) | Type of Account/Relationship. It has two values `DIRECT` and `RESELLER` |\n| Authority ID (Optional) | An ID that uniquely identifies the advertising system within a certification authority |\n\n### Examples:\n```bash\nexample.com, 108933, DIRECT, 7857hf1d2fr6d8b34\nopexample.com, [538220672 - CC], RESELLER, 6a69ec356744c6\nopexample.com, [537120668 - CC], RESELLER, 6a69ec356744c6\nex.com, 7118, RESELLER\n```\n\n### Caching\n\nYou can optionally cache the generation of the ads.txt. Add or change the ADSTXT_CACHE_TIMEOUT setting with a value in seconds in your Django settings file:\n```bash\nADSTXT_CACHE_TIMEOUT = 60*60*24\n```\n\n### Bugs and feature requests\nAs always your mileage may vary, so please don\u2019t hesitate to send feature requests and bug reports:\n\nhttps://github.com/flyingelephantlab/django-ads-txt/issues", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/flyingelephantlab/django-ads-txt", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-ads-txt", "package_url": "https://pypi.org/project/django-ads-txt/", "platform": "", "project_url": "https://pypi.org/project/django-ads-txt/", "project_urls": { "Homepage": "https://github.com/flyingelephantlab/django-ads-txt" }, "release_url": "https://pypi.org/project/django-ads-txt/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A simple Django app to manage ads.txt file from admin panel", "version": "0.1.2" }, "last_serial": 5560353, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4cf2bcf56c59120a71b5d18b320233c5", "sha256": "9630e3f3bf4235330b051080ae54a45abd4e2abc45284fdb974341cc6cc443cc" }, "downloads": -1, "filename": "django-ads-txt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4cf2bcf56c59120a71b5d18b320233c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4163, "upload_time": "2018-01-09T09:22:10", "url": "https://files.pythonhosted.org/packages/d1/a8/14add87dbd143db6d02a417e2070062f98782ae36ed505a51574934a181b/django-ads-txt-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cb06563346a8f5160d63f8e2ebe226c6", "sha256": "64178b734a56352db22c9f9908b581a9d0d6ef859adf65a348b954a5a894a639" }, "downloads": -1, "filename": "django-ads-txt-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cb06563346a8f5160d63f8e2ebe226c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5377, "upload_time": "2019-07-20T11:04:23", "url": "https://files.pythonhosted.org/packages/a2/32/9c9f4be8135a8e2e255fcfd8aced15240ab6c8f2351bea272929f2ac368c/django-ads-txt-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cb06563346a8f5160d63f8e2ebe226c6", "sha256": "64178b734a56352db22c9f9908b581a9d0d6ef859adf65a348b954a5a894a639" }, "downloads": -1, "filename": "django-ads-txt-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cb06563346a8f5160d63f8e2ebe226c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5377, "upload_time": "2019-07-20T11:04:23", "url": "https://files.pythonhosted.org/packages/a2/32/9c9f4be8135a8e2e255fcfd8aced15240ab6c8f2351bea272929f2ac368c/django-ads-txt-0.1.2.tar.gz" } ] }