random-address
Retrieve real random US addresses, with coordinates, for tests and fixtures
Decision gist · record as of 2026-08-14
Yes. The package solves a genuine testing need with zero dependencies, active maintenance, and a permissive MIT license. It is lightweight to install and use, requires only Python 3.10+, and has no known vulnerabilities. Install it if you need real address data for testing without external API calls.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or newer.
- Low friction installation with no runtime dependencies.
- Actively maintained with a recent release; supports current Python versions (3.10+).
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and proprietary projects with minimal restrictions.
last release 2026-07-13 (32 days) · last repo commit 2026-07-13 · 22 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 92,858 downloads/mo, #13,418 on PyPI
Alternatives
Verify before relying
pip install random-address
from random_address import real_random_address
addr = real_random_address(state='CA')
print(addr['address1'], addr['city'], addr['postal_code'])- Whether the dataset of 3300 addresses is sufficient for large-scale testing scenarios.
- Performance characteristics when filtering by state, city, or postal code with large result sets.
What it is and what it does
Random-address retrieves real US addresses from the OpenAddresses public dataset, which aggregates address data published by government agencies. Each address includes latitude and longitude coordinates that resolve to actual map points without requiring a geocoding API call. The package is built specifically for testing: seeding test fixtures, exercising address form validation, and providing geolocation code with genuine data to work against.
The package offers both single and batch address retrieval with optional filtering by state, city, or postal code. Addresses can be made reproducible via a seed parameter, and the package provides inspection functions to explore what states, cities, and postal codes are available in the dataset. It includes both a Python API and a command-line interface for generating addresses in plain text, JSON, or CSV format.
Use it for
- Seed test fixtures with real addresses to validate address form parsing and storage logic.
- Test geolocation and mapping code with genuine coordinates without hitting external geocoding services.
- Generate CSV files of test addresses for bulk testing address validation across multiple states.
- Reproduce test scenarios consistently by passing a seed to get the same address every time.
- Validate address filtering logic by narrowing results to specific states, cities, or postal codes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a genuine testing need with zero dependencies, active maintenance, and a permissive MIT license. It is lightweight to install and use, requires only Python 3.10+, and has no known vulnerabilities. Install it if you need real address data for testing without external API calls.
Install
random-address on PyPI
Before you install
Low friction installation with no runtime dependencies. Actively maintained with a recent release; supports current Python versions (3.10+).
Requires Python 3.10 or newer.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and proprietary projects with minimal restrictions.
Quickstart
pip install random-address
from random_address import real_random_address
addr = real_random_address(state='CA')
print(addr['address1'], addr['city'], addr['postal_code'])
Verify before relying
- Whether the dataset of 3300 addresses is sufficient for large-scale testing scenarios.
- Performance characteristics when filtering by state, city, or postal code with large result sets.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 32 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 92,858 / month, #13,418 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: TestingTopic :: UtilitiesTyping :: Typed |
Evidence: random_address-2.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fake address data fixtures”
- random-addressGenerates random real US addresses with coordinates from…
- pytest-fakerProvides pytest fixtures that integrate the Faker library for…
- FakerFaker generates realistic fake data—names, addresses, emails, phone…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pytest-rng · google-i18n-address · randmac · usaddress-scourgify · reverse-geocode · reverse_geocoder · usaddress · pytest-randomly · pgeocode · rstr