{"id":42658549,"url":"https://r4fek.github.io/django-cassandra-engine/","last_synced_at":"2026-02-08T21:00:46.762Z","repository":{"id":18766956,"uuid":"21979760","full_name":"r4fek/django-cassandra-engine","owner":"r4fek","description":"Django Cassandra Engine - the Cassandra backend for Django","archived":false,"fork":false,"pushed_at":"2025-06-11T11:50:41.000Z","size":3291,"stargazers_count":371,"open_issues_count":44,"forks_count":84,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-09-27T17:23:16.196Z","etag":null,"topics":["cassandra","django","django-cassandra-engine","python","scylladb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r4fek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":"r4fek","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2014-07-18T12:34:40.000Z","updated_at":"2025-09-14T09:10:26.000Z","dependencies_parsed_at":"2024-05-02T23:03:55.387Z","dependency_job_id":"18b5926c-80f6-4263-9778-6a824a07c3de","html_url":"https://github.com/r4fek/django-cassandra-engine","commit_stats":{"total_commits":281,"total_committers":26,"mean_commits":"10.807692307692308","dds":0.5373665480427046,"last_synced_commit":"ee5d27fa303ca9113ce50dcb1037cf0414fb0de6"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/r4fek/django-cassandra-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4fek%2Fdjango-cassandra-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4fek%2Fdjango-cassandra-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4fek%2Fdjango-cassandra-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4fek%2Fdjango-cassandra-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r4fek","download_url":"https://codeload.github.com/r4fek/django-cassandra-engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r4fek%2Fdjango-cassandra-engine/sbom","scorecard":{"id":757099,"data":{"date":"2025-08-11","repo":{"name":"github.com/r4fek/django-cassandra-engine","commit":"b238f69689cd6c76429d95fb15ce9a620a953492"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":2,"reason":"Found 7/28 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tox.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tox.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/r4fek/django-cassandra-engine/tox.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tox.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/r4fek/django-cassandra-engine/tox.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tox.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/r4fek/django-cassandra-engine/tox.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tox.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/r4fek/django-cassandra-engine/tox.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.11 to python:3.11@sha256:0dab67c838514eef83e6c9d2c0e53e960fc94237635e8996d08caeec98937abc","Warn: pipCommand not pinned by hash: Dockerfile:10","Warn: pipCommand not pinned by hash: .github/workflows/tox.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/tox.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/tox.yml:63","Warn: pipCommand not pinned by hash: .github/workflows/tox.yml:64","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-102 / GHSA-5hgc-2vfp-mqvc","Warn: Project is vulnerable to: PYSEC-2024-68 / GHSA-795c-9xpc-xw6g","Warn: Project is vulnerable to: PYSEC-2025-47 / GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: PYSEC-2024-156 / GHSA-8498-2h75-472j","Warn: Project is vulnerable to: PYSEC-2025-37 / GHSA-8j24-cjrq-gr2m","Warn: Project is vulnerable to: PYSEC-2024-58 / GHSA-9jmf-237g-qf46","Warn: Project is vulnerable to: PYSEC-2024-59 / GHSA-f6f8-9mx6-9mx2","Warn: Project is vulnerable to: PYSEC-2024-67 / GHSA-jh75-99hh-qvx9","Warn: Project is vulnerable to: PYSEC-2024-157 / GHSA-m9g8-fxxm-xg86","Warn: Project is vulnerable to: PYSEC-2025-13 / GHSA-p3fp-8748-vqfq","Warn: Project is vulnerable to: PYSEC-2024-70 / GHSA-pv4p-cwwg-4rph","Warn: Project is vulnerable to: PYSEC-2025-1 / GHSA-qcgg-j2x8-h9g8","Warn: Project is vulnerable to: PYSEC-2024-56 / GHSA-qg2p-9jwr-mmqf","Warn: Project is vulnerable to: PYSEC-2024-69 / GHSA-r836-hh6v-rg5g","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: PYSEC-2024-57 / GHSA-x7q2-wr7g-xqmf","Warn: Project is vulnerable to: GHSA-gw84-84pc-xp82","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-2m57-hf25-phgg","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T21:58:58.756Z","repository_id":18766956,"created_at":"2025-08-22T21:58:58.756Z","updated_at":"2025-08-22T21:58:58.756Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29244597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T19:36:48.828Z","status":"ssl_error","status_checked_at":"2026-02-08T19:27:12.336Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cassandra","django","django-cassandra-engine","python","scylladb"],"created_at":"2026-01-29T09:00:44.721Z","updated_at":"2026-02-08T21:00:46.756Z","avatar_url":"https://github.com/r4fek.png","language":"Python","funding_links":["https://github.com/sponsors/r4fek"],"categories":["Goal"],"sub_categories":[],"readme":"\n# Django Cassandra Engine - the Cassandra backend for Django #\n\nAll tools you need to start your journey with Apache Cassandra and Django Framework!\n\n[![Latest version](https://img.shields.io/pypi/v/django-cassandra-engine.svg \"Latest version\")](https://pypi.python.org/pypi/django-cassandra-engine/)\n![workflow](https://github.com/r4fek/django-cassandra-engine/actions/workflows/tox.yml/badge.svg)\n\nDiscord: https://discord.gg/pxunMGmDNc\n## Features ##\n\n* integration with latest `python-driver` and optionally `dse-driver` from DataStax\n* **full compatibility with ScyllaDB** using `scylla-driver`\n* working `flush`, `migrate`, `sync_cassandra`, `inspectdb` and\n  `dbshell` commands\n* support for creating/destroying test database\n* accepts all `Cqlengine` and `cassandra.cluster.Cluster` connection options\n* automatic connection/disconnection handling\n* works well along with relational databases (as secondary DB)\n* storing sessions in Cassandra\n* working django forms\n* usable admin panel with Cassandra models\n* support DataStax Astra cloud hosted Cassandra\n\n## Sponsors ##\nHelp support ongoing development and maintenance by [sponsoring Django Cassandra Engine](https://github.com/sponsors/r4fek).\n\n### Our Sponsors: ###\n\u003ctable\u003e\u003ctr\u003e\n\u003ctd align=\"center\" width=\"300\" \u003e\u003ca href=\"https://astra.dev/3xPljcu\"\u003e\u003cimg src=\"https://www.datastax.com/sites/default/files/2021-07/astra-negative-square.png\" width=\"90\" height=\"90\" alt=\"Astra DB\" /\u003e\u003cbr /\u003eAstra DB\u003c/a\u003e\u003cbr/\u003eUse Django with DataStax Astra DB - built on Apache Cassandra.\u003c/td\u003e\n\u003ctd align=\"center\" width=\"300\" \u003e\u003ca href=\"https://github.com/NoiSek\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/631328?v=4\" width=\"90\" height=\"90\" alt=\"NoiSek\" /\u003e\u003cbr/\u003eNoiSek\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003c/table\u003e\n\n\n## Installation ##\n\nRecommended installation:\n\n    pip install django-cassandra-engine\n\n## Basic Usage ##\n\n1. Add `django_cassandra_engine` to `INSTALLED_APPS` in your `settings.py` file:\n\n        INSTALLED_APPS = ('django_cassandra_engine',) + INSTALLED_APPS\n\n2. Change `DATABASES` setting:\n\n        DATABASES = {\n            'default': {\n                'ENGINE': 'django_cassandra_engine',\n                'NAME': 'db',\n                'TEST_NAME': 'test_db',\n                'HOST': 'db1.example.com,db2.example.com',\n                'OPTIONS': {\n                    'replication': {\n                        'strategy_class': 'SimpleStrategy',\n                        'replication_factor': 1\n                    }\n                }\n            }\n        }\n\n3. Define some model:\n\n        # myapp/models.py\n\n        import uuid\n        from cassandra.cqlengine import columns\n        from django_cassandra_engine.models import DjangoCassandraModel\n\n        class ExampleModel(DjangoCassandraModel):\n            example_id    = columns.UUID(primary_key=True, default=uuid.uuid4)\n            example_type  = columns.Integer(index=True)\n            created_at    = columns.DateTime()\n            description   = columns.Text(required=False)\n\n4. Run `./manage.py sync_cassandra`\n5. Done!\n\n## ScyllaDB Support ##\n\nDjango Cassandra Engine has **full support for ScyllaDB**. The package uses `scylla-driver`, which is ScyllaDB's optimized fork of the DataStax Python driver.\n\nScyllaDB is a high-performance NoSQL database that is API-compatible with Apache Cassandra. To use Django Cassandra Engine with ScyllaDB, simply configure your database settings to point to your ScyllaDB instance:\n\n        DATABASES = {\n            'default': {\n                'ENGINE': 'django_cassandra_engine',\n                'NAME': 'db',\n                'TEST_NAME': 'test_db',\n                'HOST': 'scylla-host.example.com',\n                'OPTIONS': {\n                    'replication': {\n                        'strategy_class': 'SimpleStrategy',\n                        'replication_factor': 1\n                    }\n                }\n            }\n        }\n\nAll features of Django Cassandra Engine work seamlessly with ScyllaDB, including migrations, model operations, and test database management.\n\n## Connect to Cassandra with a Cloud Config bundle ##\nTo connect to a hosted Cassandra cluster that provides a secure connection bundle (ex. DataStax Astra) change the `DATABASES` setting of your settings.py:\n\n        DATABASES = {\n            'default': {\n                'ENGINE': 'django_cassandra_engine',\n                'NAME': 'keyspace_name',\n                'TEST_NAME': 'table_name',\n                'USER': 'token',\n                'PASSWORD': token_value,\n                'OPTIONS': {\n                    'connection': {\n                        'cloud': {\n                            'secure_connect_bundle': '/path/to/secure/bundle.zip'\n                        },\n                    }\n                }\n            }\n        }\n\n## Documentation ##\n\nThe documentation can be found online [here](http://r4fek.github.io/django-cassandra-engine/).\n\n## License ##\nCopyright (c) 2014-2024, [Rafał Furmański](https://linkedin.com/in/furmanski).\n\nAll rights reserved. Licensed under BSD 2-Clause License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/r4fek.github.io%2Fdjango-cassandra-engine%2F","html_url":"https://awesome.ecosyste.ms/projects/r4fek.github.io%2Fdjango-cassandra-engine%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/r4fek.github.io%2Fdjango-cassandra-engine%2F/lists"}