Skip to main content

Wrapper around matplotlib, seaborn and ipython for creating highly configurable data science visualizations with minimal code.

Project description

pingi: an easily highly configurable data science plotter

Pingi is python wrapper around Matplotlib, Seaborn and IPython for creating highly configurable data science visualizations with minimal code.

Installation

Using pip

  • Install the latest stable release (and required dependencies) from PyPI using pip command:

    pip install pingi
    

Using uv

  • Or, using uv command:

    uv add pingi
    

Getting started

Use LaTeX text rendering

  • Integrate LaTeX in the plots by firstly installing the additional required dependencies using the command:

    pingi-install-latex
    

    and enabling the rendering in the Python code, using parameter usetex=True in function configure_rc():

    from pingi.configure import configure_rc
    
    configure_rc(usetex=True)
    

Documentation

Development

Installation of development dependencies

  • Create the development environment using all dependency groups:

    uv sync --all-groups
    
  • Build the package:

    uv build
    

Linting

  • Use ruff for Python linting:

    uv run ruff check --fix --diff
    

    The command above will check for bugs, suspicious code, style violations, dead code, complexity issues and import problems. It will further proposed fixes.

  • Apply the fixes:

    uv run ruff check --fix
    

Formatting

  • Use ruff for Python formatting:

    uv run ruff format --diff
    

    The command above will check the code structure, namely, the indentation, spaces, line breaks, quote style and long line wrapping. It will further show the proposed changes.

  • Apply the changes:

    uv run ruff format
    

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

pingi-0.1.0.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

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

pingi-0.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pingi-0.1.0.tar.gz.

File metadata

  • Download URL: pingi-0.1.0.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pingi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 92940c16564354643720ebbd32d32c9aaf367452ea3110b083c8eb4c1059446e
MD5 be0ced56eecfaa30dd8d4180d7f65531
BLAKE2b-256 9f9d1553c335d5858a68f9585940ccf4f70960e0f9a430e8fa4bf080c6ffb42b

See more details on using hashes here.

File details

Details for the file pingi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pingi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pingi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6ab0e6b5c3cd2900eacacd36d64d6f35497f2044e7b2af81441a7c47fe66a8
MD5 bf4372cbe25b3d416d74dc7903d40e7f
BLAKE2b-256 6b07c6aef06506fab208fe0852ca9978449232e463859c228242235c34b7ba04

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