Skip to main content

Some utils for working with python in a simple lab-like environment

Project description

pylabutils

pylabutils is a small, experimental python package that aims to provide some aid in the making of simple data analysis reports in a lighter, more ergonomic and more streamlined manner.

It currently offers 5 main methods:

  • fit : the process of defining a function and setting up the optimization method all in one line, with added functionalities for immediate graphical representation.
  • read_data : an easy way to read your data from most table-like files and have it stored in a convenient pandas.DataFrame.
  • tex_table : prints your data into a fancy, common LaTeX table, with an added bit of customization included.
  • multisort : allows you to sort all of your data based on any of the variables stored, in case they don't all follow a monotonic progression.
  • wdir : a manager that yields a path, useful for when your data is stored externally.
  • Interval : a small class that lets you create Real number intervals, letting you check belongings using the in operator.

They all do have detailed __doc__ attributes that explain all of their arguments and keyword arguments, which you can view, and I encourage so, by using either help(<method>) or <method>.__doc__.

There are, in addition, some "private" methods that can give some functionalities that are included in some of the "main" methods, but these are not really intended for active use and do not have a detailed description accompanying them.

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

pylabutils-1.0rc6.tar.gz (21.9 kB view hashes)

Uploaded Source

Built Distribution

pylabutils-1.0rc6-py3-none-any.whl (46.0 kB view hashes)

Uploaded Python 3

Supported by

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