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 (and an additional utility):

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

Files for pylabutils, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size pylabutils-1.0.3-py3-none-any.whl (46.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pylabutils-1.0.3.tar.gz (22.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page