publicdata_census
This library defines a set of Application Urls and Row Generators that allow access to public datasets. For instance, using the Census Reporter URLs, you can define access to a American Community Survey data table on the Census Reporter website. Then, using the associated Row Generator, you can download the data as a sequences of rows.
For instance, this code will return rows from ACS table B17001 for tracts in San Diego County
from publicdata import parse_app_url
url = parse_app_url("census://CA/140/B17001")
# Or: url = CensusReporterUrl(table='B17001',summarylevel='140',geoid='CA')
for row in url.generator:
print(row)
The library uses the appurl and rowgenerator python entrypoints, so all libraries that you install that use the entrypoints can be accessed via the parse_app_url and get_generator functions.
Note
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for publicdata-census 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| publicdata_census-0.0.5.tar.gz | 296.1 kB | Without provenance | Details for publicdata_census-0.0.5.tar.gz |
Release files / publicdata_census-0.0.5.tar.gz
| Download URL | publicdata_census-0.0.5.tar.gz |
|---|---|
| Size | 296.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
566f6df66cde8e6fad5fafca055311ba30d1eed86a0ac1cf056b0f49ff7b96a3
|
|
BLAKE2b-256 checksum How to use checksums |
b756b293330833e0073ab26b767c4cc1053da134a9e7a7885feee6c6a08cbfb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5
|
Security for publicdata-census 0.0.5
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.