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)
| File | Size | Uploaded | |
|---|---|---|---|
| socviz_py-0.0.6.tar.gz | 2.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|