$npx skillfedfor your agent

census

A wrapper for the US Census Bureau's API

Worth itPyPI WWW/HTTPReleased May 2026198.7K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — census-0.8.27-py3-none-any.whl
v0.8.27 · released 2026-05-15 · 1 runtime deps: requests

Yes. Census is a stable, actively maintained wrapper with low install friction (one dependency), no known vulnerabilities, and permissive licensing. Install it if you need programmatic access to US Census data; it eliminates manual API construction and provides geographic convenience methods. The only prerequisite is obtaining a free Census API key.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Census API key obtained from https://api.census.gov/data/key_signup.html before making any data requests.
  • Low friction: pure Python wheel with only requests as a runtime dependency.
  • Active maintenance with recent release (91 days ago) and 681 repository stars indicate ongoing support.

License · maintenance · safety

BSD (permissive) — BSD permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-05-15 (91 days) · last repo commit 2026-05-15 · 681 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 198,687 downloads/mo, #9,722 on PyPI

Verify before relying

pip install census

from census import Census

c = Census("YOUR_API_KEY")
data = c.acs5.state(('NAME', 'B25034_010E'), '24')
  • Whether the package supports Python 3.x versions or has any minimum Python version requirement (not specified in metadata).
  • Performance characteristics when querying large geographic areas or multiple years of historical data.
Same gist for agents: .md · .json

What it is and what it does

Census is a lightweight client library that abstracts the Census Bureau's HTTP API into Python method calls. It handles the low-level details of constructing API requests, managing geographic specifications (FIPS codes, state/county/tract hierarchies), and parsing responses for multiple Census datasets including ACS 5-year, 3-year, and 1-year estimates, as well as Summary File 1 and redistricting data.

The library provides convenience methods for common geographic queries (state, county, tract, congressional district, etc.) and supports year-based queries across historical datasets. It depends only on requests for HTTP communication, making it lightweight to integrate into data pipelines, demographic analysis scripts, or research tools that need programmatic Census access.

Use it for

  • Retrieve demographic statistics for a specific state or county to build population reports or dashboards.
  • Query historical Census data across multiple years to analyze demographic trends in a geographic area.
  • Automate bulk extraction of housing, income, or education metrics for research or policy analysis.
  • Build geographic lookup tools that map FIPS codes to Census data for civic tech applications.
  • Integrate Census data into data warehouses or ETL pipelines for downstream analysis.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Census is a stable, actively maintained wrapper with low install friction (one dependency), no known vulnerabilities, and permissive licensing. Install it if you need programmatic access to US Census data; it eliminates manual API construction and provides geographic convenience methods. The only prerequisite is obtaining a free Census API key.

Install

census on PyPI

Before you install

Low friction: pure Python wheel with only requests as a runtime dependency. Active maintenance with recent release (91 days ago) and 681 repository stars indicate ongoing support.

Requires a Census API key obtained from https://api.census.gov/data/key_signup.html before making any data requests.

License in practice

BSD permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install census

from census import Census

c = Census("YOUR_API_KEY")
data = c.acs5.state(('NAME', 'B25034_010E'), '24')

Verify before relying

  • Whether the package supports Python 3.x versions or has any minimum Python version requirement (not specified in metadata).
  • Performance characteristics when querying large geographic areas or multiple years of historical data.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceActively maintained 91 days since the last release
Last repo commit
First released
Downloads198,687 / month, #9,722 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python

Evidence: census-0.8.27-py3-none-any.whl

Tags

Capabilities
census bureau api wrapperus demographic data accessamerican community survey pythoncensus acs sf1 datageographic census queriesfips code demographic lookupus census api client
Topics
census-datagovernment-apidemographics

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “census bureau api wrapper”

  • censusProvides a Python wrapper for the United States Census Bureau's API,…
  • usProvides structured access to US state and territory metadata…
  • censusgeocodeWraps the US Census Geocoder API to convert addresses to coordinates…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also censusgeocode · spm-calculator · us · geonamescache · uszipcode · pyzipcode · openbb-bls · cellxgene-census · SurveyGizmo · prisma-sase