{"id":22432674,"url":"https://github.com/1999azzar/firebase-and-sqlite-integration-for-document-management","last_synced_at":"2025-08-31T16:38:43.549Z","repository":{"id":248722842,"uuid":"829517057","full_name":"1999AZZAR/Firebase-and-SQLite-Integration-for-Document-Management","owner":"1999AZZAR","description":"This Python project demonstrates how to integrate Firebase Firestore with a local SQLite database for document management. It includes functions to create, read, update, and delete documents both in Firestore and locally in SQLite, ensuring synchronization and local caching for offline support.","archived":false,"fork":false,"pushed_at":"2024-07-24T14:21:35.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T07:48:22.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1999AZZAR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-16T15:32:23.000Z","updated_at":"2024-07-24T14:21:39.000Z","dependencies_parsed_at":"2024-07-24T16:44:45.331Z","dependency_job_id":null,"html_url":"https://github.com/1999AZZAR/Firebase-and-SQLite-Integration-for-Document-Management","commit_stats":null,"previous_names":["1999azzar/firebase-and-sqlite-integration-for-document-management"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1999AZZAR/Firebase-and-SQLite-Integration-for-Document-Management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2FFirebase-and-SQLite-Integration-for-Document-Management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2FFirebase-and-SQLite-Integration-for-Document-Management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2FFirebase-and-SQLite-Integration-for-Document-Management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2FFirebase-and-SQLite-Integration-for-Document-Management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1999AZZAR","download_url":"https://codeload.github.com/1999AZZAR/Firebase-and-SQLite-Integration-for-Document-Management/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999AZZAR%2FFirebase-and-SQLite-Integration-for-Document-Management/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273010871,"owners_count":25030367,"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-31T02:00:09.071Z","response_time":79,"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":[],"created_at":"2024-12-05T22:12:31.530Z","updated_at":"2025-08-31T16:38:43.517Z","avatar_url":"https://github.com/1999AZZAR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase CRUD Operations in Python\n\nThis repository contains Python scripts to perform CRUD (Create, Read, Update, Delete) operations on a Firebase Firestore database using the `firebase-admin` SDK, as well as to convert Excel files to SQLite databases and upload SQLite data to Firebase.\n\n## Prerequisites\n\n- Python 3.x\n- Firebase project with Firestore enabled\n- Firebase Admin SDK service account key\n\n## Setup\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/1999AZZAR/Firebase-and-SQLite-Integration-for-Document-Management.git\n    cd Firebase-and-SQLite-Integration-for-Document-Management\n    ```\n\n2. Install the required Python packages listed in `requirements.txt`:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Place your Firebase Admin SDK service account key JSON file in the project directory. You will be prompted to enter the path to this file when running the scripts.\n    ```python\n    cred = credentials.Certificate('path/to/your/serviceAccountKey.json')\n    ```\n\n## Usage\n\nThe `firebase_crud.py` script provides a menu-driven interface to perform various operations on a Firestore collection, including CRUD operations, clearing the screen, nuking the Firebase database, converting Excel files to SQLite databases, and uploading SQLite data to Firebase.\n\n### Menu Options\n\n1. Create a document\n2. Create multiple documents\n3. Read a document\n4. Read multiple documents\n5. Update a document\n6. Delete a document\n7. Clear screen\n8. Nuke Firebase Database\n9. Convert Excel to SQLite\n10. Upload SQLite to Firebase\n11. Exit\n\n\n## License\n\nThis project is licensed under the MIT License.\n### Additional Scripts\n\n- `basic_crud.py`: Contains basic CRUD operations and a main function to demonstrate these operations.\n- `firebase_cleanup.py`: Contains functions to clean up the Firebase database.\n- `xlsx_to_sqlite_firebase.py`: Contains functions to convert Excel files to SQLite databases and upload SQLite data to Firebase.\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999azzar%2Ffirebase-and-sqlite-integration-for-document-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1999azzar%2Ffirebase-and-sqlite-integration-for-document-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999azzar%2Ffirebase-and-sqlite-integration-for-document-management/lists"}