How to use the zipcodes.similar_to function in zipcodes

To help you get started, we’ve selected a few zipcodes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github seanpianka / Zipcodes / tests / __init__.py View on Github external
                    lambda: zipcodes.similar_to("1005"),
                    lambda: [
github seanpianka / Zipcodes / tests / __init__.py View on Github external
                    lambda: zipcodes.similar_to("10001"),
                    lambda: [
github seanpianka / Zipcodes / tests / __init__.py View on Github external
                    lambda: zipcodes.similar_to("1018"),
                    lambda: [
github seanpianka / Zipcodes / tests / __init__.py View on Github external
lambda: len(
                    zipcodes.similar_to(
                        "2", zips=zipcodes.filter_by(active=True, city="Windsor")
                    )
                )
                == 3,
            ],

zipcodes

Query U.S. state zipcodes without SQLite.

MIT
Latest version published 3 years ago

Package Health Score

52 / 100
Full package analysis

Similar packages