Useful tools and utilities I use for scientific programming
Project description
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 dictint_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.2.tar.gz
(34.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
keino-1.0.2-py3-none-any.whl
(41.4 kB
view details)
File details
Details for the file keino-1.0.2.tar.gz.
File metadata
- Download URL: keino-1.0.2.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93986b4e736bf8d5b82654892e57a315bbdabcfa1cfb24c980afc2b59c497b12
|
|
| MD5 |
3672bd650a5b075107361f60b938022e
|
|
| BLAKE2b-256 |
8721c69827a875a6708310624e8da1dd4827b7799d12060753b012a6ddeffa70
|
File details
Details for the file keino-1.0.2-py3-none-any.whl.
File metadata
- Download URL: keino-1.0.2-py3-none-any.whl
- Upload date:
- Size: 41.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63a6af0115fb41eefc92e4f1b57ae18238adddb162fce32a0fc41409253c84a3
|
|
| MD5 |
0ec033935716486ca0c45fa463c348e0
|
|
| BLAKE2b-256 |
1d112264c961a3ac9a3c188b989d756d6cd7a09242db621ea6d0c025af49142d
|