Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

socviz_py-0.0.6.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

socviz_py-0.0.6-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file socviz_py-0.0.6.tar.gz.

File metadata

  • Download URL: socviz_py-0.0.6.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for socviz_py-0.0.6.tar.gz
Algorithm Hash digest
SHA256 621b3caa523c548990c30fcdf7be8cf962613c31ba400bc29a1e817190e64af8
MD5 879549eaffd5363778080ab675d78831
BLAKE2b-256 5d721a6dbf282fb7daaefd4828662e4f121c846be67f240bb0cd57d58cd4e0e9

See more details on using hashes here.

File details

Details for the file socviz_py-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: socviz_py-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for socviz_py-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 954d2ac8ab88575c502ea48d4f1c43631b194827d21a189a012cd5eac9f5d24a
MD5 c6445a806cc6de3e8eeec2461db2de0b
BLAKE2b-256 eb2b2ba035fbfdf9c5fb8405e00db7c4e93c9dc0ec4c27aee91a4c6d60f8a285

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page