zipcode-features 0.0.9__tar.gz → 0.1.1__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.
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/PKG-INFO +1 -1
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/pyproject.toml +1 -1
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/setup.py +1 -1
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/__init__.py +3 -2
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/LICENSE +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/README.md +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/azure-pipelines.yml +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/clean_install.sh +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/requirements.txt +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/CBSA_ZIP_122025.csv +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/ZIP_COUNTY_122025.csv +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/bls_2025_quarter_four.csv +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/bls_2025_quarter_one.csv +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/bls_2025_quarter_three.csv +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/bls_2025_quarter_two.csv +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/cbsa_codes.json +0 -0
- {zipcode_features-0.0.9 → zipcode_features-0.1.1}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zipcode-features
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A Python package to process and extract features from zipcode data.
|
|
5
5
|
Project-URL: Homepage, https://github.com/EricSchles/zipcode_features
|
|
6
6
|
Author-email: Eric Schles <your.email@example.com>
|
|
@@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text()
|
|
|
10
10
|
# This call to setup() does all the work
|
|
11
11
|
setup(
|
|
12
12
|
name="zipcode_features",
|
|
13
|
-
version="0.
|
|
13
|
+
version="0.1.1",
|
|
14
14
|
description="A tool to get features based on census data from zipcodes",
|
|
15
15
|
long_description=README,
|
|
16
16
|
long_description_content_type="text/markdown",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = '0.
|
|
1
|
+
__version__ = '0.1.1'
|
|
2
2
|
|
|
3
3
|
import zipcodes
|
|
4
4
|
from zipcode3.search import SearchEngine
|
|
@@ -175,7 +175,8 @@ def _get_cbsa_code_to_cbsa_name() -> dict:
|
|
|
175
175
|
df["code"] = code_to_name.keys()
|
|
176
176
|
df["name"] = df["name"].str.replace(" -", "-")
|
|
177
177
|
df["name"] = df["name"].str.split().str.join(' ')
|
|
178
|
-
|
|
178
|
+
code_to_name = df.set_index('code')['name'].to_dict()
|
|
179
|
+
return code_to_name
|
|
179
180
|
|
|
180
181
|
def _get_zip_to_fips_code() -> dict:
|
|
181
182
|
with resources.path("zipcode_features.data", "ZIP_COUNTY_122025.csv") as csv_path:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/CBSA_ZIP_122025.csv
RENAMED
|
File without changes
|
{zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/ZIP_COUNTY_122025.csv
RENAMED
|
File without changes
|
|
File without changes
|
{zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/bls_2025_quarter_one.csv
RENAMED
|
File without changes
|
|
File without changes
|
{zipcode_features-0.0.9 → zipcode_features-0.1.1}/src/zipcode_features/data/bls_2025_quarter_two.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|