Get the FREE Ultimate OpenClaw Setup Guide →

address-parser

Scanned
npx machina-cli add skill dkyazzentwatwa/chatgpt-skills/address-parser --openclaw
Files (1)
SKILL.md
696 B

Address Parser

Parse unstructured addresses into structured fields.

Features

  • Component Extraction: Street, city, state, zip, country
  • Format Standardization: Normalize address formats
  • Validation: Verify address components
  • Batch Processing: Parse multiple addresses
  • International Support: Multiple country formats
  • Geocoding Ready: Output for geocoding APIs

CLI Usage

python address_parser.py --input addresses.csv --column address --output parsed.csv

Dependencies

  • pandas>=2.0.0

Source

git clone https://github.com/dkyazzentwatwa/chatgpt-skills/blob/main/address-parser/SKILL.mdView on GitHub

Overview

Address Parser converts free-form addresses into structured fields: street, city, state, zip, and country. It standardizes formats, validates components, supports batch processing and international formats, and yields geocoding-ready output for downstream systems.

How This Skill Works

The tool reads address input, extracts components (street, city, state, zip, country), then standardizes formats and validates each field. It supports batch processing and international address formats, outputting a clean, geocoding-ready dataset, with dependencies on pandas>=2.0.0.

When to Use It

  • Cleaning and standardizing customer shipping addresses for an ecommerce order workflow
  • Preparing addresses for geocoding and mapping integrations
  • Batch-processing addresses from CSV feeds in CRM or marketing systems
  • Standardizing international addresses across multiple country formats
  • Validating address components before generating mailing labels

Quick Start

  1. Step 1: Prepare a CSV file (addresses.csv) with a column named 'address'
  2. Step 2: Run: python address_parser.py --input addresses.csv --column address --output parsed.csv
  3. Step 3: Use parsed.csv for downstream processes like geocoding or CRM ingestion

Best Practices

  • Test with a diverse address sample to ensure international formats are handled
  • Keep an input addresses.csv with a clear column named 'address' or adjust the --column arg
  • Use the output parsed.csv for downstream systems like CRM or geocoding APIs
  • Verify zip/postal codes against country conventions
  • Ensure Python environment includes pandas>=2.0.0 and run in a clean virtual env

Example Use Cases

  • An online retailer cleans a CSV of customer addresses before shipping
  • A real estate firm standardizes property addresses for listings
  • A mapping startup converts international addresses into geocoding-ready data
  • A marketing team deduplicates and validates contact addresses from CSV imports
  • A multinational company maintains consistent addresses across CRM

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers