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 and highly configurable data science plotter

PyPI Version PyPI Python Version PyPI License PyPI Implementation PyPI Wheel PyPI Status GitHub last commit uv Ruff Hatch project

Pingi is a 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 uv:

    uv run 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

To be built.

Development

Installation of development dependencies

  • Create the development environment using all dependency groups:

    uv sync --all-groups
    

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
    

License

Pingi is licensed under the terms of the MIT license.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pingi-0.1.3.tar.gz
  • Upload date:
  • Size: 65.3 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.3.tar.gz
Algorithm Hash digest
SHA256 8730c8d3b6a68ec4904f39f220708cb4666af7088c9ea182ea3f6157b871785d
MD5 24a2d683160ecfcde468228c0d66828a
BLAKE2b-256 5f3ffd8b603b105e3a479674ff0674a33ff583a1e92cf42a59ae258fca973dcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pingi-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c829fe34e6dd0459fc0312d73ca66a5e67b7c795f18097d97e6f71a99de73bd3
MD5 f8db012ce23043442433349e56845a07
BLAKE2b-256 f866f8834a2fab2112beef9aa1c4243dfdedad6df5c5917d48da24d64c6e711f

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