New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ogl

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ogl - pypi Package Compare versions

Comparing version
3.6.2
to
3.6.3
+17
-2
PKG-INFO
Metadata-Version: 2.2
Name: ogl
Version: 3.6.2
Version: 3.6.3
Summary: External Pyut Graphical Shapes

@@ -10,8 +10,23 @@ Author-email: "Humberto A. Sanchez II" <Humbert.A.Sanchez.II@gmail.com>

Keywords: pyut,graphical shapes,python
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: wxPython~=4.2.2
Requires-Dist: codeallybasic>=1.8.0
Requires-Dist: codeallybasic>=1.8.5
Requires-Dist: codeallyadvanced>=1.3.3
Requires-Dist: pyutmodelv2>=2.2.2
Provides-Extra: test
Requires-Dist: mypy==1.13.0; extra == "test"
Requires-Dist: mypy-extensions==1.0.0; extra == "test"
Requires-Dist: types-Deprecated==1.2.9.20240311; extra == "test"
Requires-Dist: html-testRunner~=1.2.1; extra == "test"
Provides-Extra: deploy
Requires-Dist: wheel==0.45.1; extra == "deploy"
Requires-Dist: setuptools==75.7.0; extra == "deploy"
Requires-Dist: twine==6.0.1; extra == "deploy"
Requires-Dist: build==1.2.2.post1; extra == "deploy"

@@ -18,0 +33,0 @@ ![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/agpl-license-web-badge-version-2-256x48.png "AGPL")

@@ -15,5 +15,13 @@ [build-system]

