A package for easily working with US and state metadata
Overall
score
88%
A utility that accepts potentially misspelled US state names from user input and returns the correct state information.
Your task is to build a command-line tool that:
{full_name} ({abbreviation})No match found@generates
def find_state(query: str) -> dict:
"""
Find a US state based on a potentially misspelled name.
Args:
query: The state name to look up (may be misspelled)
Returns:
dict with 'name' and 'abbr' keys if found, None if no match
"""
pass
def main():
"""
Command-line entry point that reads from sys.argv and prints results.
"""
passA Python library for working with US state and territory metadata. Provides state lookup functionality with phonetic matching support.
Install with Tessl CLI
npx tessl i tessl/pypi-usdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10