stringcalc 0.1.0.dev9__tar.gz → 0.1.0.dev15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/.pre-commit-config.yaml +34 -34
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/PKG-INFO +3 -3
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/README.md +7 -7
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/pyproject.toml +72 -72
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/__init__.py +5 -5
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/cli.py +468 -394
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/data/__init__.py +3 -3
- stringcalc-0.1.0.dev15/stringcalc/data/ghs.csv +560 -0
- stringcalc-0.1.0.dev15/stringcalc/data/stringjoy.csv +134 -0
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/frets.py +130 -129
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/tension.py +482 -377
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/tests/test_frets.py +90 -90
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/tests/test_string.py +199 -135
- stringcalc-0.1.0.dev9/.github/workflows/ci.yml +0 -97
- stringcalc-0.1.0.dev9/.gitignore +0 -133
- stringcalc-0.1.0.dev9/panel/README.md +0 -13
- stringcalc-0.1.0.dev9/panel/app.py +0 -240
- stringcalc-0.1.0.dev9/panel/environment.yml +0 -25
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/LICENSE +0 -0
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/docs/prior-art.md +0 -0
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/data/aquila-nng.csv +0 -0
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/data/daddario-tension.csv +0 -0
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/data/worth.csv +0 -0
- {stringcalc-0.1.0.dev9 → stringcalc-0.1.0.dev15}/stringcalc/py.typed +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
repos:
|
|
2
|
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
-
rev: "
|
|
4
|
-
hooks:
|
|
5
|
-
- id: trailing-whitespace
|
|
6
|
-
- id: end-of-file-fixer
|
|
7
|
-
- id: check-docstring-first
|
|
8
|
-
- id: check-yaml
|
|
9
|
-
|
|
10
|
-
- repo: https://github.com/asottile/pyupgrade
|
|
11
|
-
rev: "v3.
|
|
12
|
-
hooks:
|
|
13
|
-
- id: pyupgrade
|
|
14
|
-
args: [--py39-plus]
|
|
15
|
-
|
|
16
|
-
- repo: https://github.com/PyCQA/isort
|
|
17
|
-
rev: "
|
|
18
|
-
hooks:
|
|
19
|
-
- id: isort
|
|
20
|
-
|
|
21
|
-
- repo: https://github.com/psf/black
|
|
22
|
-
rev: "
|
|
23
|
-
hooks:
|
|
24
|
-
- id: black
|
|
25
|
-
|
|
26
|
-
- repo: https://github.com/csachs/pyproject-flake8
|
|
27
|
-
rev: "
|
|
28
|
-
hooks:
|
|
29
|
-
- id: pyproject-flake8 # pflake8
|
|
30
|
-
|
|
31
|
-
- repo: https://github.com/
|
|
32
|
-
rev: "
|
|
33
|
-
hooks:
|
|
34
|
-
- id: prettier
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: "v5.0.0"
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-docstring-first
|
|
8
|
+
- id: check-yaml
|
|
9
|
+
|
|
10
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
11
|
+
rev: "v3.19.1"
|
|
12
|
+
hooks:
|
|
13
|
+
- id: pyupgrade
|
|
14
|
+
args: [--py39-plus]
|
|
15
|
+
|
|
16
|
+
- repo: https://github.com/PyCQA/isort
|
|
17
|
+
rev: "6.0.1"
|
|
18
|
+
hooks:
|
|
19
|
+
- id: isort
|
|
20
|
+
|
|
21
|
+
- repo: https://github.com/psf/black
|
|
22
|
+
rev: "25.1.0"
|
|
23
|
+
hooks:
|
|
24
|
+
- id: black
|
|
25
|
+
|
|
26
|
+
- repo: https://github.com/csachs/pyproject-flake8
|
|
27
|
+
rev: "v7.0.0"
|
|
28
|
+
hooks:
|
|
29
|
+
- id: pyproject-flake8 # pflake8
|
|
30
|
+
|
|
31
|
+
- repo: https://github.com/rbubley/mirrors-prettier
|
|
32
|
+
rev: "v3.5.3"
|
|
33
|
+
hooks:
|
|
34
|
+
- id: prettier
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: stringcalc
|
|
3
|
-
Version: 0.1.0.
|
|
3
|
+
Version: 0.1.0.dev15
|
|
4
4
|
Summary: Calculations for instrument strings
|
|
5
5
|
Author-email: zmoon <zmoon92@gmail.com>
|
|
6
6
|
Requires-Python: ~=3.9
|
|
@@ -26,7 +26,7 @@ Provides-Extra: test
|
|
|
26
26
|
|
|
27
27
|
# stringcalc
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
_Calculations for [string instrument](https://en.wikipedia.org/wiki/String_instrument)s' strings_
|
|
30
30
|
|
|
31
31
|
[](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
|
|
32
32
|
[](https://pypi.org/project/stringcalc/)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# stringcalc
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
|
|
6
|
-
[](https://pypi.org/project/stringcalc/)
|
|
7
|
-
[](https://www.repostatus.org/#wip)
|
|
1
|
+
# stringcalc
|
|
2
|
+
|
|
3
|
+
_Calculations for [string instrument](https://en.wikipedia.org/wiki/String_instrument)s' strings_
|
|
4
|
+
|
|
5
|
+
[](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
|
|
6
|
+
[](https://pypi.org/project/stringcalc/)
|
|
7
|
+
[](https://www.repostatus.org/#wip)
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["flit_core >=3.2,<4"]
|
|
3
|
-
build-backend = "flit_core.buildapi"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "stringcalc"
|
|
7
|
-
authors = [{name = "zmoon", email = "zmoon92@gmail.com"}]
|
|
8
|
-
readme = "README.md"
|
|
9
|
-
license = {file = "LICENSE"}
|
|
10
|
-
classifiers = ["License :: OSI Approved :: MIT License"]
|
|
11
|
-
dynamic = ["version", "description"]
|
|
12
|
-
requires-python = "~=3.9"
|
|
13
|
-
dependencies = [
|
|
14
|
-
"numpy >=1.21",
|
|
15
|
-
"pandas",
|
|
16
|
-
"pint >=0.22",
|
|
17
|
-
"pyabc2",
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
[project.urls]
|
|
21
|
-
Home = "https://github.com/zmoon/stringcalc"
|
|
22
|
-
Source = "https://github.com/zmoon/stringcalc"
|
|
23
|
-
|
|
24
|
-
[project.optional-dependencies]
|
|
25
|
-
test = [
|
|
26
|
-
"mypy",
|
|
27
|
-
"pandas-stubs",
|
|
28
|
-
"pytest",
|
|
29
|
-
]
|
|
30
|
-
dev = [
|
|
31
|
-
"ipython",
|
|
32
|
-
]
|
|
33
|
-
cli = [
|
|
34
|
-
"rich",
|
|
35
|
-
"typer",
|
|
36
|
-
]
|
|
37
|
-
doc = [
|
|
38
|
-
"matplotlib",
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
[project.scripts]
|
|
42
|
-
stringcalc = "stringcalc.cli:app"
|
|
43
|
-
|
|
44
|
-
[tool.flit.sdist]
|
|
45
|
-
exclude = ["data/"]
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
[tool.black]
|
|
49
|
-
line-length = 100
|
|
50
|
-
|
|
51
|
-
[tool.flake8] # pyproject-flake8
|
|
52
|
-
max-line-length = 100
|
|
53
|
-
ignore = [
|
|
54
|
-
"E203", # whitespace before ':' - doesn't work well with black
|
|
55
|
-
"E402", # module level import not at top of file
|
|
56
|
-
"E501", # line too long - let black worry about that
|
|
57
|
-
"W503", # line break before binary operator
|
|
58
|
-
"E226", # missing whitespace around arithmetic operator - not always more readable imho
|
|
59
|
-
]
|
|
60
|
-
|
|
61
|
-
[tool.isort]
|
|
62
|
-
profile = "black"
|
|
63
|
-
line_length = 100
|
|
64
|
-
|
|
65
|
-
[tool.mypy]
|
|
66
|
-
exclude = [
|
|
67
|
-
"^venv/",
|
|
68
|
-
"^data/",
|
|
69
|
-
"^panel/",
|
|
70
|
-
]
|
|
71
|
-
install_types = true
|
|
72
|
-
ignore_missing_imports = true
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["flit_core >=3.2,<4"]
|
|
3
|
+
build-backend = "flit_core.buildapi"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "stringcalc"
|
|
7
|
+
authors = [{name = "zmoon", email = "zmoon92@gmail.com"}]
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
license = {file = "LICENSE"}
|
|
10
|
+
classifiers = ["License :: OSI Approved :: MIT License"]
|
|
11
|
+
dynamic = ["version", "description"]
|
|
12
|
+
requires-python = "~=3.9"
|
|
13
|
+
dependencies = [
|
|
14
|
+
"numpy >=1.21",
|
|
15
|
+
"pandas",
|
|
16
|
+
"pint >=0.22",
|
|
17
|
+
"pyabc2",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Home = "https://github.com/zmoon/stringcalc"
|
|
22
|
+
Source = "https://github.com/zmoon/stringcalc"
|
|
23
|
+
|
|
24
|
+
[project.optional-dependencies]
|
|
25
|
+
test = [
|
|
26
|
+
"mypy",
|
|
27
|
+
"pandas-stubs",
|
|
28
|
+
"pytest",
|
|
29
|
+
]
|
|
30
|
+
dev = [
|
|
31
|
+
"ipython",
|
|
32
|
+
]
|
|
33
|
+
cli = [
|
|
34
|
+
"rich",
|
|
35
|
+
"typer",
|
|
36
|
+
]
|
|
37
|
+
doc = [
|
|
38
|
+
"matplotlib",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[project.scripts]
|
|
42
|
+
stringcalc = "stringcalc.cli:app"
|
|
43
|
+
|
|
44
|
+
[tool.flit.sdist]
|
|
45
|
+
exclude = ["data/", ".github/", "panel/", ".gitignore"]
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
[tool.black]
|
|
49
|
+
line-length = 100
|
|
50
|
+
|
|
51
|
+
[tool.flake8] # pyproject-flake8
|
|
52
|
+
max-line-length = 100
|
|
53
|
+
ignore = [
|
|
54
|
+
"E203", # whitespace before ':' - doesn't work well with black
|
|
55
|
+
"E402", # module level import not at top of file
|
|
56
|
+
"E501", # line too long - let black worry about that
|
|
57
|
+
"W503", # line break before binary operator
|
|
58
|
+
"E226", # missing whitespace around arithmetic operator - not always more readable imho
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[tool.isort]
|
|
62
|
+
profile = "black"
|
|
63
|
+
line_length = 100
|
|
64
|
+
|
|
65
|
+
[tool.mypy]
|
|
66
|
+
exclude = [
|
|
67
|
+
"^venv/",
|
|
68
|
+
"^data/",
|
|
69
|
+
"^panel/",
|
|
70
|
+
]
|
|
71
|
+
install_types = true
|
|
72
|
+
ignore_missing_imports = true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Calculations for instrument strings
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
__version__ = "0.1.0.
|
|
1
|
+
"""
|
|
2
|
+
Calculations for instrument strings
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
__version__ = "0.1.0.dev15"
|