Catalog PyPI
PACKAGE EXPLORERView in registry

abcweaver

PyPI

๐ŸŽผ ABC โ†” MusicXML Transformation Engine with Redis Stream Processing

abcmusicmusicxmlnotationredisstreams
Versions collected1
Direct dependencies9From release 0.2.1
Last observed20 Oct, 17:16 UTC

README

Version 0.2.1 documentation

๐ŸŽผ ABCWeaver - ABC โ†” MusicXML Transformation Engine

ABCWeaver is a powerful Python package for bidirectional transformation between ABC notation and MusicXML format, enhanced with Redis stream processing capabilities through the nyro package.

โœจ Features

  • Bidirectional Conversion: ABC โ†” MusicXML with full musical integrity
  • Redis Streams: Enhanced processing through nyro package integration
  • CLI Interface: Intuitive command-line tools for all operations
  • Customer Processing: Stream-based customer-specific enhancements
  • Validation: Comprehensive syntax checking for both formats
  • Batch Operations: Process multiple files efficiently

๐Ÿš€ Installation

pip install abcweaver

For development:

pip install abcweaver[dev]

๐Ÿ“– Quick Start

Create MusicXML from ABC

abcweaver create "C D E F G A B c" --output melody.musicxml --title "Simple Scale"

Insert ABC into existing MusicXML

abcweaver insert score.musicxml "G2 A2 B2 c2" --part "Melody" --instrument "Flute"

Extract ABC from MusicXML

abcweaver extract score.musicxml --part "P1" --output melody.abc

Stream Processing with Redis

# Send ABC to Redis stream
abcweaver stream-send "C D E F" --stream "song_evolution" 

# Consume and process
abcweaver stream-consume --stream "song_evolution" --target output.musicxml

๐Ÿ—๏ธ Architecture

ABCWeaver is built with modular architecture:

  • Core: ABC parsing, MusicXML handling, format conversion
  • Streams: Redis integration via nyro package
  • Commands: CLI interface for all operations
  • Utils: Helper functions and constants

๐Ÿ”ง Dependencies

  • click: CLI framework
  • lxml: XML processing
  • nyro: Redis stream management
  • pydantic: Data validation
  • rich: Beautiful CLI output

๐ŸŽผ Use Cases

  • Music Composition: Convert ABC notation to professional MusicXML scores
  • Score Analysis: Extract ABC patterns from existing MusicXML files
  • Stream Processing: Real-time musical data transformation via Redis
  • Batch Conversion: Process large collections of musical notation
  • Educational Tools: Bridge between simple ABC and complex MusicXML formats

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

๐Ÿ“ก G.Music Assembly

Part of the G.Music Assembly ecosystem - transforming musical creativity through collaborative AI orchestration.

โ™ ๏ธ๐ŸŒฟ๐ŸŽธ๐Ÿงต Assembly Mode Engaged

๐Ÿ“„ License

MIT License - see LICENSE file for details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.128 Sept 20259

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
gerico1007/abcweaver

Shared repository data ยท GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f75206ea727a81e184de00e7a5c3afcee302589cc662e00c1615c965c784171d