InteractiveHtmlBom 2.11.1__tar.gz → 2.11.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 (78) hide show
  1. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/kicad.py +3 -3
  2. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/version.py +1 -1
  3. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/PKG-INFO +1 -1
  4. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/.github/workflows/ci.yml +0 -0
  5. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/.github/workflows/release.yml +0 -0
  6. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/.gitignore +0 -0
  7. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/.jsbeautifyrc +0 -0
  8. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/DATAFORMAT.md +0 -0
  9. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/.gitattributes +0 -0
  10. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/Run.bat +0 -0
  11. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/__init__.py +0 -0
  12. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/compat.py +0 -0
  13. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/__init__.py +0 -0
  14. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/config.py +0 -0
  15. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/fontparser.py +0 -0
  16. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/ibom.py +0 -0
  17. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/lzstring.py +0 -0
  18. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/newstroke_font.py +0 -0
  19. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/core/units.py +0 -0
  20. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/__init__.py +0 -0
  21. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/bitmaps/btn-arrow-down.png +0 -0
  22. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/bitmaps/btn-arrow-up.png +0 -0
  23. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/bitmaps/btn-minus.png +0 -0
  24. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/bitmaps/btn-plus.png +0 -0
  25. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/bitmaps/btn-question.png +0 -0
  26. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/dialog_base.py +0 -0
  27. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog/settings_dialog.py +0 -0
  28. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/dialog_test.py +0 -0
  29. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/__init__.py +0 -0
  30. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/common.py +0 -0
  31. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/easyeda.py +0 -0
  32. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/fusion_eagle.py +0 -0
  33. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/genericjson.py +0 -0
  34. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/kicad_extra/__init__.py +0 -0
  35. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/kicad_extra/netlistparser.py +0 -0
  36. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/kicad_extra/parser_base.py +0 -0
  37. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/kicad_extra/sexpressions.py +0 -0
  38. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/kicad_extra/xmlparser.py +0 -0
  39. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/schema/genericjsonpcbdata_v1.schema +0 -0
  40. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/ecad/svgpath.py +0 -0
  41. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/errors.py +0 -0
  42. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/generate_interactive_bom.py +0 -0
  43. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/i18n/language_en.bat +0 -0
  44. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/i18n/language_zh.bat +0 -0
  45. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/icon.png +0 -0
  46. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/ibom.css +0 -0
  47. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/ibom.html +0 -0
  48. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/ibom.js +0 -0
  49. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/lz-string.js +0 -0
  50. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/pep.js +0 -0
  51. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/render.js +0 -0
  52. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/split.js +0 -0
  53. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/table-util.js +0 -0
  54. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/InteractiveHtmlBom/web/util.js +0 -0
  55. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/LICENSE +0 -0
  56. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/README.md +0 -0
  57. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/__init__.py +0 -0
  58. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/baseline-settings-20px.svg +0 -0
  59. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/bom-grouped-32px.svg +0 -0
  60. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/bom-left-right-32px.svg +0 -0
  61. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/bom-netlist-32px.svg +0 -0
  62. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/bom-only-32px.svg +0 -0
  63. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/bom-top-bot-32px.svg +0 -0
  64. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/bom-ungrouped-32px.svg +0 -0
  65. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/btn-arrow-down.svg +0 -0
  66. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/btn-arrow-up.svg +0 -0
  67. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/btn-minus.svg +0 -0
  68. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/btn-plus.svg +0 -0
  69. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/btn-question.svg +0 -0
  70. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/copy-48px.svg +0 -0
  71. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/io-36px.svg +0 -0
  72. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/plugin.svg +0 -0
  73. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/plugin_icon_big.png +0 -0
  74. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/icons/stats-36px.svg +0 -0
  75. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/make_release.py +0 -0
  76. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/pyproject.toml +0 -0
  77. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/settings_dialog.fbp +0 -0
  78. {interactivehtmlbom-2.11.1 → interactivehtmlbom-2.11.2}/tests/test_module.py +0 -0
@@ -71,8 +71,7 @@ class PcbnewParser(EcadParser):
71
71
  var_fields = variant.GetFields()
72
72
  for k in var_fields.keys():
73
73
  props[str(k)] = str(f.GetFieldShownText(str(k)))
74
- if variant.GetDNP():
75
- props["kicad_dnp"] = "DNP"
74
+ props["kicad_dnp"] = "DNP" if variant.GetDNP() else ""
76
75
 
77
76
  return props
78
77
 
@@ -494,7 +493,8 @@ class PcbnewParser(EcadParser):
494
493
  pads.append(pad_dict)
495
494
  return pads
496
495
  else:
497
- pad_dict = self.parse_pad_layer(pad, layers_set[0])
496
+ pad_layer = layers_set[0] if layers_set else pcbnew.F_Cu
497
+ pad_dict = self.parse_pad_layer(pad, pad_layer)
498
498
  pad_dict["layers"] = layers
499
499
  return [pad_dict]
500
500
 
@@ -3,7 +3,7 @@ import os
3
3
  import subprocess
4
4
 
5
5
 
6
- LAST_TAG = 'v2.11.1'
6
+ LAST_TAG = 'v2.11.2'
7
7
 
8
8
 
9
9
  def _get_git_version():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: InteractiveHtmlBom
3
- Version: 2.11.1
3
+ Version: 2.11.2
4
4
  Summary: Generate Interactive Html BOM for your electronics projects
5
5
  Project-URL: Documentation, https://github.com/openscopeproject/InteractiveHtmlBom/wiki
6
6
  Project-URL: Issues, https://github.com/openscopeproject/InteractiveHtmlBom/issues