Skip to main content

amalgament (Python SDK)

Thin, zero-dependency client for the Amalgament public-query API — clean public and government data across the US, entity- and parcel-keyed.

Install

pip install amalgament

First call

import amalgament
c = amalgament.Client(api_key="pq_...")        # or export AMALGAMENT_API_KEY=pq_...

c.search("BROOKLYN BREWERY", limit=5)          # 2 credits
c.parcel("4098390003")                         # 1 credit — owner + permits + evictions + ...
c.entity("REPUBLIC SERVICES OF FLORIDA")       # 2 credits — cross-source dossier
c.owns("EIN:123456789")                        # 3 credits — ownership portfolio
c.context(zip="11432")                         # 1 credit — ACS/FEMA/BLS/NOAA/EIA stack
c.datasets(); c.freshness(); c.account()       # free

c.last_credits                                 # {'charged': 2, 'remaining': 498}
for r in c.iter_search("liquor license", page_size=100, max_records=300):
    ...                                        # paged (each page = one metered call)

No key yet? POST /signup {"email": "..."} at https://api.amalgament.com/signup returns a key + 500 free credits.

CLI

export AMALGAMENT_API_KEY=pq_...
amalgament search "BROOKLYN BREWERY" --limit 5
amalgament parcel 4098390003
amalgament entity "REPUBLIC SERVICES OF FLORIDA"
amalgament context --zip 11432
amalgament balance

Metadata

Release files for amalgament 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 amalgament 0.1.0
File Size Uploaded Provenance Actions
amalgament-0.1.0.tar.gz 5.0 kB Without provenance Details for amalgament-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amalgament 0.1.0
File Interpreter ABI Platform Actions
amalgament-0.1.0-py3-none-any.whl Python 3 none any Details for amalgament-0.1.0-py3-none-any.whl

Total release size: 10.9 kB

Release files / amalgament-0.1.0.tar.gz

Download URL amalgament-0.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8d47905def5574c953300c8dcf884a9b2cf5bbce756e21f34556c61f5d03dd96
BLAKE2b-256 checksum
How to use checksums
d072161e96bfca83dd7a2e91c0d60b8017d6ad8620c37856c43b8222eb87b67f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

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

Download URL amalgament-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de090526612f356d3ff78d27e26bac4843a4a2292dac26c5c6d1889e4b433c1f
BLAKE2b-256 checksum
How to use checksums
16985b4a63559af5897087fa60b0ee43b805ac8eb2a202ef8b9ce66a93a45140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Security for amalgament 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