maialib 1.6.0__cp310-cp310-musllinux_1_2_i686.whl → 1.6.1__cp310-cp310-musllinux_1_2_i686.whl
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.
Potentially problematic release.
This version of maialib might be problematic. Click here for more details.
- maialib/maiacore/maiacore.cpython-310-i386-linux-gnu.so +0 -0
- maialib/maiacore/maiacore.pyi +1 -1
- maialib/maiapy/other.py +6 -7
- maialib/maiapy/other.pyi +7 -7
- maialib/setup.py +1 -1
- {maialib-1.6.0.dist-info → maialib-1.6.1.dist-info}/METADATA +1 -1
- {maialib-1.6.0.dist-info → maialib-1.6.1.dist-info}/RECORD +24 -24
- {maialib-1.6.0.dist-info → maialib-1.6.1.dist-info}/WHEEL +1 -1
- {maialib-1.6.0.dist-info → maialib-1.6.1.dist-info}/LICENSE.txt +0 -0
- {maialib-1.6.0.dist-info → maialib-1.6.1.dist-info}/top_level.txt +0 -0
|
Binary file
|
maialib/maiacore/maiacore.pyi
CHANGED
maialib/maiapy/other.py
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import os
|
|
2
|
-
import pkg_resources
|
|
3
2
|
from enum import Enum
|
|
4
|
-
import platform
|
|
5
3
|
import subprocess
|
|
6
4
|
import maialib.maiacore as mc
|
|
5
|
+
import importlib.resources as pkg_resources
|
|
7
6
|
|
|
8
7
|
__all__ = ["getSampleScorePath", "SampleScore",
|
|
9
8
|
"setScoreEditorApp", "getScoreEditorApp", "openScore", "getXmlSamplesDirPath"]
|
|
@@ -29,7 +28,7 @@ def setScoreEditorApp(executableFullPath: str) -> None:
|
|
|
29
28
|
"""
|
|
30
29
|
global _scoreEditorApp
|
|
31
30
|
|
|
32
|
-
if
|
|
31
|
+
if os.path.isfile(executableFullPath):
|
|
33
32
|
_scoreEditorApp = executableFullPath
|
|
34
33
|
else:
|
|
35
34
|
raise ValueError('Invalid executable full path')
|
|
@@ -103,9 +102,9 @@ def getSampleScorePath(sampleEnum: SampleScore) -> str:
|
|
|
103
102
|
SampleScore.Strauss_Also_Sprach_Zarathustra: "Strauss_Also_Sprach_Zarathustra.mxl"
|
|
104
103
|
}[sampleEnum]
|
|
105
104
|
|
|
106
|
-
xmlDir = pkg_resources.
|
|
105
|
+
xmlDir = pkg_resources.files("maialib").joinpath("xml-scores-examples")
|
|
107
106
|
fileFullPath = os.path.join(xmlDir, xmlFileName)
|
|
108
|
-
return fileFullPath
|
|
107
|
+
return str(fileFullPath)
|
|
109
108
|
|
|
110
109
|
|
|
111
110
|
def getXmlSamplesDirPath() -> str:
|
|
@@ -127,5 +126,5 @@ def getXmlSamplesDirPath() -> str:
|
|
|
127
126
|
>>> score = ml.Score(xmlDir + "Bach/cello_suite_1_violin.xml")
|
|
128
127
|
>>> score.info()
|
|
129
128
|
"""
|
|
130
|
-
xmlDir = pkg_resources.
|
|
131
|
-
return xmlDir
|
|
129
|
+
xmlDir = pkg_resources.files("maialib").joinpath("xml-scores-examples")
|
|
130
|
+
return str(xmlDir)
|
maialib/maiapy/other.pyi
CHANGED
|
@@ -8,13 +8,13 @@ def getScoreEditorApp() -> str: ...
|
|
|
8
8
|
def openScore(score: mc.Score) -> None: ...
|
|
9
9
|
|
|
10
10
|
class SampleScore(Enum):
|
|
11
|
-
Bach_Cello_Suite_1
|
|
12
|
-
Beethoven_Symphony_5th
|
|
13
|
-
Chopin_Fantasie_Impromptu
|
|
14
|
-
Dvorak_Symphony_9_mov_4
|
|
15
|
-
Mahler_Symphony_8_Finale
|
|
16
|
-
Mozart_Requiem_Introitus
|
|
17
|
-
Strauss_Also_Sprach_Zarathustra
|
|
11
|
+
Bach_Cello_Suite_1 = 'Bach_Cello_Suite_1'
|
|
12
|
+
Beethoven_Symphony_5th = 'Beethoven_Symphony_5th'
|
|
13
|
+
Chopin_Fantasie_Impromptu = 'Chopin_Fantasie_Impromptu'
|
|
14
|
+
Dvorak_Symphony_9_mov_4 = 'Dvorak_Symphony_9_mov_4'
|
|
15
|
+
Mahler_Symphony_8_Finale = 'Mahler_Symphony_8_Finale'
|
|
16
|
+
Mozart_Requiem_Introitus = 'Mozart_Requiem_Introitus'
|
|
17
|
+
Strauss_Also_Sprach_Zarathustra = 'Strauss_Also_Sprach_Zarathustra'
|
|
18
18
|
|
|
19
19
|
def getSampleScorePath(sampleEnum: SampleScore) -> str: ...
|
|
20
20
|
def getXmlSamplesDirPath() -> str: ...
|
maialib/setup.py
CHANGED
|
@@ -8,7 +8,7 @@ with open("LICENSE.txt", "r", encoding="utf-8") as fh:
|
|
|
8
8
|
license_txt = fh.read()
|
|
9
9
|
|
|
10
10
|
# Lê a versão do arquivo VERSION
|
|
11
|
-
version_path = Path(__file__).parent / "VERSION"
|
|
11
|
+
version_path = Path(__file__).parent.parent / "VERSION"
|
|
12
12
|
version = version_path.read_text().strip()
|
|
13
13
|
|
|
14
14
|
setup(
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
+
maialib.libs/libstdc++-d2a021ba.so.6.0.32,sha256=1zr_iwGwEBe95gyKdgiw7C4Y1RR9ijV40j66rk4elzg,3537349
|
|
2
|
+
maialib.libs/libgcc_s-f3fb5a36.so.1,sha256=SrjjCCuY7RHj-T9JLrY9XFMgCCpYD9Qmezr4uoJGVEQ,168321
|
|
3
|
+
maialib-1.6.1.dist-info/RECORD,,
|
|
4
|
+
maialib-1.6.1.dist-info/WHEEL,sha256=65TL7weo8kkgwEa4wF9uXAGMNyj2mu46h4HGOyuAzms,110
|
|
5
|
+
maialib-1.6.1.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
|
|
6
|
+
maialib-1.6.1.dist-info/LICENSE.txt,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
7
|
+
maialib-1.6.1.dist-info/METADATA,sha256=dnJv1NuCDKbjtn4NrsOrV78tXnuqADoSHmHknU8tUr4,6926
|
|
1
8
|
maialib/__init__.py,sha256=qiIEL1ZDvpDK0bkGUdZRib3bG973EtKQDFYPFfvJKQA,122
|
|
2
|
-
maialib/setup.py,sha256=
|
|
3
|
-
maialib/
|
|
4
|
-
maialib/
|
|
5
|
-
maialib/
|
|
6
|
-
maialib/
|
|
7
|
-
maialib/
|
|
8
|
-
maialib/
|
|
9
|
+
maialib/setup.py,sha256=1Cbv0DfEUNK1EQHb64-1B0rwbRrsTSnJBY8fVn8gtbU,2168
|
|
10
|
+
maialib/xml-scores-examples/Mozart_Requiem_Introitus.mxl,sha256=_wc4hMaPhtgocUoL94uVzfVN3TGb08z8Xa2BL4SHfgA,91112
|
|
11
|
+
maialib/xml-scores-examples/Strauss_Also_Sprach_Zarathustra.mxl,sha256=nOQra05RHHDe_dXFs5WBJG2l9R1KQk64urV7lWYC2vw,18863
|
|
12
|
+
maialib/xml-scores-examples/Mahler_Symphony_8_Finale.mxl,sha256=F2-QBKNYjBv_sWT-z4LWi1rX84-P3msxtl-g6joA2FQ,229034
|
|
13
|
+
maialib/xml-scores-examples/Bach_Cello_Suite_1.mxl,sha256=0XGNlcW8o0W7kkeG8j2V_M4eggdOnrxvvvCkpf6x_z4,29622
|
|
14
|
+
maialib/xml-scores-examples/Chopin_Fantasie_Impromptu.mxl,sha256=HkouQ_4bI6XDoGmzJITuU81CzQZE2lQjwl6WNlfZmJA,35727
|
|
15
|
+
maialib/xml-scores-examples/Dvorak_Symphony_9_mov_4.mxl,sha256=s7FGUEmFmgcIdmkZ-bv4sOGGj5HYKc2nc760V79DMtM,261438
|
|
16
|
+
maialib/xml-scores-examples/Beethoven_Symphony_5_mov_1.xml,sha256=iZ2uqqHWMkDtmQVKovT-H_-zZp1SixASi1R7L3TmuOI,4775525
|
|
17
|
+
maialib/maiapy/other.pyi,sha256=KmvytsOd9WJpb7VPXJE76tIvTqb2C1MZtrGScy6RYTE,851
|
|
9
18
|
maialib/maiapy/__init__.pyi,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
10
19
|
maialib/maiapy/sethares_dissonance.pyi,sha256=DMZtrHTGSAaJwcBWX_G-sHF15_eETp1OeRr2L5vwdF0,1171
|
|
11
|
-
maialib/
|
|
20
|
+
maialib/maiapy/other.py,sha256=5o2zXcm1quM-9jfUhzzzuKrj2qTBaNheA6Z05Ux9H_g,4042
|
|
21
|
+
maialib/maiapy/plots.py,sha256=laAt68-IiZ4vNLFPKcGCf4IcMDIIZ1uavJpROrS8tqs,23153
|
|
22
|
+
maialib/maiapy/plots.pyi,sha256=7zchTew8-uvIvo0TmJXRd_SRlIX9w1AyOSplbL5YGNM,619
|
|
23
|
+
maialib/maiapy/sethares_dissonance.py,sha256=uRQLTQN55dk74hIFpzu9RlTWP0ZhRpVT3yTLI-su1ww,12830
|
|
24
|
+
maialib/maiapy/__init__.py,sha256=L8YtZYJMw_9TrdejcKs2c5xTbu5WMRwlHhKz6Qzulf8,77
|
|
12
25
|
maialib/maiacore/__init__.pyi,sha256=cJfflEKHJ6BPUTlDQt95xZmi2N3zwHJkHEXy27fBd5c,1282
|
|
13
|
-
maialib/maiacore/
|
|
14
|
-
maialib/maiacore/maiacore.
|
|
15
|
-
maialib/
|
|
16
|
-
maialib/xml-scores-examples/Chopin_Fantasie_Impromptu.mxl,sha256=HkouQ_4bI6XDoGmzJITuU81CzQZE2lQjwl6WNlfZmJA,35727
|
|
17
|
-
maialib/xml-scores-examples/Dvorak_Symphony_9_mov_4.mxl,sha256=s7FGUEmFmgcIdmkZ-bv4sOGGj5HYKc2nc760V79DMtM,261438
|
|
18
|
-
maialib/xml-scores-examples/Mahler_Symphony_8_Finale.mxl,sha256=F2-QBKNYjBv_sWT-z4LWi1rX84-P3msxtl-g6joA2FQ,229034
|
|
19
|
-
maialib/xml-scores-examples/Strauss_Also_Sprach_Zarathustra.mxl,sha256=nOQra05RHHDe_dXFs5WBJG2l9R1KQk64urV7lWYC2vw,18863
|
|
20
|
-
maialib/xml-scores-examples/Bach_Cello_Suite_1.mxl,sha256=0XGNlcW8o0W7kkeG8j2V_M4eggdOnrxvvvCkpf6x_z4,29622
|
|
21
|
-
maialib/xml-scores-examples/Mozart_Requiem_Introitus.mxl,sha256=_wc4hMaPhtgocUoL94uVzfVN3TGb08z8Xa2BL4SHfgA,91112
|
|
22
|
-
maialib-1.6.0.dist-info/WHEEL,sha256=i1C9O8RGFV5xyR2yn1PjpiegkASy_aoO71sslnvprtE,110
|
|
23
|
-
maialib-1.6.0.dist-info/top_level.txt,sha256=sZWQaa-Up2ba00WpAxBhOLKM6qQYTpUKJMXgSE0Nc48,17
|
|
24
|
-
maialib-1.6.0.dist-info/RECORD,,
|
|
25
|
-
maialib-1.6.0.dist-info/METADATA,sha256=Dui53TSrBFruNn-cd8YlalGB4pjGKTfc7RK5aNt40tI,6926
|
|
26
|
-
maialib-1.6.0.dist-info/LICENSE.txt,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
27
|
-
maialib.libs/libstdc++-d2a021ba.so.6.0.32,sha256=1zr_iwGwEBe95gyKdgiw7C4Y1RR9ijV40j66rk4elzg,3537349
|
|
28
|
-
maialib.libs/libgcc_s-f3fb5a36.so.1,sha256=SrjjCCuY7RHj-T9JLrY9XFMgCCpYD9Qmezr4uoJGVEQ,168321
|
|
26
|
+
maialib/maiacore/__init__.py,sha256=IW7E0LuzAttsn0b37SEthCA0LKuzSgkepSpq8DWExYQ,77
|
|
27
|
+
maialib/maiacore/maiacore.pyi,sha256=IoVUJYogP4VGrxvj3RcCe-AXMQ2MHWhP0x-bPVQsMrY,43395
|
|
28
|
+
maialib/maiacore/maiacore.cpython-310-i386-linux-gnu.so,sha256=LpsL8T_O98giuN-S10zcdRtHQHJZTxBVbTY6tTywjlA,5282253
|
|
File without changes
|
|
File without changes
|