-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d01194
commit 69270e2
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import pyDSP as dsp | ||
|
||
print(dsp.RangedParameter('test', 'Test')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .parameter import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import types | ||
import abc | ||
|
||
|
||
class RangedParameter: | ||
def __init__(self, id: str, name: str) -> None: | ||
self._id = id | ||
self._name = name | ||
|
||
@property | ||
def id(self) -> str: | ||
return self._id | ||
|
||
@property | ||
def name(self) -> str: | ||
return self._name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import setuptools | ||
|
||
with open("README.md", "r", encoding="utf-8") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="pyDSP", | ||
version="0.1.0", | ||
author="Tobias Hienzsch", | ||
author_email="[email protected]", | ||
description="Python audio dsp utilities", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/tobanteAudio/pyDSP", | ||
project_urls={ | ||
"Bug Tracker": "https://github.com/tobanteAudio/pyDSP/issues", | ||
}, | ||
python_requires=">=3.8", | ||
) |