Skip to main content

Anthos

A Tkinter-based waveform visualization widget using Canvas and librosa.

A fork of ostcrom’s python-tkinter-waveform-widget, with a simpler API and customizable waveform display options.


Usage

import tkinter as tk
import anthos

# Create main Tkinter window
main_window = tk.Tk()

# Standard Tkinter Canvas options
cnf = {
    "height": 100,
    "width": 500,
    "bg": "green"
}

# Waveform display options
wave_cnf = {
    "x_scale": 1,
    "y_scale": 5
}

path_to_audio = "test.mp3"

# Create waveform widget
widget = anthosWidget(
    master=main_window,
    path(path_to_audio)
    cnf=cnf,
    wave_cnf=wave_cnf
)

# Draw the waveform
widget.draw()

# The widget inherits from tkinter.Canvas, so you can use standard geometry methods
widget.place(x=10, y=10)

# Update standard canvas configuration dynamically
widget.config({"bg": "black", "width": 600})

Metadata

Release files for anthos 1.0.4

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

Source distribution (sdist)

Source distribution for anthos 1.0.4
File Size Uploaded Provenance Actions
anthos-1.0.4.tar.gz 14.6 kB Without provenance Details for anthos-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 29.3 kB

Release files / anthos-1.0.4.tar.gz

Download URL anthos-1.0.4.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8d69d8ab7f0845a78ef61afcf8517a0df2b77c9571b219e9ff1574a21c154826
BLAKE2b-256 checksum
How to use checksums
1cccf61deb9f116c4220cafc2823c1a299de60b17348dccafc8cce94e513a1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / anthos-1.0.4-py3-none-any.whl

Download URL anthos-1.0.4-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb60db3c364ca022da980f617d94f9f63c130c1f41ec949b47e9aef439af5f45
BLAKE2b-256 checksum
How to use checksums
a63f16cd50f23451f0949126c6f7964b5bd7bb4df5664d67d8d54fd6f3a55b33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for anthos 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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