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.3.tar.gz (1.3 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.3-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for socviz_py-0.0.3.tar.gz
Algorithm Hash digest
SHA256 108a7ac483b80a24fa133ad23ee013a47eb8222e48474be68561a6b1b743aae7
MD5 a3e96f679f9ec062ab41deca2d22b96b
BLAKE2b-256 83368ea34276e7fffcea91ff377b8ee13babc0b1e820fb9efeca809df7e26b2f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for socviz_py-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a55da7b7e85f336d05840d709bef060435a7c24c2b74a1f8b8dadf6e4ec95c1b
MD5 45759df27c476c868bbcaf073f3f021e
BLAKE2b-256 c631bd014010d34e4dffd685d8b8c3e86d7a3ac88b1999cc6a81b3458420b17c

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