Skip to main content

MarACO - Marine Acoustic Classification API

A Python package for marine acoustic sound classification optimized for CPU usage with balanced speed and accuracy.

Features

  • Fast Classification: <200ms per 5-second audio clip on CPU
  • High Accuracy: >90% accuracy on marine acoustic sounds
  • Noise Reduction: Built-in noise reduction and audio preprocessing
  • Multiple Classes: Fin Whale, Humpback Whale, Right Whale, Sonar, Vessels, Explosions, Physical Noise
  • Easy Integration: Simple API for quick integration into your projects
  • CPU Optimized: Designed specifically for CPU-only environments

Installation

pip install maraco-api

Quick Start

from maraco import MarineAcousticClassifier

# Initialize classifier
classifier = MarineAcousticClassifier()

# Classify a single audio file
result = classifier.predict("audio_file.wav")
print(f"Class: {result['class']}, Confidence: {result['confidence']:.2f}")

# Batch processing
results = classifier.predict_batch(["file1.wav", "file2.wav"])
for result in results:
    print(f"File: {result['filename']}, Class: {result['class']}")

Supported Audio Formats

  • WAV, AIFF, MP3, FLAC
  • Sample rates: 600Hz - 48kHz (automatically resampled)
  • Duration: 1-30 seconds (optimal: 2-5 seconds)

Performance

  • Processing Speed: <200ms per clip
  • Memory Usage: <500MB RAM
  • Model Size: <50MB
  • Accuracy: >90% on test data

License

MIT License

Metadata

Release files for maraco-api 0.1.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 maraco-api 0.1.0
File Size Uploaded Provenance Actions
maraco_api-0.1.0.tar.gz 32.7 kB Without provenance Details for maraco_api-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for maraco-api 0.1.0
File Interpreter ABI Platform Actions
maraco_api-0.1.0-py3-none-any.whl Python 3 none any Details for maraco_api-0.1.0-py3-none-any.whl

Total release size: 60.7 kB

Release files / maraco_api-0.1.0.tar.gz

Download URL maraco_api-0.1.0.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
adeea9ebe0326c20ea7d07e654f05312ad09492c1378ce1ffb27f5bf8a6fec20
BLAKE2b-256 checksum
How to use checksums
c5fdb2ea0fe7fa70c47833061cba89934cc0c19407932f46ac61b735114c3b4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / maraco_api-0.1.0-py3-none-any.whl

Download URL maraco_api-0.1.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6130a9d885db05da64f940d2e37a11b2cbbeaea22d252c0b6d571b7cc64e35e0
BLAKE2b-256 checksum
How to use checksums
8bff39f3b0dec8e8e532955ec34d5b9486aa89c15e7787953e4cca5d98f64696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Security for maraco-api 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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