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.1.tar.gz (34.4 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.1-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: keino-1.0.1.tar.gz
  • Upload date:
  • Size: 34.4 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.1.tar.gz
Algorithm Hash digest
SHA256 efc410f3f71c6634dc55a19efedd30aef881636c240b92972097a1e4dc0e7dcb
MD5 5d31eff6172b7fd73bf277468fefb3a2
BLAKE2b-256 da99590409eeedf715ab5c702fd964c266d244caa53404c73b241aa34ccc9f02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: keino-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 41.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9afa0b22c6649af8285b04a81bc90c2f7de46cf30cadfeb4fe2da26071a2ed5f
MD5 4bf1b0d483c3c011a83a9fbb1e51636a
BLAKE2b-256 383c72056a57536b0624f66100b890c4a046e7212f09fd7c0c50dab2f8d25c9e

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