Skip to main content

Parser and Builder classes related to Apple's Core Audio Format (.caf).

Project description

Core Audio Format Parser

PyPI Status Python Version License

Black Build and Deploy Sphinx Documentation

Parser and Builder classes related to Apple's Core Audio Format (.caf).

NOTE: This is a work in progress

Core Audio Format

"Apple’s Core Audio Format (CAF) is a file format for storing and transporting digital audio data. It simplifies the management and manipulation of many types of audio data without the file-size limitations of other audio file formats."

Installation

You can install libCAF via pip from PyPI:

$ pip install libcaf

and to build the docs you need make to be installed:

$ pip install -r docs/requirements.txt
$ cd docs && make html

Usage

The python package provided within this repository supports parsing caf archives into an object model. More detailed information about the implementation and fields of each class, please refer to the documentation available on Github-Pages.

Parsing CAF Files

>>> from libcaf import *
>>> data = caf.parse_file("file.caf")
>>> data
caf_t(m_header=caf__header_t(m_file_type=b'caff', m_file_version=1, m_file_flags=0), ...

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Core Audio Format Parser is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

libCAF-0.1.0b0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

libCAF-0.1.0b0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file libCAF-0.1.0b0.tar.gz.

File metadata

  • Download URL: libCAF-0.1.0b0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for libCAF-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 8aa941b69e8a4c2d37e5837ccaa279ea63a6467549e4581be9101382192b5f67
MD5 e1096e168ffd5336bf787d3c6deced1e
BLAKE2b-256 1c0edf38947cc427848ae97e7d2ea58a27b4dfdf798693d49cd2ea42051c6bb9

See more details on using hashes here.

File details

Details for the file libCAF-0.1.0b0-py3-none-any.whl.

File metadata

  • Download URL: libCAF-0.1.0b0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for libCAF-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1eba3f34f4a907757cc083d880b849eafbe4377015bc459adbbba70813999bc
MD5 36301e2f07791c34b4b6cbdd3c675fc2
BLAKE2b-256 08ab01f8943c580f2a446a92297785f8a252a746bd30324dce6f3216a01e5199

See more details on using hashes here.

Supported by

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