classifiers = [
"Programming Language :: Python",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
'wxPython~=4.2.2',
'codeallybasic>=1.8.0',
'codeallybasic>=1.8.5',
'codeallyadvanced>=1.3.3',

@@ -23,2 +31,17 @@ 'pyutmodelv2>=2.2.2',

[project.optional-dependencies]
test = [
'mypy==1.13.0',
'mypy-extensions==1.0.0',
'types-Deprecated==1.2.9.20240311',
'html-testRunner~=1.2.1',
]
deploy = [
"wheel==0.45.1",
"setuptools==75.7.0",
"twine==6.0.1",
"build==1.2.2.post1",
]
[project.urls]

@@ -25,0 +48,0 @@ Repository = 'https://github.com/hasii2011/ogl'

@@ -11,3 +11,4 @@

from wx import Rect
from wx import WHITE
from wx import SystemAppearance
from wx import SystemSettings

@@ -129,9 +130,14 @@ from wx import EVT_LEFT_DCLICK

self.__backgroundBitmap = Bitmap(w, h)
self._defaultFont = Font(DiagramFrame.DEFAULT_FONT_SIZE, FONTFAMILY_DEFAULT, FONTSTYLE_NORMAL, FONTWEIGHT_NORMAL)
self._defaultFont = Font(DiagramFrame.DEFAULT_FONT_SIZE, FONTFAMILY_DEFAULT, FONTSTYLE_NORMAL, FONTWEIGHT_NORMAL)
self.SetBackgroundColour(WHITE)
self._prefs: OglPreferences = OglPreferences()
self._oglEventEngine: IOglEventEngine = OglEventEngine(listeningWindow=self)
systemAppearance: SystemAppearance = SystemSettings.GetAppearance()
self._darkMode: bool = systemAppearance.IsDark()
self._dfLogger.info(f'{self._darkMode=}')
self._setAppropriateSetBackground()
# Mouse events

@@ -1067,3 +1073,7 @@ self.Bind(EVT_LEFT_DOWN, self.OnLeftDown)

gridLineColor: Colour = MiniOglColorEnum.toWxColor(self._prefs.gridLineColor)
if self._darkMode is True:
gridLineColor: Colour = MiniOglColorEnum.toWxColor(self._prefs.darkModeGridLineColor)
else:
gridLineColor = MiniOglColorEnum.toWxColor(self._prefs.gridLineColor)
gridLineStyle: PenStyle = MiniOglPenStyle.toWxPenStyle(self._prefs.gridLineStyle)

@@ -1082,1 +1092,10 @@

return ans
def _setAppropriateSetBackground(self):
if self._darkMode is True:
color: Colour = MiniOglColorEnum.toWxColor(self._prefs.darkModeBackGroundColor)
self.SetBackgroundColour(color)
else:
color = MiniOglColorEnum.toWxColor(self._prefs.backGroundColor)
self.SetBackgroundColour(color)

@@ -36,2 +36,5 @@

MINT_CREAM = 'Mint Cream'
GREY = 'Grey'
CADET_BLUE = 'Cadet Blue'
AF_BLUE = 'Air Force Blue'

@@ -46,2 +49,3 @@ @staticmethod

cdb.AddColour(MiniOglColorEnum.MINT_CREAM.value, Colour(245, 255, 250))
cdb.AddColour(MiniOglColorEnum.AF_BLUE.value, Colour(0, 48, 143))

@@ -48,0 +52,0 @@ c: Colour = cdb.Find(colorEnum.value)

Metadata-Version: 2.2
Name: ogl
Version: 3.6.2
Version: 3.6.3
Summary: External Pyut Graphical Shapes

@@ -10,8 +10,23 @@ Author-email: "Humberto A. Sanchez II" <Humbert.A.Sanchez.II@gmail.com>

Keywords: pyut,graphical shapes,python
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: wxPython~=4.2.2
Requires-Dist: codeallybasic>=1.8.0
Requires-Dist: codeallybasic>=1.8.5
Requires-Dist: codeallyadvanced>=1.3.3
Requires-Dist: pyutmodelv2>=2.2.2
Provides-Extra: test
Requires-Dist: mypy==1.13.0; extra == "test"
Requires-Dist: mypy-extensions==1.0.0; extra == "test"
Requires-Dist: types-Deprecated==1.2.9.20240311; extra == "test"
Requires-Dist: html-testRunner~=1.2.1; extra == "test"
Provides-Extra: deploy
Requires-Dist: wheel==0.45.1; extra == "deploy"
Requires-Dist: setuptools==75.7.0; extra == "deploy"
Requires-Dist: twine==6.0.1; extra == "deploy"
Requires-Dist: build==1.2.2.post1; extra == "deploy"

@@ -18,0 +33,0 @@ ![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/agpl-license-web-badge-version-2-256x48.png "AGPL")

wxPython~=4.2.2
codeallybasic>=1.8.0
codeallybasic>=1.8.5
codeallyadvanced>=1.3.3
pyutmodelv2>=2.2.2
[deploy]
wheel==0.45.1
setuptools==75.7.0
twine==6.0.1
build==1.2.2.post1
[test]
mypy==1.13.0
mypy-extensions==1.0.0
types-Deprecated==1.2.9.20240311
html-testRunner~=1.2.1
+1
-1

@@ -1,1 +0,1 @@

__version__ = '3.6.2'
__version__ = '3.6.3'

@@ -24,7 +24,13 @@

DEFAULT_BACKGROUND_COLOR: str = MiniOglColorEnum.WHITE.value
DEFAULT_DARK_MODE_BACKGROUND_COLOR: str = MiniOglColorEnum.DIM_GREY.value
DEFAULT_GRID_LINE_COLOR: str = MiniOglColorEnum.AF_BLUE.value
DEFAULT_DARK_MODE_GRID_LINE_COLOR: str = MiniOglColorEnum.WHITE.value
DEFAULT_CLASS_BACKGROUND_COLOR: str = MiniOglColorEnum.MINT_CREAM.value
DEFAULT_CLASS_TEXT_COLOR: str = MiniOglColorEnum.BLACK.value
DEFAULT_GRID_LINE_COLOR: str = MiniOglColorEnum.LIGHT_GREY.value
DEFAULT_GRID_LINE_STYLE: str = MiniOglPenStyle.DOT.value
oglProperties: ValueDescriptions = ValueDescriptions(

@@ -49,9 +55,14 @@ {

{
KeyName('centerDiagram'): ValueDescription(defaultValue='False', deserializer=SecureConversions.secureBoolean),
KeyName('backGroundGridEnabled'): ValueDescription(defaultValue='True', deserializer=SecureConversions.secureBoolean),
KeyName('snapToGrid'): ValueDescription(defaultValue='True', deserializer=SecureConversions.secureBoolean),
KeyName('showParameters'): ValueDescription(defaultValue='False', deserializer=SecureConversions.secureBoolean),
KeyName('backgroundGridInterval'): ValueDescription(defaultValue='25', deserializer=SecureConversions.secureInteger),
KeyName('gridLineColor'): ValueDescription(defaultValue=DEFAULT_GRID_LINE_COLOR, enumUseValue=True, deserializer=MiniOglColorEnum),
KeyName('gridLineStyle'): ValueDescription(defaultValue=DEFAULT_GRID_LINE_STYLE, enumUseValue=True, deserializer=MiniOglPenStyle),
KeyName('centerDiagram'): ValueDescription(defaultValue='False', deserializer=SecureConversions.secureBoolean),
KeyName('backGroundGridEnabled'): ValueDescription(defaultValue='True', deserializer=SecureConversions.secureBoolean),
KeyName('snapToGrid'): ValueDescription(defaultValue='True', deserializer=SecureConversions.secureBoolean),
KeyName('showParameters'): ValueDescription(defaultValue='False', deserializer=SecureConversions.secureBoolean),
KeyName('backgroundGridInterval'): ValueDescription(defaultValue='25', deserializer=SecureConversions.secureInteger),
KeyName('gridLineStyle'): ValueDescription(defaultValue=DEFAULT_GRID_LINE_STYLE, enumUseValue=True, deserializer=MiniOglPenStyle),
KeyName('backGroundColor'): ValueDescription(defaultValue=DEFAULT_BACKGROUND_COLOR, enumUseValue=True, deserializer=MiniOglColorEnum),
KeyName('darkModeBackGroundColor'): ValueDescription(defaultValue=DEFAULT_DARK_MODE_BACKGROUND_COLOR, enumUseValue=True, deserializer=MiniOglColorEnum),
KeyName('gridLineColor'): ValueDescription(defaultValue=DEFAULT_GRID_LINE_COLOR, enumUseValue=True, deserializer=MiniOglColorEnum),
KeyName('darkModeGridLineColor'): ValueDescription(defaultValue=DEFAULT_DARK_MODE_GRID_LINE_COLOR, enumUseValue=True, deserializer=MiniOglColorEnum),
}

@@ -58,0 +69,0 @@ )