Language clients for the Greek Postal Code DB. Each package embeds the same read-only library.sqlite asset and is versioned and published independently.
- 1328 postal codes with hierarchy information (region, municipality, community, etc)
- partial street database (which street and numbers belong to each postal code)
- official government codes from Kallikratis (WIP)
- sqlite database included for offline use
- list / get / search / validateAddress functions
typescript: Node.js and Bun client, published as@rallisf1/greek-postal-code-db.php: PHP 8.1+ Composer client, published from this repository root asrallisf1/greek-postal-code-db.go: Go client, imported asgithub.com/rallisf1/greek-postal-code-db/go.python: Python client; install from this monorepo with pip's#subdirectory=pythonURL.rust: Rust crate; use Cargo's Gitsubdirectory = "rust"support until crates.io publication.csharp: .NET 10 client, packaged for NuGet asGreekPostalCodeDb.java: Java 21 client, packaged for Maven Central asio.github.rallisf1:greek-postal-code-db.dart: native Dart client, published asgreek_postal_code_db.flutter: Flutter asset-bundle adapter, published asgreek_postal_code_db_flutter.swift: native Swift Package Manager client for Linux and Apple platforms.models: private TypeScript types used internally; it is not published.demo: internal Cloudflare Pages/D1 demo application; it is not published.
These packages have been almost entirely AI generated. Bug fixes through PRs are welcome. For new features open an issue first, as it has to be implemented in all clients.
PRs for ./library.sqlite are welcome as long as they are accompanied with the changes in SQL format.
- ELTA street search form
- OpencartGreece Post Code API
- Central Association of chambers of commerce in Greece (GEMI)
- data.gov.gr
- locationiq.com
0 comments
log in to comment.