{"id":21072782,"url":"https://github.com/renskiy/django-bitmask-field","last_synced_at":"2025-05-16T05:32:52.691Z","repository":{"id":23406648,"uuid":"98855873","full_name":"renskiy/django-bitmask-field","owner":"renskiy","description":"BitmaskField implementation for Django","archived":false,"fork":false,"pushed_at":"2023-06-12T17:27:59.000Z","size":29,"stargazers_count":9,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T21:04:16.766Z","etag":null,"topics":["bitmask","django"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renskiy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-31T06:30:54.000Z","updated_at":"2021-10-14T16:35:06.000Z","dependencies_parsed_at":"2024-11-19T18:59:06.509Z","dependency_job_id":"8d90421a-dca9-4723-910d-7a7e0873308c","html_url":"https://github.com/renskiy/django-bitmask-field","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.125,"last_synced_commit":"f39a4ef0c4508e457fe3762b9fbea20725bf6ff2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renskiy%2Fdjango-bitmask-field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renskiy%2Fdjango-bitmask-field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renskiy%2Fdjango-bitmask-field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renskiy%2Fdjango-bitmask-field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renskiy","download_url":"https://codeload.github.com/renskiy/django-bitmask-field/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190396,"owners_count":22029632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitmask","django"],"created_at":"2024-11-19T18:59:02.454Z","updated_at":"2025-05-16T05:32:52.401Z","avatar_url":"https://github.com/renskiy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====================\ndjango-bitmask-field\n====================\n\nBitmaskField implementation for `Django`_ ORM\n\n.. image:: https://app.travis-ci.com/renskiy/django-bitmask-field.svg?branch=master\n    :target: https://app.travis-ci.com/renskiy/django-bitmask-field\n\n.. image:: https://coveralls.io/repos/github/renskiy/django-bitmask-field/badge.svg?branch=master\n    :target: https://coveralls.io/github/renskiy/django-bitmask-field?branch=master\n\n.. _Django: https://www.djangoproject.com\n\nRequirements\n------------\n\n* Python 2.7 or Python 3.4+\n* Django 1.8+\n\nExample\n-------\n\n.. code-block:: python\n\n    from django.db import models\n    from django_bitmask_field import BitmaskField\n\n\n    class MyModel(models.Model):\n\n        bitmask = BitmaskField(\n            choices=[(1, 'bit0'), (2, 'bit1'), (4, 'bit2')],  # available choices\n            default=1 | 4,  # bit0 and bit2 are enabled by default\n        )\n\nInstall\n-------\n\n.. code-block:: bash\n\n    pip install django-bitmask-field\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenskiy%2Fdjango-bitmask-field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenskiy%2Fdjango-bitmask-field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenskiy%2Fdjango-bitmask-field/lists"}