Skip to main content

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
Glow is compatible with: Python 3.13+. Tested on Ubuntu & Windows.

Structure

  • glow.* - Core parts, available out the box
  • glow.io.* - I/O wrappers to access data in convenient formats

Core features

  • glow.mapped - convenient tool to parallelize computations
  • glow.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()

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.38.tar.gz (68.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glow-0.15.38-py3-none-any.whl (74.2 kB view details)

Uploaded Python 3

File details

Details for the file glow-0.15.38.tar.gz.

File metadata

  • Download URL: glow-0.15.38.tar.gz
  • Upload date:
  • Size: 68.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for glow-0.15.38.tar.gz
Algorithm Hash digest
SHA256 1d78919a82ed47595dac9c485f8751cf2e6823b5d7697cdb6db313e1dd5e9cfb
MD5 44a0ba2b48348552e6892622347b368a
BLAKE2b-256 390d983c87d6c1e1c2c38c22ddc2b6a23e7b8f8f42f6fe8e4ae07d9bb7dc8b7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for glow-0.15.38.tar.gz:

Publisher: publish.yaml on arquolo/glow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file glow-0.15.38-py3-none-any.whl.

File metadata

  • Download URL: glow-0.15.38-py3-none-any.whl
  • Upload date:
  • Size: 74.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for glow-0.15.38-py3-none-any.whl
Algorithm Hash digest
SHA256 c53a95f111ab466ffbac0a0ae5d4fd37b9a005cc61681c3aa155e8552f09e890
MD5 c4d1fa6774a40f865dd155b85676820b
BLAKE2b-256 a995d8de46d4d13bf84d05269c4c794b751cda74b9391a0cb505efe81a2c0dcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for glow-0.15.38-py3-none-any.whl:

Publisher: publish.yaml on arquolo/glow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page