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
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
File details
Details for the file glow-0.15.9.tar.gz.
File metadata
- Download URL: glow-0.15.9.tar.gz
- Upload date:
- Size: 57.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c184868a6fd817af8fb86441d8d8c6516f0e64055d721b631adbede85ab675e8
|
|
| MD5 |
f0a43afd2b8102243a31d954ba28cd57
|
|
| BLAKE2b-256 |
09cac1f189ea213c3dc4a73bf38cf058a17338cb3031f52e65a4c3713591e01a
|
Provenance
The following attestation bundles were made for glow-0.15.9.tar.gz:
Publisher:
publish.yaml on arquolo/glow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
glow-0.15.9.tar.gz -
Subject digest:
c184868a6fd817af8fb86441d8d8c6516f0e64055d721b631adbede85ab675e8 - Sigstore transparency entry: 930149161
- Sigstore integration time:
-
Permalink:
arquolo/glow@d27b94b17ecac51d06bd91240c5367b01e9e21f2 -
Branch / Tag:
refs/tags/v0.15.9 - Owner: https://github.com/arquolo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@d27b94b17ecac51d06bd91240c5367b01e9e21f2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file glow-0.15.9-py3-none-any.whl.
File metadata
- Download URL: glow-0.15.9-py3-none-any.whl
- Upload date:
- Size: 66.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc8ddc3ab3ada0fee98e058a63a6225829ed149ac21a94d28d9f774c3114132e
|
|
| MD5 |
6f2ddac5ab88fa3dcb6dfa0652c3e0bd
|
|
| BLAKE2b-256 |
a572e6a76df991a38346127e6c97a3d22b33b4308735342b5e0a5b6a67bb4b96
|
Provenance
The following attestation bundles were made for glow-0.15.9-py3-none-any.whl:
Publisher:
publish.yaml on arquolo/glow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
glow-0.15.9-py3-none-any.whl -
Subject digest:
bc8ddc3ab3ada0fee98e058a63a6225829ed149ac21a94d28d9f774c3114132e - Sigstore transparency entry: 930149186
- Sigstore integration time:
-
Permalink:
arquolo/glow@d27b94b17ecac51d06bd91240c5367b01e9e21f2 -
Branch / Tag:
refs/tags/v0.15.9 - Owner: https://github.com/arquolo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@d27b94b17ecac51d06bd91240c5367b01e9e21f2 -
Trigger Event:
push
-
Statement type: