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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| benford_midi-1.0.0.tar.gz | 21.6 kB | Without provenance | Details for benford_midi-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| benford_midi-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for benford_midi-1.0.0-py3-none-any.whl |
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
|
Security for benford-midi 1.0.0
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.