{"id":25442331,"url":"https://github.com/arvind-4/django-cassandra","last_synced_at":"2025-08-10T13:09:07.130Z","repository":{"id":119414395,"uuid":"483733386","full_name":"arvind-4/Django-Cassandra","owner":"arvind-4","description":"A Base Django project Integrated with Apache Cassandra DB.","archived":false,"fork":false,"pushed_at":"2022-04-24T09:06:35.000Z","size":33,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-26T21:10:26.768Z","etag":null,"topics":["django","django-apache","django-apache-cassandra","django-cassandra","django-cassandra-engine","django-framework","poetry","python-virtual-environment","python3","python39"],"latest_commit_sha":null,"homepage":"","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/arvind-4.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null}},"created_at":"2022-04-20T16:35:56.000Z","updated_at":"2022-05-02T18:39:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac8bd5a0-097a-4ae3-b2f9-7419e68291f3","html_url":"https://github.com/arvind-4/Django-Cassandra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arvind-4/Django-Cassandra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvind-4%2FDjango-Cassandra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvind-4%2FDjango-Cassandra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvind-4%2FDjango-Cassandra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvind-4%2FDjango-Cassandra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arvind-4","download_url":"https://codeload.github.com/arvind-4/Django-Cassandra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arvind-4%2FDjango-Cassandra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269727354,"owners_count":24465441,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["django","django-apache","django-apache-cassandra","django-cassandra","django-cassandra-engine","django-framework","poetry","python-virtual-environment","python3","python39"],"created_at":"2025-02-17T13:18:06.263Z","updated_at":"2025-08-10T13:09:07.115Z","avatar_url":"https://github.com/arvind-4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Django + Cassandra\n\nA Django Project Configured with Open Source Apache Cassandra Database.  \n\nGet You Free Datastax Cassandra DB from [here](https://www.datastax.com/)   \n\n## Features:\n- [x] Can Use Multiple Database.\n- [x] Can use Cassandra Database in Admin Panel.\n- [x] Configured for Production Ready.\n- [x] Encrypt and Decrypt  Cassandra DB for Security.\n- [x] Easy to Configure for Your Need.\n\n\n### Get the Code\n\n#### Clone Repository \n\n```\n$ mkdir django_with_cassandra\n$ cd django_with_cassandra\n$ git clone https://github.com/Arvind-4/Django-Cassandra.git .\n```\n- Create Virtual Environment for Python\n\n```bash\n$ pip install virtualenv\n$ python3.9 -m venv .\n```\n\n- Activate Virtual Environment\n\n```bash\n$ source bin/activate\n```\n\n- Install Dependencies (for virtual environment)\n\n```bash\n$ pip install -r requirements.txt\n```\n\n- Install Dependencies (for Poetry)\n\n```bash\n$ poetry install\n```\n\nCreate a **.env** file in the Root of the Project. Add Your Credentials to **.env** file.\n\n```bash\nASTRA_DB_CLIENT_ID=xxxx\nASTRA_DB_CLIENT_SECRET=ixxxx\nASTRA_DB_TOKEN=xxxx\nASTRA_DB_KEYSPACE=xxxx\n\nENCRYPTION_KEY=xxxx\n\nDJANGO_SUPERUSER_USERNAME=admin\nDJANGO_SUPERUSER_PASSWORD=1234\nDJANGO_SUPERUSER_EMAIL=admin@admin.com\n\nDJANGO_SECRET_KEY=secret-key\nDJANGO_DEBUG=1\nDJANGO_ALLOWED_HOSTS=*\n```\n\n- Make a Folder **ignored** in the Root of the Project.\n- Copy the Connection Bundle to **ignored** folder.\n- Rename th file to **connect.zip** for convenience.\n\n\n- Your Project Structure should be Similar to this\n```bash\n$ ls \n\tbin  \t\t\t\t# Python Virtual Environment Files\n\tcommands  \t\t\t# Shell Commands\n\tignored  \t\t\t# Cassandra DB\n\tlib  \t\t\t\t# Python Virtual Environment Files\n\tpoetry.lock  \t\t# Poetry lock file\n\tpyproject.toml  \t# Poetry config file\n\tpyvenv.cfg  \t\t# Config Files\n\trequirements.txt  \t# Python Requirements for Project\n\truntime.txt  \t\t# Python Version\n\tweb \t\t\t\t# Python Backend Code\n```\n\n- Run Server \n```bash\n$ cd web\n$ uvicorn backend.asgi.dev:application --reload\n```\n\n- To run Commands from **commands** directory\n```bash\n$ chmod +x commands/*.sh\n$ commands/run.prod.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvind-4%2Fdjango-cassandra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farvind-4%2Fdjango-cassandra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvind-4%2Fdjango-cassandra/lists"}