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

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.2.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.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pingi-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 67640d88cec01cad8a606e2484d69d0d89e2df0862292d2db2dbe52a2989cfe6
MD5 f8bbfbed80d3271fa2eea560ca60c55d
BLAKE2b-256 3ed51685a8790744f8973a6393171b18ce71bb8c35a61f57b1d3304d0d154069

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pingi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dad1fc1e8e1dbdd1e9c04833750f591f457314efbab30e239ea7b19b10caf27c
MD5 b7c69ee54e631d73efb42d21e04449ac
BLAKE2b-256 7fbcead6ba9314aa9f9a087d20d5db46c74c5b7d18c64cf85a2dfc58fcacdf08

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