stringcalc 0.1.0.dev18__tar.gz → 0.1.1__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.
Files changed (39) hide show
  1. stringcalc-0.1.1/.gitignore +138 -0
  2. stringcalc-0.1.1/PKG-INFO +37 -0
  3. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/README.md +16 -14
  4. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/cli.rst +8 -0
  5. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/conf.py +3 -1
  6. stringcalc-0.1.1/docs/dev.md +40 -0
  7. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/index.md +55 -54
  8. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/panel.rst +1 -1
  9. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/pyproject.toml +41 -12
  10. stringcalc-0.1.1/stringcalc/__init__.py +8 -0
  11. stringcalc-0.1.1/stringcalc/_version.py +24 -0
  12. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/cli.py +3 -6
  13. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/daddario-stp.csv +61 -71
  14. stringcalc-0.1.0.dev18/.flake8 +0 -3
  15. stringcalc-0.1.0.dev18/.pre-commit-config.yaml +0 -34
  16. stringcalc-0.1.0.dev18/.readthedocs.yaml +0 -17
  17. stringcalc-0.1.0.dev18/PKG-INFO +0 -50
  18. stringcalc-0.1.0.dev18/stringcalc/__init__.py +0 -5
  19. stringcalc-0.1.0.dev18/stringcalc/util.py +0 -32
  20. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/LICENSE +0 -0
  21. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/api.rst +0 -0
  22. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/cli_gauge-suggest_tb23nw.svg +0 -0
  23. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/cli_gauge-suggest_tb23nw_d.svg +0 -0
  24. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/examples/compare-data.md +0 -0
  25. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/examples/gauge-suggest.md +0 -0
  26. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/examples/pythagoras-ratios.md +0 -0
  27. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/examples/tension-plot.md +0 -0
  28. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/docs/prior-art.md +0 -0
  29. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/__init__.py +0 -0
  30. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/aquila-nng.csv +0 -0
  31. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/daddario-tension.csv +0 -0
  32. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/ghs.csv +0 -0
  33. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/stringjoy.csv +0 -0
  34. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/data/worth.csv +0 -0
  35. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/frets.py +0 -0
  36. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/py.typed +0 -0
  37. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/stringcalc/tension.py +0 -0
  38. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/tests/test_frets.py +0 -0
  39. {stringcalc-0.1.0.dev18 → stringcalc-0.1.1}/tests/test_string.py +0 -0
