msgram-parser 1.2.0__tar.gz → 1.2.2__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.
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/LICENSE +70 -83
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/PKG-INFO +117 -103
- msgram_parser-1.2.2/README.md +65 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/dinamic/github.py +5 -5
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/domain/generic_class.py +22 -18
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/PKG-INFO +117 -103
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/pyproject.toml +1 -1
- msgram_parser-1.2.0/README.md +0 -39
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/__init__.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/accept_plugins.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/genericparser.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/__init__.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/dinamic/__init__.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/statics/__init__.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/statics/sonarqube.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/services/__init__.py +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/SOURCES.txt +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/dependency_links.txt +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/requires.txt +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/top_level.txt +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/setup.cfg +0 -0
- {msgram_parser-1.2.0 → msgram_parser-1.2.2}/tests/tests_main_file.py +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
GNU GENERAL PUBLIC LICENSE
|
|
2
|
-
Version 3,
|
|
1
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 19 November 2007
|
|
3
3
|
|
|
4
4
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
5
5
|
Everyone is permitted to copy and distribute verbatim copies
|
|
@@ -7,17 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
Preamble
|
|
9
9
|
|
|
10
|
-
The GNU General Public License is a free, copyleft license for
|
|
11
|
-
software and other kinds of works
|
|
10
|
+
The GNU Affero General Public License is a free, copyleft license for
|
|
11
|
+
software and other kinds of works, specifically designed to ensure
|
|
12
|
+
cooperation with the community in the case of network server software.
|
|
12
13
|
|
|
13
14
|
The licenses for most software and other practical works are designed
|
|
14
15
|
to take away your freedom to share and change the works. By contrast,
|
|
15
|
-
|
|
16
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
16
17
|
share and change all versions of a program--to make sure it remains free
|
|
17
|
-
software for all its users.
|
|
18
|
-
GNU General Public License for most of our software; it applies also to
|
|
19
|
-
any other work released this way by its authors. You can apply it to
|
|
20
|
-
your programs, too.
|
|
18
|
+
software for all its users.
|
|
21
19
|
|
|
22
20
|
When we speak of free software, we are referring to freedom, not
|
|
23
21
|
price. Our General Public Licenses are designed to make sure that you
|
|
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
|
|
|
26
24
|
want it, that you can change the software or use pieces of it in new
|
|
27
25
|
free programs, and that you know you can do these things.
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
that
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
products. If such problems arise substantially in other domains, we
|
|
58
|
-
stand ready to extend this provision to those domains in future versions
|
|
59
|
-
of the GPL, as needed to protect the freedom of users.
|
|
60
|
-
|
|
61
|
-
Finally, every program is threatened constantly by software patents.
|
|
62
|
-
States should not allow patents to restrict development and use of
|
|
63
|
-
software on general-purpose computers, but in those that do, we wish to
|
|
64
|
-
avoid the special danger that patents applied to a free program could
|
|
65
|
-
make it effectively proprietary. To prevent this, the GPL assures that
|
|
66
|
-
patents cannot be used to render the program non-free.
|
|
27
|
+
Developers that use our General Public Licenses protect your rights
|
|
28
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
|
29
|
+
you this License which gives you legal permission to copy, distribute
|
|
30
|
+
and/or modify the software.
|
|
31
|
+
|
|
32
|
+
A secondary benefit of defending all users' freedom is that
|
|
33
|
+
improvements made in alternate versions of the program, if they
|
|
34
|
+
receive widespread use, become available for other developers to
|
|
35
|
+
incorporate. Many developers of free software are heartened and
|
|
36
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
37
|
+
software used on network servers, this result may fail to come about.
|
|
38
|
+
The GNU General Public License permits making a modified version and
|
|
39
|
+
letting the public access it on a server without ever releasing its
|
|
40
|
+
source code to the public.
|
|
41
|
+
|
|
42
|
+
The GNU Affero General Public License is designed specifically to
|
|
43
|
+
ensure that, in such cases, the modified source code becomes available
|
|
44
|
+
to the community. It requires the operator of a network server to
|
|
45
|
+
provide the source code of the modified version running there to the
|
|
46
|
+
users of that server. Therefore, public use of a modified version, on
|
|
47
|
+
a publicly accessible server, gives the public access to the source
|
|
48
|
+
code of the modified version.
|
|
49
|
+
|
|
50
|
+
An older license, called the Affero General Public License and
|
|
51
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
52
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
53
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
54
|
+
this license.
|
|
67
55
|
|
|
68
56
|
The precise terms and conditions for copying, distribution and
|
|
69
57
|
modification follow.
|
|
@@ -72,7 +60,7 @@ modification follow.
|
|
|
72
60
|
|
|
73
61
|
0. Definitions.
|
|
74
62
|
|
|
75
|
-
"This License" refers to version 3 of the GNU General Public License.
|
|
63
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
76
64
|
|
|
77
65
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
78
66
|
works, such as semiconductor masks.
|
|
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
|
|
|
549
537
|
the Program, the only way you could satisfy both those terms and this
|
|
550
538
|
License would be to refrain entirely from conveying the Program.
|
|
551
539
|
|
|
552
|
-
13. Use with the GNU
|
|
540
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
541
|
+
|
|
542
|
+
Notwithstanding any other provision of this License, if you modify the
|
|
543
|
+
Program, your modified version must prominently offer all users
|
|
544
|
+
interacting with it remotely through a computer network (if your version
|
|
545
|
+
supports such interaction) an opportunity to receive the Corresponding
|
|
546
|
+
Source of your version by providing access to the Corresponding Source
|
|
547
|
+
from a network server at no charge, through some standard or customary
|
|
548
|
+
means of facilitating copying of software. This Corresponding Source
|
|
549
|
+
shall include the Corresponding Source for any work covered by version 3
|
|
550
|
+
of the GNU General Public License that is incorporated pursuant to the
|
|
551
|
+
following paragraph.
|
|
553
552
|
|
|
554
553
|
Notwithstanding any other provision of this License, you have
|
|
555
554
|
permission to link or combine any covered work with a work licensed
|
|
556
|
-
under version 3 of the GNU
|
|
555
|
+
under version 3 of the GNU General Public License into a single
|
|
557
556
|
combined work, and to convey the resulting work. The terms of this
|
|
558
557
|
License will continue to apply to the part which is the covered work,
|
|
559
|
-
but the
|
|
560
|
-
|
|
561
|
-
combination as such.
|
|
558
|
+
but the work with which it is combined will remain governed by version
|
|
559
|
+
3 of the GNU General Public License.
|
|
562
560
|
|
|
563
561
|
14. Revised Versions of this License.
|
|
564
562
|
|
|
565
563
|
The Free Software Foundation may publish revised and/or new versions of
|
|
566
|
-
the GNU General Public License from time to time. Such new versions
|
|
567
|
-
be similar in spirit to the present version, but may differ in detail to
|
|
564
|
+
the GNU Affero General Public License from time to time. Such new versions
|
|
565
|
+
will be similar in spirit to the present version, but may differ in detail to
|
|
568
566
|
address new problems or concerns.
|
|
569
567
|
|
|
570
568
|
Each version is given a distinguishing version number. If the
|
|
571
|
-
Program specifies that a certain numbered version of the GNU General
|
|
569
|
+
Program specifies that a certain numbered version of the GNU Affero General
|
|
572
570
|
Public License "or any later version" applies to it, you have the
|
|
573
571
|
option of following the terms and conditions either of that numbered
|
|
574
572
|
version or of any later version published by the Free Software
|
|
575
573
|
Foundation. If the Program does not specify a version number of the
|
|
576
|
-
GNU General Public License, you may choose any version ever published
|
|
574
|
+
GNU Affero General Public License, you may choose any version ever published
|
|
577
575
|
by the Free Software Foundation.
|
|
578
576
|
|
|
579
577
|
If the Program specifies that a proxy can decide which future
|
|
580
|
-
versions of the GNU General Public License can be used, that proxy's
|
|
578
|
+
versions of the GNU Affero General Public License can be used, that proxy's
|
|
581
579
|
public statement of acceptance of a version permanently authorizes you
|
|
582
580
|
to choose that version for the Program.
|
|
583
581
|
|
|
@@ -631,44 +629,33 @@ to attach them to the start of each source file to most effectively
|
|
|
631
629
|
state the exclusion of warranty; and each file should have at least
|
|
632
630
|
the "copyright" line and a pointer to where the full notice is found.
|
|
633
631
|
|
|
634
|
-
|
|
635
|
-
Copyright (C)
|
|
632
|
+
measuresoftgram
|
|
633
|
+
Copyright (C) 2021 MeasureSoftGram
|
|
636
634
|
|
|
637
635
|
This program is free software: you can redistribute it and/or modify
|
|
638
|
-
it under the terms of the GNU General Public License as published
|
|
639
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
636
|
+
it under the terms of the GNU Affero General Public License as published
|
|
637
|
+
by the Free Software Foundation, either version 3 of the License, or
|
|
640
638
|
(at your option) any later version.
|
|
641
639
|
|
|
642
640
|
This program is distributed in the hope that it will be useful,
|
|
643
641
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
644
642
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
645
|
-
GNU General Public License for more details.
|
|
643
|
+
GNU Affero General Public License for more details.
|
|
646
644
|
|
|
647
|
-
You should have received a copy of the GNU General Public License
|
|
645
|
+
You should have received a copy of the GNU Affero General Public License
|
|
648
646
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
649
647
|
|
|
650
648
|
Also add information on how to contact you by electronic and paper mail.
|
|
651
649
|
|
|
652
|
-
If
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
661
|
-
parts of the General Public License. Of course, your program's commands
|
|
662
|
-
might be different; for a GUI interface, you would use an "about box".
|
|
650
|
+
If your software can interact with users remotely through a computer
|
|
651
|
+
network, you should also make sure that it provides a way for users to
|
|
652
|
+
get its source. For example, if your program is a web application, its
|
|
653
|
+
interface could display a "Source" link that leads users to an archive
|
|
654
|
+
of the code. There are many ways you could offer source, and different
|
|
655
|
+
solutions will be better for different programs; see section 13 for the
|
|
656
|
+
specific requirements.
|
|
663
657
|
|
|
664
658
|
You should also get your employer (if you work as a programmer) or school,
|
|
665
659
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
666
|
-
For more information on this, and how to apply and follow the GNU
|
|
660
|
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
667
661
|
<https://www.gnu.org/licenses/>.
|
|
668
|
-
|
|
669
|
-
The GNU General Public License does not permit incorporating your program
|
|
670
|
-
into proprietary programs. If your program is a subroutine library, you
|
|
671
|
-
may consider it more useful to permit linking proprietary applications with
|
|
672
|
-
the library. If this is what you want to do, use the GNU Lesser General
|
|
673
|
-
Public License instead of this License. But first, please read
|
|
674
|
-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: msgram-parser
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: The msgram Parser is a PyPI library that serves as a repository for parsing metrics, meaning that it provides a collection of tools, functions, and resources specifically designed to handle and extract information from metric data.
|
|
5
5
|
Author-email: MeasureSoftGram <measuresoftgram@gmail.com>
|
|
6
|
-
License: GNU GENERAL PUBLIC LICENSE
|
|
7
|
-
Version 3,
|
|
6
|
+
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
7
|
+
Version 3, 19 November 2007
|
|
8
8
|
|
|
9
9
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
10
10
|
Everyone is permitted to copy and distribute verbatim copies
|
|
@@ -12,17 +12,15 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
12
12
|
|
|
13
13
|
Preamble
|
|
14
14
|
|
|
15
|
-
The GNU General Public License is a free, copyleft license for
|
|
16
|
-
software and other kinds of works
|
|
15
|
+
The GNU Affero General Public License is a free, copyleft license for
|
|
16
|
+
software and other kinds of works, specifically designed to ensure
|
|
17
|
+
cooperation with the community in the case of network server software.
|
|
17
18
|
|
|
18
19
|
The licenses for most software and other practical works are designed
|
|
19
20
|
to take away your freedom to share and change the works. By contrast,
|
|
20
|
-
|
|
21
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
21
22
|
share and change all versions of a program--to make sure it remains free
|
|
22
|
-
software for all its users.
|
|
23
|
-
GNU General Public License for most of our software; it applies also to
|
|
24
|
-
any other work released this way by its authors. You can apply it to
|
|
25
|
-
your programs, too.
|
|
23
|
+
software for all its users.
|
|
26
24
|
|
|
27
25
|
When we speak of free software, we are referring to freedom, not
|
|
28
26
|
price. Our General Public Licenses are designed to make sure that you
|
|
@@ -31,44 +29,34 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
31
29
|
want it, that you can change the software or use pieces of it in new
|
|
32
30
|
free programs, and that you know you can do these things.
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
that
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
products. If such problems arise substantially in other domains, we
|
|
63
|
-
stand ready to extend this provision to those domains in future versions
|
|
64
|
-
of the GPL, as needed to protect the freedom of users.
|
|
65
|
-
|
|
66
|
-
Finally, every program is threatened constantly by software patents.
|
|
67
|
-
States should not allow patents to restrict development and use of
|
|
68
|
-
software on general-purpose computers, but in those that do, we wish to
|
|
69
|
-
avoid the special danger that patents applied to a free program could
|
|
70
|
-
make it effectively proprietary. To prevent this, the GPL assures that
|
|
71
|
-
patents cannot be used to render the program non-free.
|
|
32
|
+
Developers that use our General Public Licenses protect your rights
|
|
33
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
|
34
|
+
you this License which gives you legal permission to copy, distribute
|
|
35
|
+
and/or modify the software.
|
|
36
|
+
|
|
37
|
+
A secondary benefit of defending all users' freedom is that
|
|
38
|
+
improvements made in alternate versions of the program, if they
|
|
39
|
+
receive widespread use, become available for other developers to
|
|
40
|
+
incorporate. Many developers of free software are heartened and
|
|
41
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
42
|
+
software used on network servers, this result may fail to come about.
|
|
43
|
+
The GNU General Public License permits making a modified version and
|
|
44
|
+
letting the public access it on a server without ever releasing its
|
|
45
|
+
source code to the public.
|
|
46
|
+
|
|
47
|
+
The GNU Affero General Public License is designed specifically to
|
|
48
|
+
ensure that, in such cases, the modified source code becomes available
|
|
49
|
+
to the community. It requires the operator of a network server to
|
|
50
|
+
provide the source code of the modified version running there to the
|
|
51
|
+
users of that server. Therefore, public use of a modified version, on
|
|
52
|
+
a publicly accessible server, gives the public access to the source
|
|
53
|
+
code of the modified version.
|
|
54
|
+
|
|
55
|
+
An older license, called the Affero General Public License and
|
|
56
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
57
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
58
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
59
|
+
this license.
|
|
72
60
|
|
|
73
61
|
The precise terms and conditions for copying, distribution and
|
|
74
62
|
modification follow.
|
|
@@ -77,7 +65,7 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
77
65
|
|
|
78
66
|
0. Definitions.
|
|
79
67
|
|
|
80
|
-
"This License" refers to version 3 of the GNU General Public License.
|
|
68
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
81
69
|
|
|
82
70
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
83
71
|
works, such as semiconductor masks.
|
|
@@ -554,35 +542,45 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
554
542
|
the Program, the only way you could satisfy both those terms and this
|
|
555
543
|
License would be to refrain entirely from conveying the Program.
|
|
556
544
|
|
|
557
|
-
13. Use with the GNU
|
|
545
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
546
|
+
|
|
547
|
+
Notwithstanding any other provision of this License, if you modify the
|
|
548
|
+
Program, your modified version must prominently offer all users
|
|
549
|
+
interacting with it remotely through a computer network (if your version
|
|
550
|
+
supports such interaction) an opportunity to receive the Corresponding
|
|
551
|
+
Source of your version by providing access to the Corresponding Source
|
|
552
|
+
from a network server at no charge, through some standard or customary
|
|
553
|
+
means of facilitating copying of software. This Corresponding Source
|
|
554
|
+
shall include the Corresponding Source for any work covered by version 3
|
|
555
|
+
of the GNU General Public License that is incorporated pursuant to the
|
|
556
|
+
following paragraph.
|
|
558
557
|
|
|
559
558
|
Notwithstanding any other provision of this License, you have
|
|
560
559
|
permission to link or combine any covered work with a work licensed
|
|
561
|
-
under version 3 of the GNU
|
|
560
|
+
under version 3 of the GNU General Public License into a single
|
|
562
561
|
combined work, and to convey the resulting work. The terms of this
|
|
563
562
|
License will continue to apply to the part which is the covered work,
|
|
564
|
-
but the
|
|
565
|
-
|
|
566
|
-
combination as such.
|
|
563
|
+
but the work with which it is combined will remain governed by version
|
|
564
|
+
3 of the GNU General Public License.
|
|
567
565
|
|
|
568
566
|
14. Revised Versions of this License.
|
|
569
567
|
|
|
570
568
|
The Free Software Foundation may publish revised and/or new versions of
|
|
571
|
-
the GNU General Public License from time to time. Such new versions
|
|
572
|
-
be similar in spirit to the present version, but may differ in detail to
|
|
569
|
+
the GNU Affero General Public License from time to time. Such new versions
|
|
570
|
+
will be similar in spirit to the present version, but may differ in detail to
|
|
573
571
|
address new problems or concerns.
|
|
574
572
|
|
|
575
573
|
Each version is given a distinguishing version number. If the
|
|
576
|
-
Program specifies that a certain numbered version of the GNU General
|
|
574
|
+
Program specifies that a certain numbered version of the GNU Affero General
|
|
577
575
|
Public License "or any later version" applies to it, you have the
|
|
578
576
|
option of following the terms and conditions either of that numbered
|
|
579
577
|
version or of any later version published by the Free Software
|
|
580
578
|
Foundation. If the Program does not specify a version number of the
|
|
581
|
-
GNU General Public License, you may choose any version ever published
|
|
579
|
+
GNU Affero General Public License, you may choose any version ever published
|
|
582
580
|
by the Free Software Foundation.
|
|
583
581
|
|
|
584
582
|
If the Program specifies that a proxy can decide which future
|
|
585
|
-
versions of the GNU General Public License can be used, that proxy's
|
|
583
|
+
versions of the GNU Affero General Public License can be used, that proxy's
|
|
586
584
|
public statement of acceptance of a version permanently authorizes you
|
|
587
585
|
to choose that version for the Program.
|
|
588
586
|
|
|
@@ -636,48 +634,37 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
636
634
|
state the exclusion of warranty; and each file should have at least
|
|
637
635
|
the "copyright" line and a pointer to where the full notice is found.
|
|
638
636
|
|
|
639
|
-
|
|
640
|
-
Copyright (C)
|
|
637
|
+
measuresoftgram
|
|
638
|
+
Copyright (C) 2021 MeasureSoftGram
|
|
641
639
|
|
|
642
640
|
This program is free software: you can redistribute it and/or modify
|
|
643
|
-
it under the terms of the GNU General Public License as published
|
|
644
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
641
|
+
it under the terms of the GNU Affero General Public License as published
|
|
642
|
+
by the Free Software Foundation, either version 3 of the License, or
|
|
645
643
|
(at your option) any later version.
|
|
646
644
|
|
|
647
645
|
This program is distributed in the hope that it will be useful,
|
|
648
646
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
649
647
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
650
|
-
GNU General Public License for more details.
|
|
648
|
+
GNU Affero General Public License for more details.
|
|
651
649
|
|
|
652
|
-
You should have received a copy of the GNU General Public License
|
|
650
|
+
You should have received a copy of the GNU Affero General Public License
|
|
653
651
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
654
652
|
|
|
655
653
|
Also add information on how to contact you by electronic and paper mail.
|
|
656
654
|
|
|
657
|
-
If
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
666
|
-
parts of the General Public License. Of course, your program's commands
|
|
667
|
-
might be different; for a GUI interface, you would use an "about box".
|
|
655
|
+
If your software can interact with users remotely through a computer
|
|
656
|
+
network, you should also make sure that it provides a way for users to
|
|
657
|
+
get its source. For example, if your program is a web application, its
|
|
658
|
+
interface could display a "Source" link that leads users to an archive
|
|
659
|
+
of the code. There are many ways you could offer source, and different
|
|
660
|
+
solutions will be better for different programs; see section 13 for the
|
|
661
|
+
specific requirements.
|
|
668
662
|
|
|
669
663
|
You should also get your employer (if you work as a programmer) or school,
|
|
670
664
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
671
|
-
For more information on this, and how to apply and follow the GNU
|
|
665
|
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
672
666
|
<https://www.gnu.org/licenses/>.
|
|
673
667
|
|
|
674
|
-
The GNU General Public License does not permit incorporating your program
|
|
675
|
-
into proprietary programs. If your program is a subroutine library, you
|
|
676
|
-
may consider it more useful to permit linking proprietary applications with
|
|
677
|
-
the library. If this is what you want to do, use the GNU Lesser General
|
|
678
|
-
Public License instead of this License. But first, please read
|
|
679
|
-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
680
|
-
|
|
681
668
|
Keywords: parser,measures,quality,algebraic model
|
|
682
669
|
Classifier: Environment :: Console
|
|
683
670
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
|
|
@@ -696,43 +683,70 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
696
683
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
697
684
|
Requires-Dist: setuptools; extra == "dev"
|
|
698
685
|
Requires-Dist: wheel; extra == "dev"
|
|
686
|
+
Dynamic: license-file
|
|
699
687
|
|
|
700
|
-
#
|
|
688
|
+
# 2026.1 MeasureSoftGram-Parser
|
|
701
689
|
|
|
702
|
-
[](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-
|
|
708
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
691
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
692
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
693
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
694
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
695
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
696
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
697
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
698
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
699
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
700
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
713
701
|
|
|
714
702
|
## What is?
|
|
715
703
|
|
|
716
|
-
The MeasureSoftGram-Parser is responsible for parsing content from
|
|
704
|
+
The MeasureSoftGram-Parser is responsible for parsing content from different sources of data. The goal of this parser is to be as general as possible, adapting to information that comes from HTTP requests or JSON files.
|
|
717
705
|
|
|
718
706
|
## How to run Parser
|
|
719
707
|
|
|
720
708
|
### Install dependencies
|
|
721
709
|
|
|
722
|
-
|
|
710
|
+
```bash
|
|
711
|
+
pip install -r requirements.txt
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
## How to run tests
|
|
715
|
+
|
|
716
|
+
### Install dependencies
|
|
717
|
+
|
|
718
|
+
```bash
|
|
719
|
+
pip install -r requirements.txt
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
### Run the test suite
|
|
723
|
+
|
|
724
|
+
```bash
|
|
725
|
+
tox
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
To run the tests for a specific package or file, pass it as an argument:
|
|
729
|
+
|
|
730
|
+
```bash
|
|
731
|
+
tox <PACKAGE OR FILE>
|
|
732
|
+
```
|
|
723
733
|
|
|
724
734
|
## Contribute
|
|
725
735
|
|
|
726
|
-
Do you want to contribute with our project? Access our [contribution guide](
|
|
736
|
+
Do you want to contribute with our project? Access our [contribution guide](./CONTRIBUTING.md) where we explain how you do it.
|
|
727
737
|
|
|
728
738
|
## License
|
|
729
739
|
|
|
730
|
-
AGPL-3.0 License
|
|
740
|
+
[GNU AGPL-3.0 License](./LICENSE)
|
|
741
|
+
|
|
742
|
+
## Code of Conduct
|
|
743
|
+
|
|
744
|
+
We follow a [Code of Conduct](./CODE_OF_CONDUCT.md) — please read it before contributing.
|
|
731
745
|
|
|
732
746
|
## Documentation
|
|
733
747
|
|
|
734
|
-
The documentation of this project can be accessed at
|
|
748
|
+
The documentation of this project can be accessed at: [Documentation](https://github.com/fga-eps-mds/2026.1-MeasureSoftGram-DOC)
|
|
735
749
|
|
|
736
750
|
## Wiki
|
|
737
751
|
|
|
738
|
-
For more
|
|
752
|
+
For more information, see our [wiki](https://fga-eps-mds.github.io/2026.1-MeasureSoftGram-DOC/).
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# 2026.1 MeasureSoftGram-Parser
|
|
2
|
+
|
|
3
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
4
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
5
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
6
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
7
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
8
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
9
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
10
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
11
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
12
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
13
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
14
|
+
|
|
15
|
+
## What is?
|
|
16
|
+
|
|
17
|
+
The MeasureSoftGram-Parser is responsible for parsing content from different sources of data. The goal of this parser is to be as general as possible, adapting to information that comes from HTTP requests or JSON files.
|
|
18
|
+
|
|
19
|
+
## How to run Parser
|
|
20
|
+
|
|
21
|
+
### Install dependencies
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install -r requirements.txt
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## How to run tests
|
|
28
|
+
|
|
29
|
+
### Install dependencies
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pip install -r requirements.txt
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Run the test suite
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
tox
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
To run the tests for a specific package or file, pass it as an argument:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
tox <PACKAGE OR FILE>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Contribute
|
|
48
|
+
|
|
49
|
+
Do you want to contribute with our project? Access our [contribution guide](./CONTRIBUTING.md) where we explain how you do it.
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
[GNU AGPL-3.0 License](./LICENSE)
|
|
54
|
+
|
|
55
|
+
## Code of Conduct
|
|
56
|
+
|
|
57
|
+
We follow a [Code of Conduct](./CODE_OF_CONDUCT.md) — please read it before contributing.
|
|
58
|
+
|
|
59
|
+
## Documentation
|
|
60
|
+
|
|
61
|
+
The documentation of this project can be accessed at: [Documentation](https://github.com/fga-eps-mds/2026.1-MeasureSoftGram-DOC)
|
|
62
|
+
|
|
63
|
+
## Wiki
|
|
64
|
+
|
|
65
|
+
For more information, see our [wiki](https://fga-eps-mds.github.io/2026.1-MeasureSoftGram-DOC/).
|
|
@@ -26,9 +26,9 @@ class ParserGithub(GenericStaticABC):
|
|
|
26
26
|
def _should_compute_workflow_run(self, run, filters):
|
|
27
27
|
if filters is None:
|
|
28
28
|
return True
|
|
29
|
-
if
|
|
29
|
+
if run["name"] not in filters["workflows"]:
|
|
30
30
|
return False
|
|
31
|
-
if "dates"
|
|
31
|
+
if filters["dates"] is not None:
|
|
32
32
|
dates = filters["dates"].split("-")
|
|
33
33
|
run_date = datetime.strptime(run["run_started_at"], "%Y-%m-%dT%H:%M:%SZ")
|
|
34
34
|
start = datetime.strptime(dates[0], "%d/%m/%Y")
|
|
@@ -127,9 +127,9 @@ class ParserGithub(GenericStaticABC):
|
|
|
127
127
|
input_file = kwargs.get("input_file")
|
|
128
128
|
filters = kwargs.get("filters")
|
|
129
129
|
token_from_github = (
|
|
130
|
-
input_file.get("token", None)
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
(input_file.get("token") if isinstance(input_file, dict) else None)
|
|
131
|
+
or os.environ.get("GITHUB_TOKEN")
|
|
132
|
+
or self.token
|
|
133
133
|
)
|
|
134
134
|
repository = (
|
|
135
135
|
input_file.get("repository", None)
|
|
@@ -4,39 +4,44 @@ import json
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class GenericStaticABC(metaclass=abc.ABCMeta):
|
|
7
|
+
|
|
7
8
|
@abc.abstractmethod
|
|
8
|
-
def extract(self, kwargs):
|
|
9
|
+
def extract(self, **kwargs):
|
|
9
10
|
raise NotImplementedError
|
|
10
11
|
|
|
11
12
|
def parser(self, **kwargs):
|
|
12
13
|
if "input_value" not in kwargs:
|
|
13
14
|
raise Exception("kwargs must have input_value key")
|
|
15
|
+
|
|
14
16
|
input_value = kwargs.get("input_value")
|
|
15
17
|
filters = kwargs.get("filters")
|
|
16
18
|
input_value_imported = self.get_if_input_is_file_or_str(input_value)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
|
|
20
|
+
return_value = self.extract( # ✅ Já estava correto
|
|
21
|
+
input_file=input_value_imported,
|
|
22
|
+
filters=filters,
|
|
23
|
+
)
|
|
21
24
|
return self.validate_return_type(return_value)
|
|
22
25
|
|
|
23
26
|
def get_if_input_is_file_or_str(self, input_value):
|
|
24
|
-
if isinstance(input_value, list
|
|
27
|
+
if isinstance(input_value, (list, dict)):
|
|
25
28
|
return input_value
|
|
26
|
-
|
|
29
|
+
|
|
30
|
+
if isinstance(input_value, str) and os.path.isfile(input_value):
|
|
27
31
|
path = os.path.abspath(input_value)
|
|
28
32
|
with open(path, "r") as file:
|
|
29
33
|
load = json.load(file)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
|
|
35
|
+
if isinstance(load, (list, dict)):
|
|
36
|
+
return_value = []
|
|
37
|
+
for keys in load:
|
|
38
|
+
if isinstance(load.get(keys, {}), list):
|
|
39
|
+
return_value.extend(load.get(keys, []))
|
|
40
|
+
else:
|
|
41
|
+
return_value.append(load.get(keys, {}))
|
|
37
42
|
return return_value
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
|
|
44
|
+
return input_value
|
|
40
45
|
|
|
41
46
|
def validate_return_type(self, return_value):
|
|
42
47
|
if not isinstance(return_value, dict):
|
|
@@ -47,5 +52,4 @@ class GenericStaticABC(metaclass=abc.ABCMeta):
|
|
|
47
52
|
raise Exception("Return from parser must have metrics key")
|
|
48
53
|
if return_value.get("values") is None:
|
|
49
54
|
raise Exception("Return from parser must have values key")
|
|
50
|
-
|
|
51
|
-
return return_value
|
|
55
|
+
return return_value
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: msgram-parser
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: The msgram Parser is a PyPI library that serves as a repository for parsing metrics, meaning that it provides a collection of tools, functions, and resources specifically designed to handle and extract information from metric data.
|
|
5
5
|
Author-email: MeasureSoftGram <measuresoftgram@gmail.com>
|
|
6
|
-
License: GNU GENERAL PUBLIC LICENSE
|
|
7
|
-
Version 3,
|
|
6
|
+
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
7
|
+
Version 3, 19 November 2007
|
|
8
8
|
|
|
9
9
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
10
10
|
Everyone is permitted to copy and distribute verbatim copies
|
|
@@ -12,17 +12,15 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
12
12
|
|
|
13
13
|
Preamble
|
|
14
14
|
|
|
15
|
-
The GNU General Public License is a free, copyleft license for
|
|
16
|
-
software and other kinds of works
|
|
15
|
+
The GNU Affero General Public License is a free, copyleft license for
|
|
16
|
+
software and other kinds of works, specifically designed to ensure
|
|
17
|
+
cooperation with the community in the case of network server software.
|
|
17
18
|
|
|
18
19
|
The licenses for most software and other practical works are designed
|
|
19
20
|
to take away your freedom to share and change the works. By contrast,
|
|
20
|
-
|
|
21
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
21
22
|
share and change all versions of a program--to make sure it remains free
|
|
22
|
-
software for all its users.
|
|
23
|
-
GNU General Public License for most of our software; it applies also to
|
|
24
|
-
any other work released this way by its authors. You can apply it to
|
|
25
|
-
your programs, too.
|
|
23
|
+
software for all its users.
|
|
26
24
|
|
|
27
25
|
When we speak of free software, we are referring to freedom, not
|
|
28
26
|
price. Our General Public Licenses are designed to make sure that you
|
|
@@ -31,44 +29,34 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
31
29
|
want it, that you can change the software or use pieces of it in new
|
|
32
30
|
free programs, and that you know you can do these things.
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
that
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
products. If such problems arise substantially in other domains, we
|
|
63
|
-
stand ready to extend this provision to those domains in future versions
|
|
64
|
-
of the GPL, as needed to protect the freedom of users.
|
|
65
|
-
|
|
66
|
-
Finally, every program is threatened constantly by software patents.
|
|
67
|
-
States should not allow patents to restrict development and use of
|
|
68
|
-
software on general-purpose computers, but in those that do, we wish to
|
|
69
|
-
avoid the special danger that patents applied to a free program could
|
|
70
|
-
make it effectively proprietary. To prevent this, the GPL assures that
|
|
71
|
-
patents cannot be used to render the program non-free.
|
|
32
|
+
Developers that use our General Public Licenses protect your rights
|
|
33
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
|
34
|
+
you this License which gives you legal permission to copy, distribute
|
|
35
|
+
and/or modify the software.
|
|
36
|
+
|
|
37
|
+
A secondary benefit of defending all users' freedom is that
|
|
38
|
+
improvements made in alternate versions of the program, if they
|
|
39
|
+
receive widespread use, become available for other developers to
|
|
40
|
+
incorporate. Many developers of free software are heartened and
|
|
41
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
42
|
+
software used on network servers, this result may fail to come about.
|
|
43
|
+
The GNU General Public License permits making a modified version and
|
|
44
|
+
letting the public access it on a server without ever releasing its
|
|
45
|
+
source code to the public.
|
|
46
|
+
|
|
47
|
+
The GNU Affero General Public License is designed specifically to
|
|
48
|
+
ensure that, in such cases, the modified source code becomes available
|
|
49
|
+
to the community. It requires the operator of a network server to
|
|
50
|
+
provide the source code of the modified version running there to the
|
|
51
|
+
users of that server. Therefore, public use of a modified version, on
|
|
52
|
+
a publicly accessible server, gives the public access to the source
|
|
53
|
+
code of the modified version.
|
|
54
|
+
|
|
55
|
+
An older license, called the Affero General Public License and
|
|
56
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
57
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
58
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
59
|
+
this license.
|
|
72
60
|
|
|
73
61
|
The precise terms and conditions for copying, distribution and
|
|
74
62
|
modification follow.
|
|
@@ -77,7 +65,7 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
77
65
|
|
|
78
66
|
0. Definitions.
|
|
79
67
|
|
|
80
|
-
"This License" refers to version 3 of the GNU General Public License.
|
|
68
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
81
69
|
|
|
82
70
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
83
71
|
works, such as semiconductor masks.
|
|
@@ -554,35 +542,45 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
554
542
|
the Program, the only way you could satisfy both those terms and this
|
|
555
543
|
License would be to refrain entirely from conveying the Program.
|
|
556
544
|
|
|
557
|
-
13. Use with the GNU
|
|
545
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
546
|
+
|
|
547
|
+
Notwithstanding any other provision of this License, if you modify the
|
|
548
|
+
Program, your modified version must prominently offer all users
|
|
549
|
+
interacting with it remotely through a computer network (if your version
|
|
550
|
+
supports such interaction) an opportunity to receive the Corresponding
|
|
551
|
+
Source of your version by providing access to the Corresponding Source
|
|
552
|
+
from a network server at no charge, through some standard or customary
|
|
553
|
+
means of facilitating copying of software. This Corresponding Source
|
|
554
|
+
shall include the Corresponding Source for any work covered by version 3
|
|
555
|
+
of the GNU General Public License that is incorporated pursuant to the
|
|
556
|
+
following paragraph.
|
|
558
557
|
|
|
559
558
|
Notwithstanding any other provision of this License, you have
|
|
560
559
|
permission to link or combine any covered work with a work licensed
|
|
561
|
-
under version 3 of the GNU
|
|
560
|
+
under version 3 of the GNU General Public License into a single
|
|
562
561
|
combined work, and to convey the resulting work. The terms of this
|
|
563
562
|
License will continue to apply to the part which is the covered work,
|
|
564
|
-
but the
|
|
565
|
-
|
|
566
|
-
combination as such.
|
|
563
|
+
but the work with which it is combined will remain governed by version
|
|
564
|
+
3 of the GNU General Public License.
|
|
567
565
|
|
|
568
566
|
14. Revised Versions of this License.
|
|
569
567
|
|
|
570
568
|
The Free Software Foundation may publish revised and/or new versions of
|
|
571
|
-
the GNU General Public License from time to time. Such new versions
|
|
572
|
-
be similar in spirit to the present version, but may differ in detail to
|
|
569
|
+
the GNU Affero General Public License from time to time. Such new versions
|
|
570
|
+
will be similar in spirit to the present version, but may differ in detail to
|
|
573
571
|
address new problems or concerns.
|
|
574
572
|
|
|
575
573
|
Each version is given a distinguishing version number. If the
|
|
576
|
-
Program specifies that a certain numbered version of the GNU General
|
|
574
|
+
Program specifies that a certain numbered version of the GNU Affero General
|
|
577
575
|
Public License "or any later version" applies to it, you have the
|
|
578
576
|
option of following the terms and conditions either of that numbered
|
|
579
577
|
version or of any later version published by the Free Software
|
|
580
578
|
Foundation. If the Program does not specify a version number of the
|
|
581
|
-
GNU General Public License, you may choose any version ever published
|
|
579
|
+
GNU Affero General Public License, you may choose any version ever published
|
|
582
580
|
by the Free Software Foundation.
|
|
583
581
|
|
|
584
582
|
If the Program specifies that a proxy can decide which future
|
|
585
|
-
versions of the GNU General Public License can be used, that proxy's
|
|
583
|
+
versions of the GNU Affero General Public License can be used, that proxy's
|
|
586
584
|
public statement of acceptance of a version permanently authorizes you
|
|
587
585
|
to choose that version for the Program.
|
|
588
586
|
|
|
@@ -636,48 +634,37 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
636
634
|
state the exclusion of warranty; and each file should have at least
|
|
637
635
|
the "copyright" line and a pointer to where the full notice is found.
|
|
638
636
|
|
|
639
|
-
|
|
640
|
-
Copyright (C)
|
|
637
|
+
measuresoftgram
|
|
638
|
+
Copyright (C) 2021 MeasureSoftGram
|
|
641
639
|
|
|
642
640
|
This program is free software: you can redistribute it and/or modify
|
|
643
|
-
it under the terms of the GNU General Public License as published
|
|
644
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
641
|
+
it under the terms of the GNU Affero General Public License as published
|
|
642
|
+
by the Free Software Foundation, either version 3 of the License, or
|
|
645
643
|
(at your option) any later version.
|
|
646
644
|
|
|
647
645
|
This program is distributed in the hope that it will be useful,
|
|
648
646
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
649
647
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
650
|
-
GNU General Public License for more details.
|
|
648
|
+
GNU Affero General Public License for more details.
|
|
651
649
|
|
|
652
|
-
You should have received a copy of the GNU General Public License
|
|
650
|
+
You should have received a copy of the GNU Affero General Public License
|
|
653
651
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
654
652
|
|
|
655
653
|
Also add information on how to contact you by electronic and paper mail.
|
|
656
654
|
|
|
657
|
-
If
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
666
|
-
parts of the General Public License. Of course, your program's commands
|
|
667
|
-
might be different; for a GUI interface, you would use an "about box".
|
|
655
|
+
If your software can interact with users remotely through a computer
|
|
656
|
+
network, you should also make sure that it provides a way for users to
|
|
657
|
+
get its source. For example, if your program is a web application, its
|
|
658
|
+
interface could display a "Source" link that leads users to an archive
|
|
659
|
+
of the code. There are many ways you could offer source, and different
|
|
660
|
+
solutions will be better for different programs; see section 13 for the
|
|
661
|
+
specific requirements.
|
|
668
662
|
|
|
669
663
|
You should also get your employer (if you work as a programmer) or school,
|
|
670
664
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
671
|
-
For more information on this, and how to apply and follow the GNU
|
|
665
|
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
672
666
|
<https://www.gnu.org/licenses/>.
|
|
673
667
|
|
|
674
|
-
The GNU General Public License does not permit incorporating your program
|
|
675
|
-
into proprietary programs. If your program is a subroutine library, you
|
|
676
|
-
may consider it more useful to permit linking proprietary applications with
|
|
677
|
-
the library. If this is what you want to do, use the GNU Lesser General
|
|
678
|
-
Public License instead of this License. But first, please read
|
|
679
|
-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
680
|
-
|
|
681
668
|
Keywords: parser,measures,quality,algebraic model
|
|
682
669
|
Classifier: Environment :: Console
|
|
683
670
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
|
|
@@ -696,43 +683,70 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
696
683
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
697
684
|
Requires-Dist: setuptools; extra == "dev"
|
|
698
685
|
Requires-Dist: wheel; extra == "dev"
|
|
686
|
+
Dynamic: license-file
|
|
699
687
|
|
|
700
|
-
#
|
|
688
|
+
# 2026.1 MeasureSoftGram-Parser
|
|
701
689
|
|
|
702
|
-
[](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-
|
|
708
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
691
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
692
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
693
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
694
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
695
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
696
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
697
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
698
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
699
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
700
|
+
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
|
|
713
701
|
|
|
714
702
|
## What is?
|
|
715
703
|
|
|
716
|
-
The MeasureSoftGram-Parser is responsible for parsing content from
|
|
704
|
+
The MeasureSoftGram-Parser is responsible for parsing content from different sources of data. The goal of this parser is to be as general as possible, adapting to information that comes from HTTP requests or JSON files.
|
|
717
705
|
|
|
718
706
|
## How to run Parser
|
|
719
707
|
|
|
720
708
|
### Install dependencies
|
|
721
709
|
|
|
722
|
-
|
|
710
|
+
```bash
|
|
711
|
+
pip install -r requirements.txt
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
## How to run tests
|
|
715
|
+
|
|
716
|
+
### Install dependencies
|
|
717
|
+
|
|
718
|
+
```bash
|
|
719
|
+
pip install -r requirements.txt
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
### Run the test suite
|
|
723
|
+
|
|
724
|
+
```bash
|
|
725
|
+
tox
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
To run the tests for a specific package or file, pass it as an argument:
|
|
729
|
+
|
|
730
|
+
```bash
|
|
731
|
+
tox <PACKAGE OR FILE>
|
|
732
|
+
```
|
|
723
733
|
|
|
724
734
|
## Contribute
|
|
725
735
|
|
|
726
|
-
Do you want to contribute with our project? Access our [contribution guide](
|
|
736
|
+
Do you want to contribute with our project? Access our [contribution guide](./CONTRIBUTING.md) where we explain how you do it.
|
|
727
737
|
|
|
728
738
|
## License
|
|
729
739
|
|
|
730
|
-
AGPL-3.0 License
|
|
740
|
+
[GNU AGPL-3.0 License](./LICENSE)
|
|
741
|
+
|
|
742
|
+
## Code of Conduct
|
|
743
|
+
|
|
744
|
+
We follow a [Code of Conduct](./CODE_OF_CONDUCT.md) — please read it before contributing.
|
|
731
745
|
|
|
732
746
|
## Documentation
|
|
733
747
|
|
|
734
|
-
The documentation of this project can be accessed at
|
|
748
|
+
The documentation of this project can be accessed at: [Documentation](https://github.com/fga-eps-mds/2026.1-MeasureSoftGram-DOC)
|
|
735
749
|
|
|
736
750
|
## Wiki
|
|
737
751
|
|
|
738
|
-
For more
|
|
752
|
+
For more information, see our [wiki](https://fga-eps-mds.github.io/2026.1-MeasureSoftGram-DOC/).
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "msgram-parser"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.2"
|
|
8
8
|
description = "The msgram Parser is a PyPI library that serves as a repository for parsing metrics, meaning that it provides a collection of tools, functions, and resources specifically designed to handle and extract information from metric data."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
msgram_parser-1.2.0/README.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# 2024-2 MeasureSoftGram-Parser
|
|
2
|
-
|
|
3
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
4
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
5
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
6
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
7
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
8
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
9
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
10
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
11
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
12
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
13
|
-
[](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
|
|
14
|
-
|
|
15
|
-
## What is?
|
|
16
|
-
|
|
17
|
-
The MeasureSoftGram-Parser is responsible for parsing content from diferent fonts of data. The goal of this parser is try to make it as general as possible, adapting with the information that come from https requisitions or JSON files.
|
|
18
|
-
|
|
19
|
-
## How to run Parser
|
|
20
|
-
|
|
21
|
-
### Install dependencies
|
|
22
|
-
|
|
23
|
-
pip install -r requirements.txt
|
|
24
|
-
|
|
25
|
-
## Contribute
|
|
26
|
-
|
|
27
|
-
Do you want to contribute with our project? Access our [contribution guide](https://fga-eps-mds.github.io/2023-1-MeasureSoftGram-Doc/guia_contribuicao/como_contribuir/) where we explain how you do it.
|
|
28
|
-
|
|
29
|
-
## License
|
|
30
|
-
|
|
31
|
-
AGPL-3.0 License
|
|
32
|
-
|
|
33
|
-
## Documentation
|
|
34
|
-
|
|
35
|
-
The documentation of this project can be accessed at this website: [Documentation](https://github.com/fga-eps-mds/2021-2-MeasureSoftGram-Doc)
|
|
36
|
-
|
|
37
|
-
## Wiki
|
|
38
|
-
|
|
39
|
-
For more informations, you can see our [wiki](https://fga-eps-mds.github.io/2023-1-MeasureSoftGram-Doc/)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|