Skip to main content

Benford MIDI Analysis

This project provides a Python package for analyzing MIDI files in accordance with Benford's Law. It includes functionalities for statistical analysis, compliance testing, and command-line interface usage.

Table of Contents

Installation

To install the package, clone the repository and install the required dependencies:

git clone https://github.com/ajprice16/benford-midi-analysis.git
cd benford-midi-analysis
pip install -r requirements.txt

Alternatively, you can install the package directly using pip:

pip install .

Usage

You can use the package from the command line or import it into your Python scripts. The main functionalities include:

  • Analyzing MIDI files for Benford's Law compliance.
  • Comparing compliance between two sets of MIDI files.

For command-line usage, you can run:

python -m benford_midi.cli

Examples

Check the examples directory for usage examples:

  • basic_usage.py: A simple example demonstrating basic functionality.
  • comparison_example.py: An example showcasing how to compare two sets of MIDI files.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for benford-midi 1.0.0

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

Source distribution (sdist)

Source distribution for benford-midi 1.0.0
File Size Uploaded
benford_midi-1.0.0.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for benford-midi 1.0.0
File Interpreter ABI Platform
benford_midi-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.4 kB

Release files / benford_midi-1.0.0.tar.gz

Download URL benford_midi-1.0.0.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
58a5edac70c4a4de6c8f6a9dc29f4e42194cc91800e5f25e2c3d63ba1daa18d1
BLAKE2b-256 checksum
How to use checksums
42ffe858bce740f1daef75f86783384ae49a7614336c805e487007b3888b89fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / benford_midi-1.0.0-py3-none-any.whl

Download URL benford_midi-1.0.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f172a1a23dc1f2f103a70a95bb37a4ecb10341064c1f75be55d5fe32c3c9d946
BLAKE2b-256 checksum
How to use checksums
2f7373ec341537934ba63050ceda07dbcae7535ea90435f944ebc2fafd3ea1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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