Skip to main content

Useful tools and utilities I use for scientific programming

Project description

keino

Useful tools and utilities I use for scientific programming.

Summary of utilities

  • Params: Handy class for containing parameters.
  • RoundedPolygon: Matplotlib patch object corresponding to a rectangle with rounded corners.
  • add_colourbar: Create a matplotlib colourbar, with the orientation, scale, and position tunable.
  • build_axes_grid: Create a grid of matplotlib axes, with the spacings, offsets, and aspect ratios tunable.
  • colours: Various colourmaps and related utilities.
  • copy_artist: Copy a matplotlib artist.
  • hash_dict: Creates a unique hash for a dict
  • int_path: Creates a list of indices between the given points.
  • kpath: Discretises the Brillouin zone between certain momenta points.
  • ndindex: Similar to numpy.ndindex, but allows also for specifying the lower as well as upper point of the iterators.
  • pprint: Prints a matrix nicely in a Jupyter notebook.
  • vectorize_parallel: Decorator which allows a function to take vector arguments, and also enables parallel processing with caching to disk.
  • versioned_import: Allows for importing a library function, with a particular version enforced.

Licences

rounded_polygon.py: CC BY-SA 4.0

vectorize_parallel.py: AGPL v2

All other code: GPL v3+

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

keino-1.0.0.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keino-1.0.0-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

Details for the file keino-1.0.0.tar.gz.

File metadata

  • Download URL: keino-1.0.0.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for keino-1.0.0.tar.gz
Algorithm Hash digest
SHA256 abf386cbaac6b4fe557c8163d4f5f6a1fd5b2901a3581afa949f61db6d7d65de
MD5 2e077740f1d4c085ac9a92ca42cef55a
BLAKE2b-256 964c48338b573d79135b220fe37908e73d2eb15eb73395c012af500eb40563ab

See more details on using hashes here.

File details

Details for the file keino-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: keino-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for keino-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26b26db51e7ca7aeb6910dcdb7892c5641f4c2a5e4979bc37afe5775b9aaeb57
MD5 84fec2bcba025dd377b4cef6d7f7be11
BLAKE2b-256 f51754037f9bbb7c35611ead27e5c938b9a8f14f6f0fa58c2142bda8542a1e69

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