@@ -0,0 +1,138 @@
1
+ data/tension_chart_13934.pdf
2
+ data/*.png
3
+ docs/api/
4
+ panel/app.html
5
+ _version.py
6
+
7
+ uv.lock
8
+
9
+
10
+ # Byte-compiled / optimized / DLL files
11
+ __pycache__/
12
+ *.py[cod]
13
+ *$py.class
14
+
15
+ # C extensions
16
+ *.so
17
+
18
+ # Distribution / packaging
19
+ .Python
20
+ build/
21
+ develop-eggs/
22
+ dist/
23
+ downloads/
24
+ eggs/
25
+ .eggs/
26
+ lib/
27
+ lib64/
28
+ parts/
29
+ sdist/
30
+ var/
31
+ wheels/
32
+ pip-wheel-metadata/
33
+ share/python-wheels/
34
+ *.egg-info/
35
+ .installed.cfg
36
+ *.egg
37
+ MANIFEST
38
+
39
+ # PyInstaller
40
+ # Usually these files are written by a python script from a template
41
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
42
+ *.manifest
43
+ *.spec
44
+
45
+ # Installer logs
46
+ pip-log.txt
47
+ pip-delete-this-directory.txt
48
+
49
+ # Unit test / coverage reports
50
+ htmlcov/
51
+ .tox/
52
+ .nox/
53
+ .coverage
54
+ .coverage.*
55
+ .cache
56
+ nosetests.xml
57
+ coverage.xml
58
+ *.cover
59
+ *.py,cover
60
+ .hypothesis/
61
+ .pytest_cache/
62
+
63
+ # Translations
64
+ *.mo
65
+ *.pot
66
+
67
+ # Django stuff:
68
+ *.log
69
+ local_settings.py
70
+ db.sqlite3
71
+ db.sqlite3-journal
72
+
73
+ # Flask stuff:
74
+ instance/
75
+ .webassets-cache
76
+
77
+ # Scrapy stuff:
78
+ .scrapy
79
+
80
+ # Sphinx documentation
81
+ docs/_build/
82
+
83
+ # PyBuilder
84
+ target/
85
+
86
+ # Jupyter Notebook
87
+ .ipynb_checkpoints
88
+
89
+ # IPython
90
+ profile_default/
91
+ ipython_config.py
92
+
93
+ # pyenv
94
+ .python-version
95
+
96
+ # pipenv
97
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
98
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
99
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
100
+ # install all needed dependencies.
101
+ #Pipfile.lock
102
+
103
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
104
+ __pypackages__/
105
+
106
+ # Celery stuff
107
+ celerybeat-schedule
108
+ celerybeat.pid
109
+
110
+ # SageMath parsed files
111
+ *.sage.py
112
+
113
+ # Environments
114
+ .env
115
+ .venv
116
+ env/
117
+ venv/
118
+ ENV/
119
+ env.bak/
120
+ venv.bak/
121
+
122
+ # Spyder project settings
123
+ .spyderproject
124
+ .spyproject
125
+
126
+ # Rope project settings
127
+ .ropeproject
128
+
129
+ # mkdocs documentation
130
+ /site
131
+
132
+ # mypy
133
+ .mypy_cache/
134
+ .dmypy.json
135
+ dmypy.json
136
+
137
+ # Pyre type checker
138
+ .pyre/
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.4
2
+ Name: stringcalc
3
+ Version: 0.1.1
4
+ Summary: Instrument string calculations
5
+ Project-URL: Home, https://github.com/zmoon/stringcalc
6
+ Project-URL: Source, https://github.com/zmoon/stringcalc
7
+ Project-URL: Documentation, https://stringcalc.readthedocs.io
8
+ Author-email: zmoon <zmoon92@gmail.com>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Requires-Python: <4,>=3.10
13
+ Requires-Dist: numpy>=1.21
14
+ Requires-Dist: pandas
15
+ Requires-Dist: pint>=0.22
16
+ Requires-Dist: pyabc2
17
+ Provides-Extra: cli
18
+ Requires-Dist: rich; extra == 'cli'
19
+ Requires-Dist: typer; extra == 'cli'
20
+ Description-Content-Type: text/markdown
21
+
22
+ # stringcalc
23
+
24
+ _Calculations for [string instrument](https://en.wikipedia.org/wiki/String_instrument)s' strings_
25
+
26
+ [![Version on PyPI](https://img.shields.io/pypi/v/stringcalc.svg)](https://pypi.org/project/stringcalc/)
27
+ [![CI workflow status](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml/badge.svg)](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
28
+ [![Documentation status](https://readthedocs.org/projects/stringcalc/badge/?version=latest)](https://stringcalc.readthedocs.io/en/latest/)
29
+ [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
30
+
31
+ ```sh
32
+ stringcalc gauge --suggest -T 17 -L 23 -P G2 -P D3 -P A3 -P E4 -N 6 --type DA:LEW --type DA:LE --no-column-info
33
+ ```
34
+
35
+ <img src="https://raw.githubusercontent.com/zmoon/stringcalc/refs/heads/main/docs/cli_gauge-suggest_tb23nw.svg"
36
+ alt="CLI gauge suggestion output for 23&quot; TB for D'Addario loop-end nickel-wound strings"
37
+ width="550">
@@ -1,14 +1,16 @@
1
- # stringcalc
2
-
3
- _Calculations for [string instrument](https://en.wikipedia.org/wiki/String_instrument)s' strings_
4
-
5
- [![Version on PyPI](https://img.shields.io/pypi/v/stringcalc.svg)](https://pypi.org/project/stringcalc/)
6
- [![CI workflow status](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml/badge.svg)](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
7
- [![Documentation status](https://readthedocs.org/projects/stringcalc/badge/?version=latest)](https://stringcalc.readthedocs.io/en/latest/)
8
- [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
9
-
10
- ```sh
11
- stringcalc gauge --suggest -T 17 -L 23 -P G2 -P D3 -P A3 -P E4 -N 6 --type DA:LEW --type DA:LE --no-column-info
12
- ```
13
-
14
- <img src="./docs/cli_gauge-suggest_tb23nw.svg" alt="CLI gauge suggestion output for 23&quot; TB for D'Addario loop-end nickel-wound strings" width="550">
1
+ # stringcalc
2
+
3
+ _Calculations for [string instrument](https://en.wikipedia.org/wiki/String_instrument)s' strings_
4
+
5
+ [![Version on PyPI](https://img.shields.io/pypi/v/stringcalc.svg)](https://pypi.org/project/stringcalc/)
6
+ [![CI workflow status](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml/badge.svg)](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
7
+ [![Documentation status](https://readthedocs.org/projects/stringcalc/badge/?version=latest)](https://stringcalc.readthedocs.io/en/latest/)
8
+ [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
9
+
10
+ ```sh
11
+ stringcalc gauge --suggest -T 17 -L 23 -P G2 -P D3 -P A3 -P E4 -N 6 --type DA:LEW --type DA:LE --no-column-info
12
+ ```
13
+
14
+ <img src="https://raw.githubusercontent.com/zmoon/stringcalc/refs/heads/main/docs/cli_gauge-suggest_tb23nw.svg"
15
+ alt="CLI gauge suggestion output for 23&quot; TB for D'Addario loop-end nickel-wound strings"
16
+ width="550">
@@ -6,6 +6,14 @@ For example, ``stringcalc gauge --suggest`` can be used to suggest strings.
6
6
  ``-T``, ``-L``, ``-P`` (tension, scale length, pitch)
7
7
  can be specified more than once to get results for multiple strings.
8
8
 
9
+ With `uv <https://docs.astral.sh/uv/>`__, you can install ``stringcalc`` globally with::
10
+
11
+ uv tool install stringcalc[cli]
12
+
13
+ or run it in an ephemeral environment with::
14
+
15
+ uvx stringcalc[cli]
16
+
9
17
  .. click:: stringcalc.cli:_typer_click_object
10
18
  :prog: stringcalc
11
19
  :nested: full
@@ -1,7 +1,7 @@
1
1
  import stringcalc
2
2
 
3
3
  project = "stringcalc"
4
- copyright = "2022\u20132025"
4
+ copyright = "2022\u20132026"
5
5
  author = "zmoon"
6
6
 
7
7
  version = stringcalc.__version__.split("+")[0]
@@ -54,6 +54,8 @@ html_theme_options = {
54
54
  """,
55
55
  }
56
56
 
57
+ html_static_path = ["_static"]
58
+
57
59
  napoleon_google_docstring = False
58
60
  napoleon_numpy_docstring = True
59
61
  napoleon_preprocess_types = True
@@ -0,0 +1,40 @@
1
+ # Development
2
+
3
+ Using [uv](https://docs.astral.sh/uv/), prepare the venv:
4
+
5
+ ```sh
6
+ uv sync --all-groups --all-extras
7
+ ```
8
+
9
+ Run the tests:
10
+
11
+ ```sh
12
+ uv run pytest
13
+ ```
14
+
15
+ Build the Panel app (for inclusion in the docs):
16
+
17
+ ```sh
18
+ uv run panel convert panel/app.py --to pyodide --out docs/_static/panel/
19
+ ```
20
+
21
+ Build the docs:
22
+
23
+ ```sh
24
+ uv run sphinx-build docs docs/_build/html
25
+ ```
26
+
27
+ Check the version:
28
+
29
+ ```sh
30
+ uv run stringcalc --version
31
+ ```
32
+
33
+ After adding a new annotated version tag,
34
+ you may need to touch one of the files
35
+ in order for uv/hatch to detect that a rebuild is needed,
36
+ or use:
37
+
38
+ ```sh
39
+ uv run --reinstall-package stringcalc stringcalc --version
40
+ ```
@@ -1,54 +1,55 @@
1
- # stringcalc
2
-
3
- Calculations for instrument strings.
4
-
5
- - {doc}`Python library <api>`
6
- - {doc}`Command-line interface <cli>`
7
- - {doc}`panel`
8
- - ...
9
-
10
- ## Installation
11
-
12
- stringcalc is available [on PyPI](https://pypi.org/project/stringcalc/):
13
-
14
- ```
15
- pip install stringcalc
16
- ```
17
-
18
- For the CLI, include the `cli` extra:
19
-
20
- ```
21
- pip install stringcalc[cli]
22
- ```
23
-
24
- ## Examples
25
-
26
- ```{nb-exec-table}
27
-
28
- ```
29
-
30
- ```{toctree}
31
- :hidden:
32
-
33
- panel.rst
34
- ```
35
-
36
- ```{toctree}
37
- :caption: Examples
38
- :hidden:
39
-
40
- examples/compare-data.md
41
- examples/gauge-suggest.md
42
- examples/tension-plot.md
43
- examples/pythagoras-ratios.md
44
- ```
45
-
46
- ```{toctree}
47
- :caption: Reference
48
- :hidden:
49
-
50
- api.rst
51
- cli.rst
52
- prior-art.md
53
- GitHub <https://github.com/zmoon/stringcalc>
54
- ```
1
+ # stringcalc
2
+
3
+ Calculations for instrument strings.
4
+
5
+ - {doc}`Python library <api>`
6
+ - {doc}`Command-line interface <cli>`
7
+ - {doc}`panel`
8
+ - ...
9
+
10
+ ## Installation
11
+
12
+ stringcalc is available [on PyPI](https://pypi.org/project/stringcalc/):
13
+
14
+ ```
15
+ pip install stringcalc
16
+ ```
17
+
18
+ For the CLI, include the `cli` extra:
19
+
20
+ ```
21
+ pip install stringcalc[cli]
22
+ ```
23
+
24
+ ## Examples
25
+
26
+ ```{nb-exec-table}
27
+
28
+ ```
29
+
30
+ ```{toctree}
31
+ :hidden:
32
+
33
+ panel.rst
34
+ ```
35
+
36
+ ```{toctree}
37
+ :caption: Examples
38
+ :hidden:
39
+
40
+ examples/compare-data.md
41
+ examples/gauge-suggest.md
42
+ examples/tension-plot.md
43
+ examples/pythagoras-ratios.md
44
+ ```
45
+
46
+ ```{toctree}
47
+ :caption: Reference
48
+ :hidden:
49
+
50
+ api.rst
51
+ cli.rst
52
+ prior-art.md
53
+ GitHub <https://github.com/zmoon/stringcalc>
54
+ dev.md
55
+ ```
@@ -9,7 +9,7 @@ Panel app
9
9
  .. raw:: html
10
10
 
11
11
  <iframe
12
- src="https://filedn.com/l8PDOka7grmu3ycpLliPls4/stringcalc-panel.html"
12
+ src="_static/panel/app.html"
13
13
  height="650px"
14
14
  width="490px"
15
15
  >
@@ -1,15 +1,16 @@
1
1
  [build-system]
2
- requires = ["flit_core >=3.2,<4"]
3
- build-backend = "flit_core.buildapi"
2
+ requires = ["hatchling", "hatch-vcs", "hatch-docstring-description"]
3
+ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "stringcalc"
7
7
  authors = [{name = "zmoon", email = "zmoon92@gmail.com"}]
8
8
  readme = "README.md"
9
- license = {file = "LICENSE"}
9
+ license = "MIT"
10
+ license-files = ["LICENSE"]
10
11
  classifiers = ["License :: OSI Approved :: MIT License"]
11
12
  dynamic = ["version", "description"]
12
- requires-python = "~=3.10"
13
+ requires-python = ">=3.10,<4"
13
14
  dependencies = [
14
15
  "numpy >=1.21",
15
16
  "pandas",
@@ -23,19 +24,24 @@ Source = "https://github.com/zmoon/stringcalc"
23
24
  Documentation = "https://stringcalc.readthedocs.io"
24
25
 
25
26
  [project.optional-dependencies]
27
+ cli = [
28
+ "rich",
29
+ "typer",
30
+ ]
31
+
32
+ [dependency-groups]
33
+ data = [
34
+ "requests",
35
+ ]
26
36
  test = [
27
37
  "mypy",
28
38
  "pandas-stubs",
29
- "pytest",
30
- "pytest-codeblocks",
39
+ "pytest ==9.*",
40
+ "pytest-codeblocks >=0.18.0",
31
41
  ]
32
42
  dev = [
33
43
  "ipython",
34
44
  ]
35
- cli = [
36
- "rich",
37
- "typer",
38
- ]
39
45
  doc = [
40
46
  "matplotlib",
41
47
  "myst-nb",
@@ -45,13 +51,36 @@ doc = [
45
51
  "sphinx-click",
46
52
  "sphinx-copybutton",
47
53
  ]
54
+ panel = [
55
+ "hvplot",
56
+ "panel ==1.*",
57
+ "watchfiles",
58
+ ]
48
59
 
49
60
  [project.scripts]
50
61
  stringcalc = "stringcalc.cli:app"
51
62
 
52
- [tool.flit.sdist]
53
- exclude = ["data/", ".github/", "panel/", ".gitignore"]
63
+ [tool.hatch.version]
64
+ source = "vcs"
65
+
66
+ [tool.hatch.build.hooks.vcs]
67
+ version-file = "stringcalc/_version.py"
68
+
69
+ [tool.hatch.metadata.hooks.docstring-description]
70
+
71
+ [tool.hatch.build.targets.sdist]
72
+ exclude = [
73
+ ".flake8",
74
+ ".gitignore",
75
+ ".pre-commit-config.yaml",
76
+ ".readthedocs.yaml",
77
+ ".github/",
78
+ "/data/",
79
+ "panel/",
80
+ ]
54
81
 
82
+ [tool.hatch.build.targets.wheel]
83
+ only-packages = true
55
84
 
56
85
  [tool.black]
57
86
  line-length = 100
@@ -0,0 +1,8 @@
1
+ """
2
+ Instrument string calculations
3
+ """
4
+
5
+ try:
6
+ from ._version import __version__
7
+ except ImportError:
8
+ __version__ = "0.0.0"
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '0.1.1'
22
+ __version_tuple__ = version_tuple = (0, 1, 1)
23
+
24
+ __commit_id__ = commit_id = None
@@ -99,18 +99,15 @@ def pretty_warnings(f):
99
99
 
100
100
  def _version_callback(show: bool):
101
101
  if show:
102
- import subprocess
103
-
104
102
  from . import __version__
105
103
 
106
104
  v = f"[rgb(184,115,51)]stringcalc[/] [bold blue]{__version__}[/]"
107
105
  try:
108
- cmd = ["git", "-C", HERE.as_posix(), "rev-parse", "--verify", "--short", "HEAD"]
109
- cp = subprocess.run(cmd, text=True, capture_output=True, check=True)
110
- except Exception:
106
+ i = v.index("+")
107
+ except ValueError:
111
108
  pass
112
109
  else:
113
- v += f" [rgb(100,100,100)]({cp.stdout.strip()})[/]"
110
+ v = v[:i] + "[rgb(100,100,100)]" + v[i:] + "[/]"
114
111
 
115
112
  console.print(v, highlight=False)
116
113
 
@@ -1,8 +1,8 @@
1
1
  id,uw,gauge,instruments,group,group_id
2
- BEB028,2.2167e-05,0.0285,Classical Guitar,Black Nylon,BEB
3
- BEB032,2.8953e-05,0.0327,Classical Guitar,Black Nylon,BEB
4
- BEB040,4.5239e-05,0.04,Classical Guitar,Black Nylon,BEB
5
- BEB031W,0.00012253,0.031,Classical Guitar,80/20 Bronze,BEBW
2
+ BEB028,2.2966e-05,0.0285,Classical Guitar,Black Nylon,BEB
3
+ BEB032,3.0234e-05,0.0327,Classical Guitar,Black Nylon,BEB
4
+ BEB040,4.592e-05,0.04,Classical Guitar,Black Nylon,BEB
5
+ BEB031W,0.00010373,0.031,Classical Guitar,80/20 Bronze,BEBW
6
6
  BEB037W,0.00020248,0.037,Classical Guitar,80/20 Bronze,BEBW
7
7
  BEB045W,0.00033228,0.045,Classical Guitar,80/20 Bronze,BEBW
8
8
  BEC028,2.2167e-05,0.028,Classical Guitar,Clear Nylon,BEC
@@ -71,16 +71,12 @@ X1AGFPP047,0.00045626,0.047,Acoustic Guitar,Phosphor Bronze,FT
71
71
  X1AGFPP053,0.00056994,0.053,Acoustic Guitar,Phosphor Bronze,FT
72
72
  X1AGFPP056,0.00063151,0.056,Acoustic Guitar,Phosphor Bronze,FT
73
73
  J6203,0.00011299,0.024,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
74
- J4301,2.1383e-05,0.0275,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
75
74
  J4304,9.7088e-05,0.028,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
76
75
  J4501,2.2167e-05,0.028,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
77
- J4601,2.2966e-05,0.0285,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
78
76
  J2704,0.00010754,0.029,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
79
- J4401,2.3779e-05,0.029,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
80
77
  J4504,0.00010754,0.029,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
81
78
  J27H04,0.0001118,0.03,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
82
79
  J4604,0.0001118,0.03,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
83
- J4302,2.8413e-05,0.0317,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
84
80
  J4502,2.9316e-05,0.0322,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
85
81
  J4602,3.0234e-05,0.0327,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
86
82
  J4305,0.0001695,0.033,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
@@ -91,10 +87,8 @@ J3005,3.4636e-05,0.035,"Classical Guitar, Mandolin, Other Instruments, Ukulele",
91
87
  J4505,0.0001949,0.035,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
92
88
  J27H05,0.00020804,0.036,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
93
89
  J4605,0.00020804,0.036,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
94
- J4303,4.4563e-05,0.0397,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
95
90
  J4503,4.592e-05,0.0403,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
96
91
  J4603,4.7529e-05,0.041,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
97
- J4403,4.8696e-05,0.0415,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
98
92
  J4306,0.00028498,0.042,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
99
93
  J4506,0.0003101,0.043,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
100
94
  J4606,0.00033248,0.044,"Classical Guitar, Mandolin, Other Instruments, Ukulele",Various,J
@@ -213,21 +207,20 @@ NW064,0.00072042,0.064,"Electric Guitar, Other Instruments",Nickel Plated Steel,
213
207
  NW065,0.00074901,0.065,"Electric Guitar, Other Instruments",Nickel Plated Steel,NW
214
208
  NW068,0.00081724,0.068,"Electric Guitar, Other Instruments",Nickel Plated Steel,NW
215
209
  NW074,0.00094948,0.074,"Electric Guitar, Other Instruments",Nickel Plated Steel,NW
216
- NYL022,1.3685e-05,0.022,"Classical Guitar, Other Instruments, Ukulele",Clear Nylon,NYL
217
- NYL024,1.6286e-05,0.024,"Classical Guitar, Other Instruments, Ukulele",Clear Nylon,NYL
218
- NYL030,2.5447e-05,0.03,"Classical Guitar, Other Instruments, Ukulele",Clear Nylon,NYL
219
- NYL034,3.2685e-05,0.034,"Classical Guitar, Other Instruments, Ukulele",Clear Nylon,NYL
220
- U2AMFN0220,1.3685e-05,0.022,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
221
- U2AMFN0260,1.9113e-05,0.026,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
222
- U2AMFN0280,2.2167e-05,0.028,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
223
- U2AMFN0285,2.2966e-05,0.0285,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
224
- U2AMFN0290,2.3779e-05,0.029,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
225
- U2AMFN0322,2.9316e-05,0.0322,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
226
- U2AMFN0327,3.0234e-05,0.0327,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
227
- U2AMFN0332,3.1165e-05,0.0332,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
228
- U2AMFN0360,3.6644e-05,0.036,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
229
- U2AMFN0403,4.592e-05,0.0403,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
230
- U2AMFN0410,4.7529e-05,0.041,"Classical Guitar, Other Instruments, Ukulele",Black Nylon,NYLB
210
+ NYL022,1.3685e-05,0.022,"Other Instruments, Ukulele",Clear Nylon,NYL
211
+ NYL024,1.6286e-05,0.024,"Other Instruments, Ukulele",Clear Nylon,NYL
212
+ NYL030,2.5447e-05,0.03,"Other Instruments, Ukulele",Clear Nylon,NYL
213
+ NYL034,3.2685e-05,0.034,"Other Instruments, Ukulele",Clear Nylon,NYL
214
+ U2AMFN0220,1.3685e-05,0.022,"Other Instruments, Ukulele",Black Nylon,NYLB
215
+ U2AMFN0260,1.9113e-05,0.026,"Other Instruments, Ukulele",Black Nylon,NYLB
216
+ U2AMFN0280,2.2167e-05,0.028,"Other Instruments, Ukulele",Black Nylon,NYLB
217
+ U2AMFN0285,2.2966e-05,0.0285,"Other Instruments, Ukulele",Black Nylon,NYLB
218
+ U2AMFN0290,2.3779e-05,0.029,"Other Instruments, Ukulele",Black Nylon,NYLB
219
+ U2AMFN0322,2.9316e-05,0.0322,"Other Instruments, Ukulele",Black Nylon,NYLB
220
+ U2AMFN0327,3.0234e-05,0.0327,"Other Instruments, Ukulele",Black Nylon,NYLB
221
+ U2AMFN0332,3.1165e-05,0.0332,"Other Instruments, Ukulele",Black Nylon,NYLB
222
+ U2AMFN0360,3.6644e-05,0.036,"Other Instruments, Ukulele",Black Nylon,NYLB
223
+ U2AMFN0403,4.592e-05,0.0403,"Other Instruments, Ukulele",Black Nylon,NYLB
231
224
  U1AQFBW029,0.00010112,0.029,Classical Guitar,80/20 Bronze,NYLBW
232
225
  U1AQFBW030,0.00010513,0.03,Classical Guitar,80/20 Bronze,NYLBW
233
226
  U1AQFBW035,0.00017061,0.035,Classical Guitar,80/20 Bronze,NYLBW
@@ -236,8 +229,6 @@ U1AQFBW043,0.00028997,0.043,Classical Guitar,80/20 Bronze,NYLBW
236
229
  U1AQFBW044,0.00030792,0.044,Classical Guitar,80/20 Bronze,NYLBW
237
230
  NYL024W,6.7841e-05,0.024,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
238
231
  NYL025W,6.7841e-05,0.025,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
239
- NYL026W,8.4715e-05,0.026,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
240
- NYL028W,8.4715e-05,0.028,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
241
232
  NYL031W,0.00011042,0.031,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
242
233
  NYL041W,0.00024721,0.041,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
243
234
  NYL056W,0.0005456,0.056,"Classical Guitar, Other Instruments, Ukulele",Silver Plated Copper,NYLW
@@ -306,37 +297,35 @@ NYXLB100MS,0.001688,0.1,Bass Guitar,NYXL,NYXLBMS
306
297
  NYXLB130MS,0.0028816,0.13,Bass Guitar,NYXL,NYXLBMS
307
298
  NYXLB100SL,0.001688,0.1,Bass Guitar,NYXL,NYXLBSL
308
299
  NYXLB130SL,0.0028816,0.13,Bass Guitar,NYXL,NYXLBSL
309
- PB020,7.9816e-05,0.02,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
310
- PB021,8.8655e-05,0.021,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
311
- PB022,9.7982e-05,0.022,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
312
- PB023,0.0001078,0.023,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
313
- PB024,0.00011612,0.024,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
314
- PB025,0.00012678,0.025,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
315
- PB026,0.0001358,0.026,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
316
- PB027,0.00014707,0.027,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
317
- PB028,0.00015901,0.028,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
318
- PB029,0.00017107,0.029,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
319
- PB030,0.00018386,0.03,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
320
- PB032,0.00020607,0.032,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
321
- PB035,0.00024692,0.035,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
322
- PB036,0.00026213,0.036,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
323
- PB038,0.00028622,0.038,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
324
- PB039,0.00030249,0.039,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
325
- PB042,0.00035496,0.042,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
326
- PB045,0.00040203,0.045,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
327
- PB047,0.0004351,0.047,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
328
- PB049,0.00047233,0.049,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
329
- PB052,0.00052954,0.052,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
330
- PB053,0.00054532,0.053,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
331
- PB054,0.00056742,0.054,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
332
- PB056,0.00060666,0.056,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
333
- PB059,0.00067802,0.059,"Acoustic Guitar, Banjo, Mandolin",Phosphor Bronze,PB
300
+ PB021,8.8655e-05,0.021,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
301
+ PB022,9.7982e-05,0.022,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
302
+ PB023,0.0001078,0.023,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
303
+ PB024,0.00011612,0.024,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
304
+ PB025,0.00012678,0.025,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
305
+ PB026,0.0001358,0.026,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
306
+ PB027,0.00014707,0.027,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
307
+ PB028,0.00015901,0.028,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
308
+ PB029,0.00017107,0.029,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
309
+ PB030,0.00018386,0.03,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
310
+ PB032,0.00020607,0.032,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
311
+ PB035,0.00024692,0.035,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
312
+ PB036,0.00026213,0.036,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
313
+ PB038,0.00028622,0.038,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
314
+ PB039,0.00030249,0.039,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
315
+ PB042,0.00035496,0.042,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
316
+ PB045,0.00040203,0.045,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
317
+ PB047,0.0004351,0.047,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
318
+ PB049,0.00047233,0.049,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
319
+ PB052,0.00052954,0.052,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
320
+ PB053,0.00054532,0.053,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
321
+ PB054,0.00056742,0.054,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
322
+ PB056,0.00060666,0.056,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
323
+ PB059,0.00067802,0.059,"Acoustic Guitar, Mandolin",Phosphor Bronze,PB
334
324
  PBB045,0.00042114,0.045,Bass Guitar,Phosphor Bronze,PBB
335
325
  PBB065,0.00081426,0.065,Bass Guitar,Phosphor Bronze,PBB
336
326
  PBB080,0.0011998,0.08,Bass Guitar,Phosphor Bronze,PBB
337
327
  PBB100,0.0018332,0.1,Bass Guitar,Phosphor Bronze,PBB
338
328
  PBB130,0.0030241,0.13,Bass Guitar,Phosphor Bronze,PBB
339
- PBT0.46,1.0601e-05,0.0181,Ukulele,Nyltech,PBT
340
329
  PBT0.60,1.8022e-05,0.0236,Ukulele,Nyltech,PBT
341
330
  PBT0.62,1.9265e-05,0.0244,Ukulele,Nyltech,PBT
342
331
  PBT0.65,2.1206e-05,0.0256,Ukulele,Nyltech,PBT
@@ -348,24 +337,24 @@ PBT0.82,3.3759e-05,0.0323,Ukulele,Nyltech,PBT
348
337
  PBT0.92,4.2404e-05,0.0362,Ukulele,Nyltech,PBT
349
338
  PBT0.95,4.5262e-05,0.0374,Ukulele,Nyltech,PBT
350
339
  PBT0.97,4.7219e-05,0.0382,Ukulele,Nyltech,PBT
351
- PL008,1.4185e-05,0.008,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
352
- PL0085,1.6013e-05,0.0085,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
353
- PL009,1.7953e-05,0.009,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
354
- PL0095,2.0003e-05,0.0095,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
355
- PL010,2.2164e-05,0.01,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
356
- PL0105,2.4436e-05,0.0105,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
357
- PL011,2.6818e-05,0.011,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
358
- PL0115,2.9312e-05,0.0115,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
359
- PL012,3.1916e-05,0.012,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
360
- PL013,3.7457e-05,0.013,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
361
- PL0135,4.0394e-05,0.0135,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
362
- PL014,4.3441e-05,0.014,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
363
- PL015,4.9869e-05,0.015,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
364
- PL016,5.674e-05,0.016,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
365
- PL017,6.4054e-05,0.017,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
366
- PL018,7.1811e-05,0.018,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
367
- PL019,8.0012e-05,0.019,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
368
- PL020,8.8656e-05,0.02,"Acoustic Guitar, Banjo, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
340
+ PL008,1.4185e-05,0.008,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
341
+ PL0085,1.6013e-05,0.0085,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
342
+ PL009,1.7953e-05,0.009,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
343
+ PL0095,2.0003e-05,0.0095,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
344
+ PL010,2.2164e-05,0.01,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
345
+ PL0105,2.4436e-05,0.0105,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
346
+ PL011,2.6818e-05,0.011,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
347
+ PL0115,2.9312e-05,0.0115,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
348
+ PL012,3.1916e-05,0.012,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
349
+ PL013,3.7457e-05,0.013,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
350
+ PL0135,4.0394e-05,0.0135,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
351
+ PL014,4.3441e-05,0.014,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
352
+ PL015,4.9869e-05,0.015,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
353
+ PL016,5.674e-05,0.016,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
354
+ PL017,6.4054e-05,0.017,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
355
+ PL018,7.1811e-05,0.018,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
356
+ PL019,8.0012e-05,0.019,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
357
+ PL020,8.8656e-05,0.02,"Acoustic Guitar, Electric Guitar, Mandolin, Other Instruments",Tin Coated Steel,PL
369
358
  PNG023,0.00011502,0.023,Electric Guitar,Pure Nickel,PNG
370
359
  PNG025,0.00013252,0.025,Electric Guitar,Pure Nickel,PNG
371
360
  PNG027,0.00015139,0.027,Electric Guitar,Pure Nickel,PNG
@@ -595,6 +584,7 @@ XTPB024,0.00011612,0.024,Acoustic Guitar,Phosphor Bronze,XTPB
595
584
  XTPB025,0.00012678,0.025,Acoustic Guitar,Phosphor Bronze,XTPB
596
585
  XTPB026,0.0001358,0.026,Acoustic Guitar,Phosphor Bronze,XTPB
597
586
  XTPB027,0.00014707,0.027,Acoustic Guitar,Phosphor Bronze,XTPB
587
+ XTPB028,0.00015901,0.028,Acoustic Guitar,Phosphor Bronze,XTPB
598
588
  XTPB029,0.00017107,0.029,Acoustic Guitar,Phosphor Bronze,XTPB
599
589
  XTPB032,0.00020607,0.032,Acoustic Guitar,Phosphor Bronze,XTPB
600
590
  XTPB035,0.00024692,0.035,Acoustic Guitar,Phosphor Bronze,XTPB
@@ -1,3 +0,0 @@
1
- [flake8]
2
- max-line-length = 100
3
- ignore = E203,E402,E501,W503,E226
@@ -1,34 +0,0 @@
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.20.0"
12
- hooks:
13
- - id: pyupgrade
14
- args: [--py310-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/PyCQA/flake8
27
- rev: "7.3.0"
28
- hooks:
29
- - id: flake8
30
-
31
- - repo: https://github.com/rbubley/mirrors-prettier
32
- rev: "v3.6.2"
33
- hooks:
34
- - id: prettier
@@ -1,17 +0,0 @@
1
- version: 2
2
-
3
- build:
4
- os: ubuntu-lts-latest
5
- tools:
6
- python: "3.13"
7
-
8
- python:
9
- install:
10
- - method: pip
11
- path: .
12
- extra_requirements:
13
- - doc
14
- - cli
15
-
16
- sphinx:
17
- configuration: docs/conf.py
@@ -1,50 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: stringcalc
3
- Version: 0.1.0.dev18
4
- Summary: Calculations for instrument strings
5
- Author-email: zmoon <zmoon92@gmail.com>
6
- Requires-Python: ~=3.10
7
- Description-Content-Type: text/markdown
8
- Classifier: License :: OSI Approved :: MIT License
9
- License-File: LICENSE
10
- Requires-Dist: numpy >=1.21
11
- Requires-Dist: pandas
12
- Requires-Dist: pint >=0.22
13
- Requires-Dist: pyabc2
14
- Requires-Dist: rich ; extra == "cli"
15
- Requires-Dist: typer ; extra == "cli"
16
- Requires-Dist: ipython ; extra == "dev"
17
- Requires-Dist: matplotlib ; extra == "doc"
18
- Requires-Dist: myst-nb ; extra == "doc"
19
- Requires-Dist: myst-parser ; extra == "doc"
20
- Requires-Dist: sphinx ; extra == "doc"
21
- Requires-Dist: sphinx-book-theme ; extra == "doc"
22
- Requires-Dist: sphinx-click ; extra == "doc"
23
- Requires-Dist: sphinx-copybutton ; extra == "doc"
24
- Requires-Dist: mypy ; extra == "test"
25
- Requires-Dist: pandas-stubs ; extra == "test"
26
- Requires-Dist: pytest ; extra == "test"
27
- Requires-Dist: pytest-codeblocks ; extra == "test"
28
- Project-URL: Documentation, https://stringcalc.readthedocs.io
29
- Project-URL: Home, https://github.com/zmoon/stringcalc
30
- Project-URL: Source, https://github.com/zmoon/stringcalc
31
- Provides-Extra: cli
32
- Provides-Extra: dev
33
- Provides-Extra: doc
34
- Provides-Extra: test
35
-
36
- # stringcalc
37
-
38
- _Calculations for [string instrument](https://en.wikipedia.org/wiki/String_instrument)s' strings_
39
-
40
- [![Version on PyPI](https://img.shields.io/pypi/v/stringcalc.svg)](https://pypi.org/project/stringcalc/)
41
- [![CI workflow status](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml/badge.svg)](https://github.com/zmoon/stringcalc/actions/workflows/ci.yml)
42
- [![Documentation status](https://readthedocs.org/projects/stringcalc/badge/?version=latest)](https://stringcalc.readthedocs.io/en/latest/)
43
- [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
44
-
45
- ```sh
46
- stringcalc gauge --suggest -T 17 -L 23 -P G2 -P D3 -P A3 -P E4 -N 6 --type DA:LEW --type DA:LE --no-column-info
47
- ```
48
-
49
- <img src="./docs/cli_gauge-suggest_tb23nw.svg" alt="CLI gauge suggestion output for 23&quot; TB for D'Addario loop-end nickel-wound strings" width="550">
50
-
@@ -1,5 +0,0 @@
1
- """
2
- Calculations for instrument strings
3
- """
4
-
5
- __version__ = "0.1.0.dev18"
@@ -1,32 +0,0 @@
1
- from __future__ import annotations
2
-
3
-
4
- def get_version(*, git: bool = True) -> str:
5
- """
6
- Parameters
7
- ----------
8
- git
9
- Include the short version of the Git hash in the returned version string.
10
- """
11
- from . import __version__
12
-
13
- ver = __version__
14
- if git:
15
- import subprocess
16
- import warnings
17
- from pathlib import Path
18
-
19
- repo = Path(__file__).parent.parent
20
-
21
- try:
22
- cmd = ["git", "-C", repo.as_posix(), "rev-parse", "--verify", "--short", "HEAD"]
23
- cp = subprocess.run(cmd, text=True, capture_output=True, check=True)
24
- except Exception:
25
- warnings.warn(f"Could not get Git hash using command `{' '.join(cmd)}`.")
26
- hsh = ""
27
- else:
28
- hsh = f" ({cp.stdout.strip()})"
29
-
30
- return f"{ver}{hsh}"
31
- else:
32
- return ver
File without changes