
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
censusdis
Advanced tools
censusdis
censusdis is a package for discovering, loading, and analyzing U.S. Census data. It is designed
For the full README, please visit the censusdis source repository.
censusdis can be installed with pip:
pip install censusdis
Every censusdis query needs four things:
Here is an example of how we can use censusdis to download data once we know those four things.
import censusdis.data as ced
from censusdis.datasets import ACS5
from censusdis import states
df_median_income = ced.download(
# Data set: American Community Survey 5-Year
dataset=ACS5,
# Vintage: 2022
vintage=2022,
# Variable: median household income
download_variables=['NAME', 'B19013_001E'],
# Geography: All counties in New Jersey.
state=states.NJ,
county='*'
)
There are many more examples in the tuturial and in the sample notebooks.
For a tutorial, please see the censusdis-tutorial repository. This tutorial was presented at PyData Seattle 2023. If you want to try it out for yourself, the README.md contains links that let you run the tutorial notebooks live on mybinder.org in your browser without needing to set up a local development environment or download or install any code.
A 86 minute video of the tutorial as presented at PyData Seattle 2023 is also available.
For the full README, lots of maps, demo notebooks, and more, please visit the censusdis source repository.
FAQs
US Census utilities for a variety of data loading, analysis, and mapping purposes.
We found that censusdis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.