Skip to main content

city-macro-data

city-macro-data is a distributable dataset package for city-level macro data.

Installation

pip install city-macro-data

Quick Start

from city_macro_data import load_data, get_metadata, data_version, validate_data

df = load_data()
meta = get_metadata()

print(df.shape)
print(data_version())
print(validate_data())

API

  • load_data(): return dataset as pandas.DataFrame
  • get_metadata(): return metadata from metadata.json
  • data_version(): return dataset version string
  • validate_data(required_columns=None): validate non-empty data and required columns

Data Update Workflow (for maintainers)

From repository root:

python build-data/build_data.py
powershell -ExecutionPolicy Bypass -File scripts/sync_packages.ps1
python -m pip install --force-reinstall .\python-pkg

Notes for Windows Users

Avoid editable install (pip install -e) under non-ASCII paths. Use normal install:

python -m pip install .\python-pkg

Metadata

Release files for city-macro-data 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for city-macro-data 0.1.0
File Size Uploaded Provenance
city_macro_data-0.1.0.tar.gz 817.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for city-macro-data 0.1.0
File Interpreter ABI Platform
city_macro_data-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / city_macro_data-0.1.0.tar.gz

Download URL city_macro_data-0.1.0.tar.gz
Size 817.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0b0b1ac6114d937d86c4fc64d09849fb1d8859a20ef338c5678fd68eeb80cfc3
BLAKE2b-256 checksum
How to use checksums
f24457e19accd5a9fcb72b99b6f937697477bae7e701f972dde86af3185dc39e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / city_macro_data-0.1.0-py3-none-any.whl

Download URL city_macro_data-0.1.0-py3-none-any.whl
Size 820.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5efbb065e7ae106c088a94724de097ce574b03f7cffce8d0804399c9c76a6f7
BLAKE2b-256 checksum
How to use checksums
dd84816b20085e6281dc65d4adc44a21e04c9903c70aecf8e97dbe5f508e63b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for city-macro-data 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page