Skip to main content

keino

Useful tools and utilities I use for scientific programming.

Installation

pip install keino, or clone this repo, cd into and pip install . to run the master version.

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+

Metadata

Release files for keino 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keino 1.0.3
File Size Uploaded
keino-1.0.3.tar.gz 34.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keino 1.0.3
File Interpreter ABI Platform
keino-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 76.0 kB

Release files / keino-1.0.3.tar.gz

Download URL keino-1.0.3.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e88196b75a9799485f5bfd76316a0f88fe71ed8ad43b9e23fa123fa1c75cdb5e
BLAKE2b-256 checksum
How to use checksums
d166dbb6989f0fe993502cc2ede2e0f7c2161aff377daba9c9183f6c136ccc96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / keino-1.0.3-py3-none-any.whl

Download URL keino-1.0.3-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b6b4fd3e627b4ec22dde19be95f350fdeed5f4fc451a95a4f93f99695e08090
BLAKE2b-256 checksum
How to use checksums
550a2405240511230f418eb2b84c4f49fb26925f93cdff0c80aff140829c9fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page