{ "info": { "author": "Andrzej Mateja", "author_email": "mateja.and@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development" ], "description": ".. image:: https://img.shields.io/travis/amateja/django-bitoptions.svg\n :target: https://travis-ci.org/amateja/django-bitoptions\n.. image:: https://img.shields.io/coveralls/amateja/django-bitoptions.svg\n :target: https://coveralls.io/github/amateja/django-bitoptions\n.. image:: https://img.shields.io/pypi/v/django-bitoptions.svg\n :target: https://pypi.python.org/pypi/django-bitoptions\n.. image:: https://img.shields.io/pypi/format/django-bitoptions.svg\n :target: https://pypi.python.org/pypi/django-bitoptions\n.. image:: https://img.shields.io/pypi/pyversions/django-bitoptions.svg\n :target: https://pypi.python.org/pypi/django-bitoptions\n.. image:: https://img.shields.io/pypi/status/django-bitoptions.svg\n :target: https://pypi.python.org/pypi/django-bitoptions\n.. image:: https://img.shields.io/pypi/l/django-bitoptions.svg\n :target: https://pypi.python.org/pypi/django-bitoptions\n\n=================\ndjango-bitoptions\n=================\n\nThis project replaces several related BooleanFields with a single field and\na few eye candy features.\n\ninstallation\n============\n\n::\n\n pip install django-bitoptions\n\nusage\n=====\n\n.. code-block:: python\n\n from django.db import models\n from bitoptions import BitOptions, BitOptionsField\n\n TOPPINGS = BitOptions(\n ('pepperoni', 'mushrooms', 'onions', 'sausage', 'bacon',\n 'black olives', 'green olives', 'green peppers', 'pineapple',\n 'spinach', 'tomatoes', 'broccoli', 'jalapeno peppers', 'anchovies',\n 'chicken', 'beef', 'ham', 'salami')\n )\n CHEESES = BitOptions(('feta', 'parmesan', 'provolone', 'goat',\n 'mozzarella'))\n\n\n class Pizza(models.Model):\n toppings = BitOptionsField(options=TOPPINGS)\n cheeses = BitOptionsField(options=CHEESES)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/amateja/django-bitoptions", "keywords": "django bit options bitoptions", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "django-bitoptions", "package_url": "https://pypi.org/project/django-bitoptions/", "platform": "Posix; MacOS X; Windows", "project_url": "https://pypi.org/project/django-bitoptions/", "project_urls": { "Homepage": "https://github.com/amateja/django-bitoptions" }, "release_url": "https://pypi.org/project/django-bitoptions/1.1.0/", "requires_dist": [ "django (>=1.8)" ], "requires_python": "", "summary": "This project replaces several related BooleanFields with asingle field and a few eye candy features.", "version": "1.1.0" }, "last_serial": 3976309, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "1a90ffc22cd860b5cdfaa8b253f781a8", "sha256": "2ec9973855abfcf845814e8fd46b62ba832d923c0ed2f7bdf8b48199aa5501e7" }, "downloads": -1, "filename": "django_bitoptions-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1a90ffc22cd860b5cdfaa8b253f781a8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7521, "upload_time": "2016-03-15T20:49:25", "url": "https://files.pythonhosted.org/packages/13/e7/480a8096f9cf750d489753d9d1b5b38352f8f31bbbd4187ee2865350cc0a/django_bitoptions-1.0.0-py2.py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "cb8643854b91e0202a4f812ca268faa7", "sha256": "579b7d2804bcf0c5b27cd6b1ab4b60cb23b59811917dda01302cc12e49e32a9c" }, "downloads": -1, "filename": "django_bitoptions-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb8643854b91e0202a4f812ca268faa7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7531, "upload_time": "2016-03-18T11:13:07", "url": "https://files.pythonhosted.org/packages/b0/99/5ba8fa649794bb5e48d68d0cef1eac033f61594261090ed0813dba37bd16/django_bitoptions-1.0.1-py2.py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e808d1388637c0e2d66367b90893cd97", "sha256": "bf2d1893981265773eb1026ba4a11cee73bc1ec2c99e91c507601ec619b17543" }, "downloads": -1, "filename": "django_bitoptions-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e808d1388637c0e2d66367b90893cd97", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5628, "upload_time": "2018-06-19T06:52:42", "url": "https://files.pythonhosted.org/packages/5e/b5/b144462d5cdce44d8c4d0aa5ec70408716e6777ce97d1272050325b93a57/django_bitoptions-1.1.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e808d1388637c0e2d66367b90893cd97", "sha256": "bf2d1893981265773eb1026ba4a11cee73bc1ec2c99e91c507601ec619b17543" }, "downloads": -1, "filename": "django_bitoptions-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e808d1388637c0e2d66367b90893cd97", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5628, "upload_time": "2018-06-19T06:52:42", "url": "https://files.pythonhosted.org/packages/5e/b5/b144462d5cdce44d8c4d0aa5ec70408716e6777ce97d1272050325b93a57/django_bitoptions-1.1.0-py2.py3-none-any.whl" } ] }