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.
Files changed (22) hide show
  1. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/LICENSE +70 -83
  2. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/PKG-INFO +117 -103
  3. msgram_parser-1.2.2/README.md +65 -0
  4. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/dinamic/github.py +5 -5
  5. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/domain/generic_class.py +22 -18
  6. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/PKG-INFO +117 -103
  7. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/pyproject.toml +1 -1
  8. msgram_parser-1.2.0/README.md +0 -39
  9. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/__init__.py +0 -0
  10. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/accept_plugins.py +0 -0
  11. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/genericparser.py +0 -0
  12. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/__init__.py +0 -0
  13. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/dinamic/__init__.py +0 -0
  14. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/statics/__init__.py +0 -0
  15. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/plugins/statics/sonarqube.py +0 -0
  16. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/genericparser/services/__init__.py +0 -0
  17. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/SOURCES.txt +0 -0
  18. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/dependency_links.txt +0 -0
  19. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/requires.txt +0 -0
  20. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/msgram_parser.egg-info/top_level.txt +0 -0
  21. {msgram_parser-1.2.0 → msgram_parser-1.2.2}/setup.cfg +0 -0
  22. {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, 29 June 2007
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
- the GNU General Public License is intended to guarantee your freedom to
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. We, the Free Software Foundation, use the
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
- To protect your rights, we need to prevent others from denying you
30
- these rights or asking you to surrender the rights. Therefore, you have
31
- certain responsibilities if you distribute copies of the software, or if
32
- you modify it: responsibilities to respect the freedom of others.
33
-
34
- For example, if you distribute copies of such a program, whether
35
- gratis or for a fee, you must pass on to the recipients the same
36
- freedoms that you received. You must make sure that they, too, receive
37
- or can get the source code. And you must show them these terms so they
38
- know their rights.
39
-
40
- Developers that use the GNU GPL protect your rights with two steps:
41
- (1) assert copyright on the software, and (2) offer you this License
42
- giving you legal permission to copy, distribute and/or modify it.
43
-
44
- For the developers' and authors' protection, the GPL clearly explains
45
- that there is no warranty for this free software. For both users' and
46
- authors' sake, the GPL requires that modified versions be marked as
47
- changed, so that their problems will not be attributed erroneously to
48
- authors of previous versions.
49
-
50
- Some devices are designed to deny users access to install or run
51
- modified versions of the software inside them, although the manufacturer
52
- can do so. This is fundamentally incompatible with the aim of
53
- protecting users' freedom to change the software. The systematic
54
- pattern of such abuse occurs in the area of products for individuals to
55
- use, which is precisely where it is most unacceptable. Therefore, we
56
- have designed this version of the GPL to prohibit the practice for those
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 Affero General Public License.
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 Affero General Public License into a single
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 special requirements of the GNU Affero General Public License,
560
- section 13, concerning interaction through a network will apply to the
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 will
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
- <one line to give the program's name and a brief idea of what it does.>
635
- Copyright (C) <year> <name of author>
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 by
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 the program does terminal interaction, make it output a short
653
- notice like this when it starts in an interactive mode:
654
-
655
- <program> Copyright (C) <year> <name of author>
656
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
- This is free software, and you are welcome to redistribute it
658
- under certain conditions; type `show c' for details.
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 GPL, see
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
1
+ Metadata-Version: 2.4
2
2
  Name: msgram-parser
3
- Version: 1.2.0
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, 29 June 2007
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
- the GNU General Public License is intended to guarantee your freedom to
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. We, the Free Software Foundation, use the
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
- To protect your rights, we need to prevent others from denying you
35
- these rights or asking you to surrender the rights. Therefore, you have
36
- certain responsibilities if you distribute copies of the software, or if
37
- you modify it: responsibilities to respect the freedom of others.
38
-
39
- For example, if you distribute copies of such a program, whether
40
- gratis or for a fee, you must pass on to the recipients the same
41
- freedoms that you received. You must make sure that they, too, receive
42
- or can get the source code. And you must show them these terms so they
43
- know their rights.
44
-
45
- Developers that use the GNU GPL protect your rights with two steps:
46
- (1) assert copyright on the software, and (2) offer you this License
47
- giving you legal permission to copy, distribute and/or modify it.
48
-
49
- For the developers' and authors' protection, the GPL clearly explains
50
- that there is no warranty for this free software. For both users' and
51
- authors' sake, the GPL requires that modified versions be marked as
52
- changed, so that their problems will not be attributed erroneously to
53
- authors of previous versions.
54
-
55
- Some devices are designed to deny users access to install or run
56
- modified versions of the software inside them, although the manufacturer
57
- can do so. This is fundamentally incompatible with the aim of
58
- protecting users' freedom to change the software. The systematic
59
- pattern of such abuse occurs in the area of products for individuals to
60
- use, which is precisely where it is most unacceptable. Therefore, we
61
- have designed this version of the GPL to prohibit the practice for those
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 Affero General Public License.
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 Affero General Public License into a single
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 special requirements of the GNU Affero General Public License,
565
- section 13, concerning interaction through a network will apply to the
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 will
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
- <one line to give the program's name and a brief idea of what it does.>
640
- Copyright (C) <year> <name of author>
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 by
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 the program does terminal interaction, make it output a short
658
- notice like this when it starts in an interactive mode:
659
-
660
- <program> Copyright (C) <year> <name of author>
661
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
662
- This is free software, and you are welcome to redistribute it
663
- under certain conditions; type `show c' for details.
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 GPL, see
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
- # 2024-2 MeasureSoftGram-Parser
688
+ # 2026.1 MeasureSoftGram-Parser
701
689
 
702
- [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
703
- [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
704
- [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
705
- [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=bugs)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
706
- [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
707
- [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
708
- [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
709
- [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
710
- [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
711
- [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
712
- [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
690
+ [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
691
+ [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
692
+ [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
693
+ [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=bugs)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
694
+ [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
695
+ [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
696
+ [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
697
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
698
+ [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
699
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
700
+ [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=ncloc)](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 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.
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
- pip install -r requirements.txt
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](https://fga-eps-mds.github.io/2023-1-MeasureSoftGram-Doc/guia_contribuicao/como_contribuir/) where we explain how you do it.
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 this website: [Documentation](https://github.com/fga-eps-mds/2021-2-MeasureSoftGram-Doc)
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 informations, you can see our [wiki](https://fga-eps-mds.github.io/2023-1-MeasureSoftGram-Doc/)
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
+ [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
4
+ [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
5
+ [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
6
+ [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=bugs)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
7
+ [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
8
+ [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
9
+ [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
10
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
11
+ [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
12
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
13
+ [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=ncloc)](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 "workflows" in filters and run["name"] not in filters["workflows"]:
29
+ if run["name"] not in filters["workflows"]:
30
30
  return False
31
- if "dates" in filters:
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
- if type(input_file) is dict
132
- else None or os.environ.get("GITHUB_TOKEN", None) or self.token
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
- return_value = self.extract(**{
18
- "input_file": input_value_imported,
19
- "filters": filters,
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) or isinstance(input_value, dict):
27
+ if isinstance(input_value, (list, dict)):
25
28
  return input_value
26
- if type(input_value) is str and os.path.isfile(input_value):
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
- if isinstance(load, list) or isinstance(load, dict):
31
- return_value = []
32
- for keys in load:
33
- if type(load.get(keys, {})) == list:
34
- return_value.extend(load.get(keys, []))
35
- else:
36
- return_value.append(load.get(keys, {}))
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
- else:
39
- return input_value
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
1
+ Metadata-Version: 2.4
2
2
  Name: msgram-parser
3
- Version: 1.2.0
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, 29 June 2007
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
- the GNU General Public License is intended to guarantee your freedom to
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. We, the Free Software Foundation, use the
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
- To protect your rights, we need to prevent others from denying you
35
- these rights or asking you to surrender the rights. Therefore, you have
36
- certain responsibilities if you distribute copies of the software, or if
37
- you modify it: responsibilities to respect the freedom of others.
38
-
39
- For example, if you distribute copies of such a program, whether
40
- gratis or for a fee, you must pass on to the recipients the same
41
- freedoms that you received. You must make sure that they, too, receive
42
- or can get the source code. And you must show them these terms so they
43
- know their rights.
44
-
45
- Developers that use the GNU GPL protect your rights with two steps:
46
- (1) assert copyright on the software, and (2) offer you this License
47
- giving you legal permission to copy, distribute and/or modify it.
48
-
49
- For the developers' and authors' protection, the GPL clearly explains
50
- that there is no warranty for this free software. For both users' and
51
- authors' sake, the GPL requires that modified versions be marked as
52
- changed, so that their problems will not be attributed erroneously to
53
- authors of previous versions.
54
-
55
- Some devices are designed to deny users access to install or run
56
- modified versions of the software inside them, although the manufacturer
57
- can do so. This is fundamentally incompatible with the aim of
58
- protecting users' freedom to change the software. The systematic
59
- pattern of such abuse occurs in the area of products for individuals to
60
- use, which is precisely where it is most unacceptable. Therefore, we
61
- have designed this version of the GPL to prohibit the practice for those
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 Affero General Public License.
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 Affero General Public License into a single
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 special requirements of the GNU Affero General Public License,
565
- section 13, concerning interaction through a network will apply to the
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 will
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
- <one line to give the program's name and a brief idea of what it does.>
640
- Copyright (C) <year> <name of author>
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 by
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 the program does terminal interaction, make it output a short
658
- notice like this when it starts in an interactive mode:
659
-
660
- <program> Copyright (C) <year> <name of author>
661
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
662
- This is free software, and you are welcome to redistribute it
663
- under certain conditions; type `show c' for details.
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 GPL, see
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
- # 2024-2 MeasureSoftGram-Parser
688
+ # 2026.1 MeasureSoftGram-Parser
701
689
 
702
- [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
703
- [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
704
- [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
705
- [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=bugs)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
706
- [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
707
- [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
708
- [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
709
- [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
710
- [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
711
- [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
712
- [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
690
+ [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
691
+ [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
692
+ [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
693
+ [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=bugs)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
694
+ [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
695
+ [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
696
+ [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
697
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
698
+ [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
699
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2026.1-MeasureSoftGram-Parser)
700
+ [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2026.1-MeasureSoftGram-Parser&metric=ncloc)](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 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.
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
- pip install -r requirements.txt
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](https://fga-eps-mds.github.io/2023-1-MeasureSoftGram-Doc/guia_contribuicao/como_contribuir/) where we explain how you do it.
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 this website: [Documentation](https://github.com/fga-eps-mds/2021-2-MeasureSoftGram-Doc)
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 informations, you can see our [wiki](https://fga-eps-mds.github.io/2023-1-MeasureSoftGram-Doc/)
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.0"
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 = [
@@ -1,39 +0,0 @@
1
- # 2024-2 MeasureSoftGram-Parser
2
-
3
- [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
4
- [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
5
- [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
6
- [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=bugs)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
7
- [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
8
- [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
9
- [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
10
- [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
11
- [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
12
- [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fga-eps-mds_2023-1-MeasureSoftGram-Parser)
13
- [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=fga-eps-mds_2023-1-MeasureSoftGram-Parser&metric=ncloc)](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