Skip to main content

socviz_py

Data and helper functions for a Python/Polars companion to Data Visualization.

The PyPI distribution is socviz_py. The Polars-oriented import package is socviz_pl:

import socviz_pl as sv

gapminder = sv.load_data("gss_sm")
sv.available_data()

For now, load_data() returns Polars DataFrames from bundled Parquet files. A pandas-oriented API can be added later without changing the packaged data layout.

Data preparation

The packaged Parquet files live under src/socviz_data/_data. The scripts used to regenerate them live in data-raw/, following the common R-package convention for source data preparation code.

Rscript data-raw/convert_socviz_rda_to_parquet.R
uv run python data-raw/build_counties.py

Metadata

Release files for socviz-py 0.0.6

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

Source distribution (sdist)

Source distribution for socviz-py 0.0.6
File Size Uploaded
socviz_py-0.0.6.tar.gz 2.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for socviz-py 0.0.6
File Interpreter ABI Platform
socviz_py-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 MB

Release files / socviz_py-0.0.6.tar.gz

Download URL socviz_py-0.0.6.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
621b3caa523c548990c30fcdf7be8cf962613c31ba400bc29a1e817190e64af8
BLAKE2b-256 checksum
How to use checksums
5d721a6dbf282fb7daaefd4828662e4f121c846be67f240bb0cd57d58cd4e0e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / socviz_py-0.0.6-py3-none-any.whl

Download URL socviz_py-0.0.6-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
954d2ac8ab88575c502ea48d4f1c43631b194827d21a189a012cd5eac9f5d24a
BLAKE2b-256 checksum
How to use checksums
eb2b2ba035fbfdf9c5fb8405e00db7c4e93c9dc0ec4c27aee91a4c6d60f8a285
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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