{"id":31908676,"url":"https://github.com/argmaxinc/device-knowledge-base","last_synced_at":"2025-10-13T15:51:25.424Z","repository":{"id":314005409,"uuid":"1001279034","full_name":"argmaxinc/device-knowledge-base","owner":"argmaxinc","description":"Apple and Android Device Knowledge Base for On-device Inference Deployment Configurations","archived":false,"fork":false,"pushed_at":"2025-09-20T17:13:55.000Z","size":42,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T19:13:18.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://argmaxinc.com","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/argmaxinc.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-13T05:49:47.000Z","updated_at":"2025-09-20T17:13:59.000Z","dependencies_parsed_at":"2025-09-10T02:49:33.589Z","dependency_job_id":"b37d2c68-d636-4828-87b4-1ba71905e176","html_url":"https://github.com/argmaxinc/device-knowledge-base","commit_stats":null,"previous_names":["argmaxinc/device-knowledge-base"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/argmaxinc/device-knowledge-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fdevice-knowledge-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fdevice-knowledge-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fdevice-knowledge-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fdevice-knowledge-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/argmaxinc","download_url":"https://codeload.github.com/argmaxinc/device-knowledge-base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxinc%2Fdevice-knowledge-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015938,"owners_count":26085777,"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-10-13T02:00:06.723Z","response_time":61,"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":"2025-10-13T15:51:19.504Z","updated_at":"2025-10-13T15:51:25.417Z","avatar_url":"https://github.com/argmaxinc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apple Device Knowledge Base\n\nThis project provides standalone scripts to generate a comprehensive JSON database of Apple device specifications (iPhone and iPad models) by combining data from public sources.\n\n## Features\n\n- Fetches device specs (chip, RAM, SKU) from TheAppleWiki and local Xcode resources\n- Merges and standardizes the data into JSON files\n- No dependencies on other scripts or files—just run the scripts you need\n\n## Usage\n\n1. **Install dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n2. **Run the scripts:**\n   ```bash\n   # For iPhone data\n   python src/generate_apple_device_specs.py\n   \n   # For iPad data\n   python src/generate_ipad_device_specs.py\n   ```\n\n   This will create or update the respective JSON files in the `apple/` directory.\n\n## Requirements\n\n- Python 3.7+\n- pandas\n- requests\n\n## Output\n\n- `apple/iPhone.json`: Contains structured iPhone device data\n- `apple/iPad.json`: Contains structured iPad device data\n\n## Notes\n\n- The scripts are fully standalone. You do not need any other files to generate the data.\n- Each script focuses on a specific device type (iPhone or iPad).\n- The data is filtered to include only recent devices:\n  - iPhones: iPhone XR/XS and newer models\n  - iPads: Models with A12 chip or newer\n\n## Data Sources\n\n- [The Apple Wiki](https://theapplewiki.com/) for device specifications\n- Xcode (for device SKU information)\n\n## Data Format\n\n### iPhone Data Format\n```json\n{\n  \"date_generated\": \"YYYY-MM-DDTHH:MM:SS.SSSSSS\",\n  \"xcode_version\": \"Version X.Y.Z (XXXXX)\",\n  \"total_menu\": {\n    \"device_name\": {\n      \"sku\": \"device_sku\",\n      \"chip\": \"chip_name\",\n      \"ram\": \"X GB\"\n    }\n  }\n}\n```\n\n### iPad Data Format\n```json\n{\n  \"date_generated\": \"YYYY-MM-DDTHH:MM:SS.SSSSSS\",\n  \"xcode_version\": \"Version X.Y.Z (XXXXX)\",\n  \"total_menu\": {\n    \"device_name\": {\n      \"sku\": [\"sku1\", \"sku2\"],  // List of SKUs for different variants\n      \"chip\": \"chip_name\",\n      \"ram\": \"X GB\"\n    }\n  }\n}\n```\n\n## Repository Structure\n\n```\n.\n├── README.md\n├── LICENSE\n├── requirements.txt\n├── android/          # Future support for Android devices\n├── apple/\n│   ├── iPhone.json  # iPhone specifications\n│   └── iPad.json    # iPad specifications\n└── src/\n    ├── generate_apple_device_specs.py  # iPhone data generator\n    └── generate_ipad_device_specs.py   # iPad data generator\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [The Apple Wiki](https://theapplewiki.com/) for device specifications\n- Xcode for device SKU information ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargmaxinc%2Fdevice-knowledge-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargmaxinc%2Fdevice-knowledge-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargmaxinc%2Fdevice-knowledge-base/lists"}