Skip to main content

Easily generate large parameter space data

Project description

Azure CI Code Coverage LGTM Grade Documentation Status

xyzpy is python library for efficiently generating, manipulating and plotting data with a lot of dimensions, of the type that often occurs in numerical simulations. It stands wholly atop the labelled N-dimensional array library xarray. The project’s documentation is hosted on readthedocs.

The aim is to take the pain and errors out of generating and exploring data with a high number of possible parameters. This means:

  • you don’t have to write super nested for loops

  • you don’t have to remember which arrays/dimensions belong to which variables/parameters

  • you don’t have to parallelize over or distribute runs yourself

  • you don’t have to worry about loading, saving and merging disjoint data

  • you don’t have to guess when a set of runs is going to finish

  • you don’t have to write batch submission scripts or leave the notebook to use SGE, PBS or SLURM

As well as the ability to automatically parallelize over runs, xyzpy provides the Crop object that allows runs and results to be written to disk, these can then be run by any process with access to the files - e.g. a batch system such as SGE, PBS or SLURM - or just serve as a convenient persistent progress mechanism.

Once your data has been aggregated into a xarray.Dataset or pandas.DataFrame there exists many powerful visualization tools such as seaborn, altair, and holoviews / hvplot. To these xyzpy adds also a simple ‘oneliner’ interface for interactively plotting the data using bokeh, or for static, publication ready figures using matplotlib, whilst being able to see the dependence on up to 4 dimensions at once.

docs/ex_simple.png

Please see the docs for more information.

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

xyzpy-1.2.1.tar.gz (155.7 kB view details)

Uploaded Source

Built Distribution

xyzpy-1.2.1-py3-none-any.whl (85.2 kB view details)

Uploaded Python 3

File details

Details for the file xyzpy-1.2.1.tar.gz.

File metadata

  • Download URL: xyzpy-1.2.1.tar.gz
  • Upload date:
  • Size: 155.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for xyzpy-1.2.1.tar.gz
Algorithm Hash digest
SHA256 baff50753fdcbd2112b901b544c14b9405f285bf5e1b117744f2db2bad10711b
MD5 714badcbc0432b80970d1da26ed6d004
BLAKE2b-256 c1cae3f2afda7b57463a50038206edcc1b073bebb8a78610d3e183e8e2f5112b

See more details on using hashes here.

File details

Details for the file xyzpy-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: xyzpy-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 85.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for xyzpy-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fad45171f2c88345f73e896b10a9ef1b38a058f159823d06a3098a62d12c9f
MD5 a286d87076b3d1c0a85fb01eadcd405f
BLAKE2b-256 ffe7cb1fe92625276be6ca1edd20fc2a2495eb274fcc13dc3cca50dc33ec7442

See more details on using hashes here.

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