Functional Python tools
Project description
Glow Library
Set of functional tools for easier prototyping
Overview
...
Installation
For basic installation use:
pip install glow
Specific versions with additional requirements
pip install glow[io] # For I/O extras
pip install glow[all] # For all
Structure
glow.*- Core parts, available out the boxglow.io.*- I/O wrappers to access data in convenient formats
Core features
glow.mapped- convenient tool to parallelize computationsglow.memoize- use if you want to reduce number of calls for any function
IO features
glow.io.Sound - playable sound wrapper
from datetime import timedelta
import numpy as np
from glow.io import Sound
array: np.ndarray
sound = Sound(array, rate=44100) # Wrap np.ndarray
sound = Sound.load('test.flac') # Load sound into memory from file
# Get properties
rate: int = sound.rate
duration: timedelta = sound.duration
dtype: np.dtype = sound.dtype
# Plays sound through default device, supports Ctrl-C for interruption
sound.play()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glow-0.15.25.tar.gz
(62.1 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
glow-0.15.25-py3-none-any.whl
(70.5 kB
view details)
File details
Details for the file glow-0.15.25.tar.gz.
File metadata
- Download URL: glow-0.15.25.tar.gz
- Upload date:
- Size: 62.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfd93a78cd97a74d64bc4e1554de0cef072f6447d7c1aac699a3dcb264f58d8a
|
|
| MD5 |
254fcf5578cb80c25ed2d9c0abc27c83
|
|
| BLAKE2b-256 |
50f4ce89e9756018522678d4ddf7fb49b8527d26d9f42a897f4b27fb517ec46b
|
File details
Details for the file glow-0.15.25-py3-none-any.whl.
File metadata
- Download URL: glow-0.15.25-py3-none-any.whl
- Upload date:
- Size: 70.5 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 |
c5899ffbdd139f6773236b9079aa6dc0b3cde725b6b96db02f3565f75f2ff199
|
|
| MD5 |
92135ff5300a3bef64f7065778f87ab1
|
|
| BLAKE2b-256 |
b7d035a51aa95354f65e7f59abde5b5b194cc6520a01afca0926e73565dd208f
|