File: README.md

package info (click to toggle)
audioop-lts 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296 kB
  • sloc: ansic: 2,480; python: 593; makefile: 6
file content (38 lines) | stat: -rw-r--r-- 1,078 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# audioop

An LTS port of the Python builtin module `audioop` which was deprecated since version 3.11 and removed in 3.13.

This project exists to maintain this module for future versions.

## Using this project

> [!WARNING]
**This module only functions at Python versions of 3.13 or greater** due to being removed in this version.

As such, you can conditionally add this project to your dependencies:

#### pip-requirements
```
audioop-lts; python_version>='3.13'
```

#### Poetry-pyproject
```toml
[tool.poetry.dependencies]
audioop-lts = { version = "...", python = "^3.13" }
```
Relevant documentation is [here](https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies), or alternatively use [`markers`](https://python-poetry.org/docs/dependency-specification/#using-environment-markers)

#### pdm-pyproject / uv-pyproject / hatch-pyproject
```toml
[project]
dependencies = [
    "audioop-lts; python_version >= '3.13'",
]
```

#### Pipenv-pipfile
```toml
[packages]
audioop-lts = { version = "...", markers = "python_version >= 3.13" }
```