{"id":22001684,"url":"https://github.com/imigueldiaz/cameras_db","last_synced_at":"2025-09-23T08:21:47.174Z","repository":{"id":192739440,"uuid":"686895683","full_name":"imigueldiaz/cameras_db","owner":"imigueldiaz","description":"A Python package offering an SQLite3 database with detailed specifications for around 3,500 DSLR and mirrorless cameras. Comes with a Camera class and a CamerasController for effortless search capabilities. Easily extendable through CSV data imports.","archived":false,"fork":false,"pushed_at":"2024-04-20T16:51:57.000Z","size":530,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-14T00:09:21.734Z","etag":null,"topics":["camera-specification","data-management","dslr-camera","mirrorless","pip-package","python","search-api","sqlite-database","sqlite3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imigueldiaz.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":"2023-09-04T07:15:03.000Z","updated_at":"2025-01-02T19:36:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"d751e23d-dc02-444c-a585-8441a6b858c4","html_url":"https://github.com/imigueldiaz/cameras_db","commit_stats":null,"previous_names":["imigueldiaz/cameras_db"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/imigueldiaz/cameras_db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imigueldiaz%2Fcameras_db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imigueldiaz%2Fcameras_db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imigueldiaz%2Fcameras_db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imigueldiaz%2Fcameras_db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imigueldiaz","download_url":"https://codeload.github.com/imigueldiaz/cameras_db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imigueldiaz%2Fcameras_db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276539609,"owners_count":25660266,"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-09-23T02:00:09.130Z","response_time":73,"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":["camera-specification","data-management","dslr-camera","mirrorless","pip-package","python","search-api","sqlite-database","sqlite3"],"created_at":"2024-11-29T23:14:40.740Z","updated_at":"2025-09-23T08:21:47.122Z","avatar_url":"https://github.com/imigueldiaz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# cameras-db\n\n## About\n\n`cameras-db` is a Python package that offers a powerful SQLite3 database stocked with technical specifications for roughly 3,500 DSLR and mirrorless cameras. Out of the box, you get a `Camera` class and a `CamerasController` for effortless, search-only database interaction. Extend your data collection effortlessly with CSV imports.\n\n## Topics\n\n`python` `pip-package` `sqlite3` `dslr` `mirrorless-cameras` `camera-specifications` `search-api` `csv-import` `data-management`\n\n---\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Extending the Database](#extending-the-database)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## Installation\n\nTo install `cameras-db`, run the following command:\n\n```bash\npip install cameras-db\n```\n\n## Usage\n\nInitializing the `CamerasController` and searching is straightforward:\n\n```python\nfrom cameras_db.controllers import CamerasController\n\n# Initialize the controller\ncontroller = CamerasController()\n\n# Search by brand and model\ncamera = controller.get_by_fields_like_and({\"brand\": \"Canon\", \"model\": \"EOS 5D\"})\n```\nThe controller search API is a bit rough still, but I plan to improve it to be more human-like. \n\n---\n\n## Extending the Database\n\nHave a CSV file with fresh camera models and specs? Extend the database pasting it at the `setup` folder and executing from the command line:\n\n```shell\npython ./setup_db.py\n```\nA `README.md` file is provided within the folder with more precise instructions.\n\n---\n\n## Contributing\n\nAll contributions are welcome. To get started, fork this repository and submit your pull request.\n\n---\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0. For full license information, please see the `LICENSE` file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimigueldiaz%2Fcameras_db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimigueldiaz%2Fcameras_db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimigueldiaz%2Fcameras_db/lists"}