{"id":15056683,"url":"https://github.com/daniloarodrigues/apollo-orm","last_synced_at":"2026-02-09T01:31:43.980Z","repository":{"id":224972210,"uuid":"764732614","full_name":"daniloarodrigues/apollo-orm","owner":"daniloarodrigues","description":"This is the Apollo ORM library for ScyllaDB/Cassandra, a Python library that provides an Object-Relational Mapping (ORM) interface to ScyllaDB.","archived":false,"fork":false,"pushed_at":"2024-05-10T21:02:18.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T14:52:28.660Z","etag":null,"topics":["cassandra","cassandra-database","cassandra-driver","scylla","scylladb","scylladb-driver"],"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/daniloarodrigues.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}},"created_at":"2024-02-28T16:02:57.000Z","updated_at":"2024-05-10T21:02:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0a3f1f8-201b-45e5-aadb-db83257d3cf1","html_url":"https://github.com/daniloarodrigues/apollo-orm","commit_stats":{"total_commits":77,"total_committers":3,"mean_commits":"25.666666666666668","dds":"0.18181818181818177","last_synced_commit":"4ffe35ebea7a2dc6665bfcdff129d4b8e7fba9c5"},"previous_names":["daniloarodrigues/apollo-orm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daniloarodrigues/apollo-orm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloarodrigues%2Fapollo-orm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloarodrigues%2Fapollo-orm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloarodrigues%2Fapollo-orm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloarodrigues%2Fapollo-orm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniloarodrigues","download_url":"https://codeload.github.com/daniloarodrigues/apollo-orm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloarodrigues%2Fapollo-orm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29252978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T22:49:53.206Z","status":"ssl_error","status_checked_at":"2026-02-08T22:49:51.384Z","response_time":57,"last_error":"SSL_read: 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","cassandra-database","cassandra-driver","scylla","scylladb","scylladb-driver"],"created_at":"2024-09-24T21:55:05.792Z","updated_at":"2026-02-09T01:31:43.966Z","avatar_url":"https://github.com/daniloarodrigues.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apollo ORM for Cassandra/Scylla\n\nThis is the Apollo ORM library for Cassandra/Scylla, a Python library that provides an Object-Relational Mapping (ORM) interface to ScyllaDB.\n\n## Installation\n\nYou can install the Apollo ORM library via pip:\n\n```bash\npip install apollo-orm\n```\n\n## Usage\n\nHere's a basic example of how to use the Apollo ORM library:\n\n```python\nfrom apollo_orm.orm.core import ORMInstance\nfrom apollo_orm.domains.models.entities.connection_config.entity import ConnectionConfig\nfrom apollo_orm.orm.credentials.credential_service import CredentialService\n\ndata = {\n    \"id\": \"1\",\n    \"name\": \"John Doe\",\n    \"age\": 30\n}\n\n# Initialize the Credentials\ncredentials = CredentialService(\n    [\"localhost1\", \"localhost2\", \"localhost3\"],\n    9042,\n    \"user\",\n    \"password\",\n    \"keyspace_name\"\n).credential()\n\n# Initialize the ConnectionConfig\nconnection_config = ConnectionConfig(\n    credentials,\n    [\"table_name1\", \"table_name2\"])\n\n# Initialize the ORMInstance\norm_instance = ORMInstance(connection_config)\n\n# Insert data into a table\norm_instance.insert(data, \"table_name1\")\n\n# Select data from a table\nresults = orm_instance.select(data, \"table_name1\")\n\n# Print the results\nfor result in results:\n    print(result)\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue if you encounter any problems, or a pull request if you have improvements to suggest.\n\n## License\n\nThis project is licensed under the MIT License.\n```\nMIT License\n\nCopyright (c) 2023 Danilo Rodrigues\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniloarodrigues%2Fapollo-orm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniloarodrigues%2Fapollo-orm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniloarodrigues%2Fapollo-orm/lists"}