Skip to main content

libmogra

A Python Toolbox for Indian (Classical) Music

The Why

For playing around (understanding, modifying, etc.) with music & audio specifically in the Indian context. Music theory standardization as well as tool development has been done extensively for western music, but other music cultures lag behind. This library will start with small features, but the dream is to have a Photoshop for Indian music.

The What

This is intended to be a higher-level layer on top of the widely used librosa. If you must have an acronym, here it is: a LIBrary for the Manipulation, Organization, Generation, and Raag-aware Analysis of music. If that's too much, think of mogra the flower :)

mogra CLI

pip install libmogra

will also install the mogra command-line interface.

To find info about a raag

mogra info bairagi

To visualize its tonnetz diagram (if available)

mogra info bairagi --tonnetz=window

To look at just the Tonnetz diagram by itself

mogra info all --tonnetz=window

To search for a raag given its notes among SrRgGmMPdDnN (note: follow the convention m = shuddha and M = teevra)

mogra search SrmPn

Metadata

Release files for libmogra 0.4.3

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

Source distribution (sdist)

Source distribution for libmogra 0.4.3
File Size Uploaded Provenance Actions
libmogra-0.4.3.tar.gz 73.5 kB Without provenance Details for libmogra-0.4.3.tar.gz

Built distribution (wheel)

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

Total release size: 241.5 kB

Release files / libmogra-0.4.3.tar.gz

Download URL libmogra-0.4.3.tar.gz
Size 73.5 kB
Tags Source
SHA-256 checksum
How to use checksums
beb759f74b0c2704b857d3e80a0872a93b1e15614ec91446a147b0246d78c596
BLAKE2b-256 checksum
How to use checksums
4de582086b550dca5d3210a60be094f1b0881bf8c91d22537da2cfab35cadfee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.1.0

Release files / libmogra-0.4.3-py3-none-any.whl

Download URL libmogra-0.4.3-py3-none-any.whl
Size 168.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efe5ba52906178181efb8df788d34dfaf2e00e01e55fdabf7cd3364e87e4aa1f
BLAKE2b-256 checksum
How to use checksums
49c223df7841f6fe2f66f006bf246df1fd2d317e03c7af98641c6e791284e2c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.1.0

Security for libmogra 0.4.3

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