zipcodes 1.2.0__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {zipcodes-1.2.0/zipcodes.egg-info → zipcodes-1.3.0}/PKG-INFO +10 -14
- {zipcodes-1.2.0 → zipcodes-1.3.0}/README.md +3 -3
- zipcodes-1.3.0/VERSION.txt +1 -0
- zipcodes-1.3.0/pyproject.toml +42 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/setup.cfg +4 -0
- zipcodes-1.3.0/zipcodes/zips.json.bz2 +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0/zipcodes.egg-info}/PKG-INFO +10 -14
- {zipcodes-1.2.0 → zipcodes-1.3.0}/zipcodes.egg-info/SOURCES.txt +1 -1
- {zipcodes-1.2.0 → zipcodes-1.3.0}/zipcodes.egg-info/top_level.txt +1 -0
- zipcodes-1.2.0/VERSION.txt +0 -1
- zipcodes-1.2.0/setup.py +0 -54
- zipcodes-1.2.0/zipcodes/zips.json.bz2 +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/LICENSE.txt +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/MANIFEST.in +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/zipcodes/__init__.py +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/zipcodes/__pycache__/__init__.cpython-37.pyc +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/zipcodes/__pycache__/__init__.cpython-39.pyc +0 -0
- {zipcodes-1.2.0 → zipcodes-1.3.0}/zipcodes.egg-info/dependency_links.txt +0 -0
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: zipcodes
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: Query U.S. state zipcodes without SQLite.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Keywords: zipcode zip code us state query filter validate sqlite
|
|
10
|
-
Platform: UNKNOWN
|
|
5
|
+
Author-email: Sean Pianka <pianka@eml.cc>
|
|
6
|
+
Project-URL: Homepage, https://github.com/seanpianka/zipcodes
|
|
7
|
+
Project-URL: Issues, https://github.com/seanpianka/zipcodes/issues
|
|
8
|
+
Keywords: zipcode,zip,code,us,state,query,filter,validate,sqlite
|
|
11
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
10
|
Classifier: Intended Audience :: Developers
|
|
13
11
|
Classifier: Topic :: Software Development :: Build Tools
|
|
@@ -19,8 +17,8 @@ Classifier: Programming Language :: Python :: 3.6
|
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.8
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Requires-Python: >=2.6
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE.txt
|
|
24
22
|
|
|
25
23
|
# Zipcodes
|
|
26
24
|
|
|
@@ -52,7 +50,7 @@ The Python `sqlite3` module is not required in order to use this package.
|
|
|
52
50
|
'zip_code_type': 'STANDARD'}[
|
|
53
51
|
```
|
|
54
52
|
|
|
55
|
-
⚠️ The zipcode data was last updated on: **
|
|
53
|
+
⚠️ The zipcode data was last updated on: **Feb. 16, 2025** ⚠️
|
|
56
54
|
|
|
57
55
|
[](https://pepy.tech/project/zipcodes/month)
|
|
58
56
|
[](https://pypi.org/project/zipcodes)
|
|
@@ -151,12 +149,12 @@ $ python tests/__init__.py
|
|
|
151
149
|
>>> zipcodes.matching('0646a')
|
|
152
150
|
Traceback (most recent call last):
|
|
153
151
|
...
|
|
154
|
-
|
|
152
|
+
ValueError: Invalid characters, zipcode may only contain digits and "-".
|
|
155
153
|
|
|
156
154
|
>>> zipcodes.matching('064690')
|
|
157
155
|
Traceback (most recent call last):
|
|
158
156
|
...
|
|
159
|
-
|
|
157
|
+
ValueError: Invalid format, zipcode must be of the format: "#####" or "#####-####"
|
|
160
158
|
|
|
161
159
|
>>> zipcodes.matching(None)
|
|
162
160
|
Traceback (most recent call last):
|
|
@@ -267,5 +265,3 @@ True
|
|
|
267
265
|
>>> # Have any other ideas? Make a pull request and start contributing today!
|
|
268
266
|
>>> # Made with love by Sean Pianka
|
|
269
267
|
```
|
|
270
|
-
|
|
271
|
-
|
|
@@ -28,7 +28,7 @@ The Python `sqlite3` module is not required in order to use this package.
|
|
|
28
28
|
'zip_code_type': 'STANDARD'}[
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
⚠️ The zipcode data was last updated on: **
|
|
31
|
+
⚠️ The zipcode data was last updated on: **Feb. 16, 2025** ⚠️
|
|
32
32
|
|
|
33
33
|
[](https://pepy.tech/project/zipcodes/month)
|
|
34
34
|
[](https://pypi.org/project/zipcodes)
|
|
@@ -127,12 +127,12 @@ $ python tests/__init__.py
|
|
|
127
127
|
>>> zipcodes.matching('0646a')
|
|
128
128
|
Traceback (most recent call last):
|
|
129
129
|
...
|
|
130
|
-
|
|
130
|
+
ValueError: Invalid characters, zipcode may only contain digits and "-".
|
|
131
131
|
|
|
132
132
|
>>> zipcodes.matching('064690')
|
|
133
133
|
Traceback (most recent call last):
|
|
134
134
|
...
|
|
135
|
-
|
|
135
|
+
ValueError: Invalid format, zipcode must be of the format: "#####" or "#####-####"
|
|
136
136
|
|
|
137
137
|
>>> zipcodes.matching(None)
|
|
138
138
|
Traceback (most recent call last):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.3.0
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "zipcodes"
|
|
7
|
+
version = "1.3.0"
|
|
8
|
+
authors = [
|
|
9
|
+
{ name="Sean Pianka", email="pianka@eml.cc" },
|
|
10
|
+
]
|
|
11
|
+
description="Query U.S. state zipcodes without SQLite."
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
requires-python = ">=2.6"
|
|
14
|
+
classifiers = [
|
|
15
|
+
# How mature is this project? Common values are
|
|
16
|
+
# 3 - Alpha
|
|
17
|
+
# 4 - Beta
|
|
18
|
+
# 5 - Production/Stable
|
|
19
|
+
"Development Status :: 5 - Production/Stable",
|
|
20
|
+
# Indicate who your project is intended for
|
|
21
|
+
"Intended Audience :: Developers",
|
|
22
|
+
"Topic :: Software Development :: Build Tools",
|
|
23
|
+
# Pick your license as you wish (should match "license" above)
|
|
24
|
+
"License :: OSI Approved :: MIT License",
|
|
25
|
+
# Specify the Python versions you support here. In particular, ensure
|
|
26
|
+
# that you indicate whether you support Python 2, Python 3 or both.
|
|
27
|
+
"Programming Language :: Python :: 2.6",
|
|
28
|
+
"Programming Language :: Python :: 2.7",
|
|
29
|
+
"Programming Language :: Python :: 3.5",
|
|
30
|
+
"Programming Language :: Python :: 3.6",
|
|
31
|
+
"Programming Language :: Python :: 3.7",
|
|
32
|
+
"Programming Language :: Python :: 3.8",
|
|
33
|
+
"Programming Language :: Python :: 3.9",
|
|
34
|
+
]
|
|
35
|
+
keywords = ["zipcode", "zip", "code", "us", "state", "query", "filter", "validate", "sqlite"]
|
|
36
|
+
|
|
37
|
+
[project.urls]
|
|
38
|
+
Homepage = "https://github.com/seanpianka/zipcodes"
|
|
39
|
+
Issues = "https://github.com/seanpianka/zipcodes/issues"
|
|
40
|
+
|
|
41
|
+
[tool.setuptools]
|
|
42
|
+
license-files = []
|
|
Binary file
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: zipcodes
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: Query U.S. state zipcodes without SQLite.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Keywords: zipcode zip code us state query filter validate sqlite
|
|
10
|
-
Platform: UNKNOWN
|
|
5
|
+
Author-email: Sean Pianka <pianka@eml.cc>
|
|
6
|
+
Project-URL: Homepage, https://github.com/seanpianka/zipcodes
|
|
7
|
+
Project-URL: Issues, https://github.com/seanpianka/zipcodes/issues
|
|
8
|
+
Keywords: zipcode,zip,code,us,state,query,filter,validate,sqlite
|
|
11
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
10
|
Classifier: Intended Audience :: Developers
|
|
13
11
|
Classifier: Topic :: Software Development :: Build Tools
|
|
@@ -19,8 +17,8 @@ Classifier: Programming Language :: Python :: 3.6
|
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.8
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Requires-Python: >=2.6
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
23
|
-
License-File: LICENSE.txt
|
|
24
22
|
|
|
25
23
|
# Zipcodes
|
|
26
24
|
|
|
@@ -52,7 +50,7 @@ The Python `sqlite3` module is not required in order to use this package.
|
|
|
52
50
|
'zip_code_type': 'STANDARD'}[
|
|
53
51
|
```
|
|
54
52
|
|
|
55
|
-
⚠️ The zipcode data was last updated on: **
|
|
53
|
+
⚠️ The zipcode data was last updated on: **Feb. 16, 2025** ⚠️
|
|
56
54
|
|
|
57
55
|
[](https://pepy.tech/project/zipcodes/month)
|
|
58
56
|
[](https://pypi.org/project/zipcodes)
|
|
@@ -151,12 +149,12 @@ $ python tests/__init__.py
|
|
|
151
149
|
>>> zipcodes.matching('0646a')
|
|
152
150
|
Traceback (most recent call last):
|
|
153
151
|
...
|
|
154
|
-
|
|
152
|
+
ValueError: Invalid characters, zipcode may only contain digits and "-".
|
|
155
153
|
|
|
156
154
|
>>> zipcodes.matching('064690')
|
|
157
155
|
Traceback (most recent call last):
|
|
158
156
|
...
|
|
159
|
-
|
|
157
|
+
ValueError: Invalid format, zipcode must be of the format: "#####" or "#####-####"
|
|
160
158
|
|
|
161
159
|
>>> zipcodes.matching(None)
|
|
162
160
|
Traceback (most recent call last):
|
|
@@ -267,5 +265,3 @@ True
|
|
|
267
265
|
>>> # Have any other ideas? Make a pull request and start contributing today!
|
|
268
266
|
>>> # Made with love by Sean Pianka
|
|
269
267
|
```
|
|
270
|
-
|
|
271
|
-
|
zipcodes-1.2.0/VERSION.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.2.0
|
zipcodes-1.2.0/setup.py
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# Always prefer setuptools over distutils
|
|
2
|
-
from setuptools import setup, find_packages
|
|
3
|
-
|
|
4
|
-
with open("README.md") as f:
|
|
5
|
-
readme = f.read()
|
|
6
|
-
|
|
7
|
-
with open("VERSION.txt") as f:
|
|
8
|
-
version = f.read()
|
|
9
|
-
|
|
10
|
-
setup(
|
|
11
|
-
name="zipcodes",
|
|
12
|
-
# Versions should comply with PEP440. For a discussion on single-sourcing
|
|
13
|
-
# the version across setup.py and the project code, see
|
|
14
|
-
# https://packaging.python.org/en/latest/single_source_version.html
|
|
15
|
-
|
|
16
|
-
# remove whitespace (some IDE's add trailing newlines automatically)
|
|
17
|
-
version=version.strip(),
|
|
18
|
-
description="Query U.S. state zipcodes without SQLite.",
|
|
19
|
-
long_description=readme,
|
|
20
|
-
long_description_content_type="text/markdown",
|
|
21
|
-
# The project's main homepage.
|
|
22
|
-
url="https://github.com/seanpianka/zipcodes",
|
|
23
|
-
# Author details
|
|
24
|
-
author="Sean Pianka",
|
|
25
|
-
author_email="pianka@eml.cc",
|
|
26
|
-
# Choose your license
|
|
27
|
-
license="MIT",
|
|
28
|
-
packages=find_packages(exclude=("ci", "tests")),
|
|
29
|
-
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
30
|
-
classifiers=[
|
|
31
|
-
# How mature is this project? Common values are
|
|
32
|
-
# 3 - Alpha
|
|
33
|
-
# 4 - Beta
|
|
34
|
-
# 5 - Production/Stable
|
|
35
|
-
"Development Status :: 5 - Production/Stable",
|
|
36
|
-
# Indicate who your project is intended for
|
|
37
|
-
"Intended Audience :: Developers",
|
|
38
|
-
"Topic :: Software Development :: Build Tools",
|
|
39
|
-
# Pick your license as you wish (should match "license" above)
|
|
40
|
-
"License :: OSI Approved :: MIT License",
|
|
41
|
-
# Specify the Python versions you support here. In particular, ensure
|
|
42
|
-
# that you indicate whether you support Python 2, Python 3 or both.
|
|
43
|
-
"Programming Language :: Python :: 2.6",
|
|
44
|
-
"Programming Language :: Python :: 2.7",
|
|
45
|
-
"Programming Language :: Python :: 3.5",
|
|
46
|
-
"Programming Language :: Python :: 3.6",
|
|
47
|
-
"Programming Language :: Python :: 3.7",
|
|
48
|
-
"Programming Language :: Python :: 3.8",
|
|
49
|
-
"Programming Language :: Python :: 3.9",
|
|
50
|
-
],
|
|
51
|
-
# What does your project relate to?
|
|
52
|
-
keywords="zipcode zip code us state query filter validate sqlite",
|
|
53
|
-
include_package_data=True,
|
|
54
|
-
)
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|