{"id":15718439,"url":"https://github.com/justintime50/dad-python","last_synced_at":"2026-01-24T11:01:18.228Z","repository":{"id":62566301,"uuid":"405217508","full_name":"Justintime50/dad-python","owner":"Justintime50","description":"Dummy Address Data (DAD) - Retrieve real addresses from all around the world. (Python Client Library)","archived":false,"fork":false,"pushed_at":"2024-10-15T16:51:05.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T09:06:12.873Z","etag":null,"topics":["address","addresses","country","dad","data","dummy","python","real","state","world"],"latest_commit_sha":null,"homepage":"https://github.com/justintime50/dad","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/Justintime50.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-09-10T21:31:00.000Z","updated_at":"2024-10-15T16:51:09.000Z","dependencies_parsed_at":"2022-11-03T17:47:47.489Z","dependency_job_id":"3cb8a94d-a72e-4289-9200-6854a9a93f03","html_url":"https://github.com/Justintime50/dad-python","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"bb6f68baece2f1294058eab6929165f873175ba5"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":"Justintime50/python-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fdad-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fdad-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fdad-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fdad-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Justintime50","download_url":"https://codeload.github.com/Justintime50/dad-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253858936,"owners_count":21975020,"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","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":["address","addresses","country","dad","data","dummy","python","real","state","world"],"created_at":"2024-10-03T21:53:04.098Z","updated_at":"2026-01-24T11:01:18.221Z","avatar_url":"https://github.com/Justintime50.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Dummy Address Data (DAD) Python Library\n\nDummy Address Data (DAD) - Retrieve real addresses from all around the world. (Python Client Library)\n\n[![Build Status](https://github.com/Justintime50/dad-python/workflows/build/badge.svg)](https://github.com/Justintime50/dad-python/actions)\n[![Coverage Status](https://img.shields.io/codecov/c/github/justintime50/dad-python)](https://app.codecov.io/github/Justintime50/dad-python)\n[![PyPi](https://img.shields.io/pypi/v/dad_tool)](https://pypi.org/project/dad_tool)\n[![Licence](https://img.shields.io/github/license/Justintime50/dad-python)](LICENSE)\n\n\u003cimg src=\"https://raw.githubusercontent.com/justintime50/assets/main/src/dad/showcase.png\" alt=\"Showcase\"\u003e\n\n\u003c/div\u003e\n\nThe DAD Python library is the perfect companion to quickly bootstrap address data in your application. DAD provides real addresses from all over the world with a consistent data structure so you can spend less time looking up addresses and address rules and more time coding.\n\n## Install\n\n```bash\n# Install tool\npip3 install dad_tool\n\n# Install locally\njust install\n```\n\n## Address Data\n\nAddress objects will look like the [sample below](#sample-address-object). The data type of each field on an address object is a `string`. A list of addresses is an `array` of `json` objects.\n\nAttempts have been made to verify addresses and ensure that street1, city, state, and zip are present on all records. Some lists may be shorter than others to avoid complexity or because of a lack of accurate data.\n\nThe following files can be found in the `data` directory.\n\n## Australia\n\n| Locations       | Tag   |\n| --------------- | ----- |\n| Victoria Area   | AU_VT |\n\n## Canada\n\n| Locations       | Tag   |\n| --------------- | ----- |\n| BC Area         | CA_BC |\n\n## China\n\n| Locations                 | Tag   |\n| ------------------------- | ----- |\n| Beijing Area              | CN_BJ |\n| Hong Kong - Wan Chai Area | CN_HK |\n\n## Europe\n\n| Locations                     | Tag   |\n| ----------------------------- | ----- |\n| Germany - Wesel Area          | EU_DE |\n| Spain - Countrywide           | EU_ES |\n| France - Paris Area           | EU_FR |\n| United Kingdom - England Area | EU_UK |\n\n## Mexico\n\n| Locations                     | Tag   |\n| ----------------------------- | ----- |\n| Mexico - Mexico City Area     | MX_MX |\n\n## United States\n\n| Locations                 | Tag   |\n| ------------------------- | ----- |\n| Arizona - Gilbert Area    | US_AZ |\n| California - Anaheim Area | US_CA |\n| Idaho - Boise Area        | US_ID |\n| Kansas - Barton County    | US_KS |\n| Nevada - Lincoln Area     | US_NV |\n| New York - Rochester Area | US_NY |\n| Oregon - Portland Area    | US_OR |\n| Texas - Austin Area       | US_TX |\n| Utah - Provo Area         | US_UT |\n| Washington - Spokane Area | US_WA |\n\n## Usage\n\n```python\nimport dad_tool\n\n# Grab a random UT address\naddress = dad_tool.random_address('US_UT')\nprint(address)\n\n# Alternatively, grab the entire UT list\naddresses = dad_tool.list_addresses('US_UT')\nprint(addresses)\n\n# Get the list of all ISO country codes\niso_data = dad_tool.list_iso_country_codes()\nprint(iso_data)\n```\n\n### Sample Address Object\n\nA sample address object will look like the following:\n\n```json\n{\n    \"street1\": \"231 N 1200 W\",\n    \"street2\": \"UNIT 104\",\n    \"city\": \"OREM\",\n    \"state\": \"UT\",\n    \"zip\": \"84057\",\n    \"country\": \"US\"\n}\n```\n\n### Sample ISO Country Object\n\n```json\n{\n    \"country\": \"United States of America\",\n    \"alpha_2_code\": \"US\",\n    \"alpha_3_code\": \"USA\"\n}\n```\n\n## Development\n\n```bash\n# To setup the `DAD` git submodule\njust setup-dad\n\n# Get a comprehensive list of development tools\njust --list\n```\n\n## Attribution\n\n- Addresses provided by [DAD](https://github.com/justintime50/dad).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustintime50%2Fdad-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustintime50%2Fdad-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustintime50%2Fdad-python/lists"}