Skip to content

Commit 9bfba05

Browse files
Merge pull request #11 from sonos/develop
Merge to main - v2.0.0
2 parents 4516397 + 3c27540 commit 9bfba05

22 files changed

Lines changed: 229 additions & 73 deletions

.github/workflows/test.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,14 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
python -m pip install --upgrade pip
34-
pip install tox tox-gh-actions
34+
pip install coverage
3535
- name: Run tests
36-
run: tox
36+
run: coverage run setup.py test
37+
- name: Run coveralls
38+
uses: AndreMiras/coveralls-python-action@v20201129
39+
with:
40+
parallel: true
41+
flag-name: unittest
3742

3843
macos:
3944
runs-on: macos-latest
@@ -58,3 +63,12 @@ jobs:
5863
submodules: recursive
5964
- name: Check install
6065
run: python setup.py install
66+
67+
coverage:
68+
needs: linux
69+
runs-on: ubuntu-latest
70+
steps:
71+
- name: coveralls
72+
uses: AndreMiras/coveralls-python-action@v20201129
73+
with:
74+
parallel-finished: true

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ dmypy.json
132132
# VSCode
133133
.vscode/
134134

135+
# PyCharm
136+
.idea/
137+
135138
# macOS
136139
.DS_Store
137140

@@ -143,4 +146,4 @@ dmypy.json
143146
*.flac
144147

145148
# Development
146-
.archive
149+
.archive

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
pyFLAC Changelog
22
----------------
33

4+
**v2.0.0**
5+
6+
* Added `seek` and `tell` callbacks to `StreamEncoder`
7+
* Renamed the write callbacks from `callback` to `write_callback` for `StreamEncoder` and `StreamDecoder`
8+
49
**v1.0.0**
510

611
* Added a `StreamEncoder` to compress raw audio data on-the-fly into a FLAC byte stream

README.rst

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
pyFLAC
2-
======
3-
4-
.. image:: https://github.com/Sonos-Inc/pyFLAC/actions/workflows/lint.yml/badge.svg
5-
:target: https://github.com/Sonos-Inc/pyFLAC/actions/workflows/lint.yml
6-
.. image:: https://github.com/Sonos-Inc/pyFLAC/actions/workflows/test.yml/badge.svg
7-
:target: https://github.com/Sonos-Inc/pyFLAC/actions/workflows/test.yml
8-
.. image:: https://github.com/Sonos-Inc/pyFLAC/actions/workflows/build.yml/badge.svg
9-
:target: https://github.com/Sonos-Inc/pyFLAC/actions/workflows/build.yml
10-
.. image:: https://img.shields.io/pypi/pyversions/pysoundio
1+
.. image:: https://raw.githubusercontent.com/sonos/pyFLAC/develop/assets/logo-white-background.jpg
2+
:target: https://pyflac.readthedocs.io
3+
4+
.. image:: https://github.com/sonos/pyFLAC/actions/workflows/lint.yml/badge.svg
5+
:target: https://github.com/sonos/pyFLAC/actions/workflows/lint.yml
6+
.. image:: https://github.com/sonos/pyFLAC/actions/workflows/test.yml/badge.svg
7+
:target: https://github.com/sonos/pyFLAC/actions/workflows/test.yml
8+
.. image:: https://github.com/sonos/pyFLAC/actions/workflows/build.yml/badge.svg
9+
:target: https://github.com/sonos/pyFLAC/actions/workflows/build.yml
10+
.. image:: https://coveralls.io/repos/github/sonos/pyFLAC/badge.svg
11+
:target: https://coveralls.io/github/sonos/pyFLAC
12+
.. image:: https://readthedocs.org/projects/pyflac/badge
13+
:target: https://pyflac.readthedocs.io/en/latest/
14+
.. image:: https://badge.fury.io/py/pyFLAC.svg
15+
:target: https://badge.fury.io/py/pyFLAC
16+
.. image:: https://img.shields.io/pypi/pyversions/pyFLAC
1117
:target: https://pypi.org/project/pyFLAC
1218

19+
-------------------------------------------------------------------
20+
1321
A simple Pythonic interface for `libFLAC <https://xiph.org/flac>`_.
1422

1523
FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless,

assets/icon-black.png

136 KB
Loading

assets/icon-white.png

128 KB
Loading

assets/logo-black.png

264 KB
Loading

assets/logo-white-background.jpg

151 KB
Loading

assets/logo-white-wide.jpg

295 KB
Loading

assets/logo-white.png

325 KB
Loading

0 commit comments

Comments
 (0)