$npx skillfedfor your agent

pypostalcode

Radius searches on Canadian postal codes, location data

With conditionsPyPI DatabaseReleased Jun 2021196.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pypostalcode-0.4.1-py3-none-any.whl
v0.4.1 · released 2021-06-19

Yes, if you need Canadian postal code lookups and can accept that the data is frozen as of June 2021. The package is stable, has no dependencies, and installs easily. However, if you require current postal code data or active maintenance, you should verify the database currency against Canada Post's current FSA assignments before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is straightforward with no runtime dependencies.
  • The package is abandoned as of June 2021 with no recent maintenance, so expect no updates or bug fixes.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.

last release 2021-06-19 (1882 days) · last repo commit 2021-06-19 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 196,048 downloads/mo, #9,799 on PyPI

Verify before relying

pip install pypostalcode

from pypostalcode import PostalCodeDatabase
pcdb = PostalCodeDatabase()
location = pcdb['V5K']
print(location.city, location.province, location.latitude, location.longitude)
  • Whether the postal code database is current or reflects changes to Canadian postal codes since the last 2021 release.
  • Compatibility with modern Python versions, as the package specifies no explicit Python version requirement.
Same gist for agents: .md · .json

What it is and what it does

pypostalcode is a Canadian postal code database and lookup tool. It provides fast lookups of Forward Sortation Area (FSA) codes to retrieve associated city, province, geographic coordinates, and timezone data. The package also supports radius-based searches to find all postal codes within a specified distance in kilometers from a given FSA code.

The package has no runtime dependencies and installs cleanly as a pure Python wheel. It was last updated in June 2021 and is no longer actively maintained, so the underlying postal code data may not reflect recent changes to Canadian postal code assignments or geographic boundaries.

Use it for

  • Look up city and province information for a Canadian postal code in an application or data pipeline.
  • Find all postal codes within a radius to support location-based filtering or geographic queries.
  • Retrieve geographic coordinates and timezone for a postal code to support mapping or scheduling features.
  • Validate or enrich Canadian address data with postal code lookups in batch processing.
  • Support geolocation features in a web or mobile application serving Canadian users.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Canadian postal code lookups and can accept that the data is frozen as of June 2021.

The package is stable, has no dependencies, and installs easily. However, if you require current postal code data or active maintenance, you should verify the database currency against Canada Post's current FSA assignments before relying on it in production.

Install

pypostalcode on PyPI

Before you install

Installation is straightforward with no runtime dependencies. The package is abandoned as of June 2021 with no recent maintenance, so expect no updates or bug fixes.

License in practice

MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install pypostalcode

from pypostalcode import PostalCodeDatabase
pcdb = PostalCodeDatabase()
location = pcdb['V5K']
print(location.city, location.province, location.latitude, location.longitude)

Verify before relying

  • Whether the postal code database is current or reflects changes to Canadian postal codes since the last 2021 release.
  • Compatibility with modern Python versions, as the package specifies no explicit Python version requirement.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,882 days since the last release
Last repo commit
First released
Downloads196,048 / month, #9,799 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pypostalcode-0.4.1-py3-none-any.whl

Tags

Capabilities
canadian postal code lookuppostal code distance searchcanadian city by postal codepostal code radius searchcanada postal code databasepostal code geocodingcanadian fsa lookup
Topics
geolocationcanadian-datapostal-codes
PyPI keywords
Canadapostalcodedistancegeonames

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 › “canadian postal code lookup”

  • pypostalcodeLooks up Canadian postal codes to retrieve city, province, geographic…
  • pyapPyap detects and parses postal addresses from unstructured text,…
  • pgeocodepgeocode queries postal codes to retrieve GPS coordinates, place…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also pgeocode · pyzipcode · reverse-geocode · pyap2 · stats-can · uszipcode · pyap · pygeohash · zipcodes · postal