Skip to main content

A package for analyzing MIDI files for compliance with Benford's Law

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

benford_midi-1.0.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

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

benford_midi-1.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file benford_midi-1.0.0.tar.gz.

File metadata

  • Download URL: benford_midi-1.0.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for benford_midi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 58a5edac70c4a4de6c8f6a9dc29f4e42194cc91800e5f25e2c3d63ba1daa18d1
MD5 4b38ed7a73fbd9c9b9a9c4ddd8ba6559
BLAKE2b-256 42ffe858bce740f1daef75f86783384ae49a7614336c805e487007b3888b89fd

See more details on using hashes here.

File details

Details for the file benford_midi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: benford_midi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for benford_midi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f172a1a23dc1f2f103a70a95bb37a4ecb10341064c1f75be55d5fe32c3c9d946
MD5 6c30801c7e36f636523caceb79128e83
BLAKE2b-256 2f7373ec341537934ba63050ceda07dbcae7535ea90435f944ebc2fafd3ea1d0

See more details on using hashes here.

Supported by

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