damuffin
Advanced tools
+4
-5
@@ -102,2 +102,3 @@ from . import hector, star | ||
| star.hide(self.__elogfile) | ||
| self.incomplete = incomplete | ||
@@ -107,4 +108,2 @@ self.inprogress = inprogress | ||
| star.super_hide(self.__elogfile) | ||
| if overwrite: self.__write() | ||
@@ -115,3 +114,3 @@ self.__valid_states = ["incomplete", "inprogress", "complete"] | ||
| def __verify_parameters(self, objects: dict, types: tuple | list) -> bool: | ||
| def __verify_parameters(self, objects: dict, types: tuple | list) -> list: | ||
| return [name for name, value in objects.items() if type(value) not in types] | ||
@@ -192,7 +191,7 @@ | ||
| def remove(self, item): | ||
| state = self.__find_item(item) | ||
| state = self.__find_item(item) | ||
| item = self.__encrypt(item) | ||
| if state is not None: | ||
| self.__dict__[state].remove(item) | ||
| self.__write() |
+7
-0
@@ -19,2 +19,9 @@ import subprocess | ||
| def hide(file): | ||
| if not os.path.exists(file): | ||
| raise FileNotFoundError(f"Unable to find file with path: {file}") | ||
| try: subprocess.check_call(["attrib", "+h", file]) | ||
| except: pass | ||
| class StartupTools: | ||
@@ -21,0 +28,0 @@ def get_registries(self, filter=APP): |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: damuffin | ||
| Version: 1.5.7 | ||
| Version: 1.5.8 | ||
| Summary: A collection of different submodules. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/DaMuffinDev/damuffin.py |
+7
-7
| damuffin/__init__.py,sha256=YF4V8pG_-fTxEez9BDqqlVPYugIaLjtrN0-trF25JPQ,40 | ||
| damuffin/browser.py,sha256=Twn_vEdxi-FARFB-qT5Vj3YuiPl4CzR2srViZCRjWcQ,18111 | ||
| damuffin/damuffin.py,sha256=egiHF25XIBI47tQdxyzzTSy_VxED1SYdgBvTuU9CR7s,12004 | ||
| damuffin/elog.py,sha256=aSQJd3bhy25M2qswp56pEp_dSgO0Go3cANzr6zDpFdE,6650 | ||
| damuffin/elog.py,sha256=Zko92ycit2WPjAtwAl5mHUJvD1sVM-kwmG8YofFnYTk,6658 | ||
| damuffin/hector.py,sha256=xvsrt3rAhQPoSd3KbKkeBlQ0DTQ4618eHIux3euhDn0,588 | ||
| damuffin/net.py,sha256=P9jFOJ7iHF31s3nRQ_AQcZ-4HVbnCtErQxReCBVt9Cg,8379 | ||
| damuffin/star.py,sha256=L6O4ovQ6TnuyIdbJOALYF1caJeLJjazQ4uDxzs4OQqk,2440 | ||
| damuffin/star.py,sha256=dC_GtRqfhTg59wAOYqU6jVpvJPEb4lpQS8b7HQofyA0,2644 | ||
| damuffin/sysinfo.py,sha256=w61iiBeGOk4aYzTeWHr5GOt3Ikb4LkMapZIp2RcGjE8,8095 | ||
| damuffin-1.5.7.dist-info/LICENSE,sha256=oRN7OX7W-nf6kpgw7LUqW4WhQu86A2axu51b-U3MA0U,1089 | ||
| damuffin-1.5.7.dist-info/METADATA,sha256=n6RWBZtSIHbMNJ4YO2gyaprqFG2-2ixyN50Q7JXPyNY,621 | ||
| damuffin-1.5.7.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 | ||
| damuffin-1.5.7.dist-info/top_level.txt,sha256=jhAfX0gTmarlUxi8oinMg-Dndd0gKQ6B02gGwNTrwZ8,9 | ||
| damuffin-1.5.7.dist-info/RECORD,, | ||
| damuffin-1.5.8.dist-info/LICENSE,sha256=oRN7OX7W-nf6kpgw7LUqW4WhQu86A2axu51b-U3MA0U,1089 | ||
| damuffin-1.5.8.dist-info/METADATA,sha256=qlr1J3rxBVDllRpqCJQB9B3pqhgfCiRVA0BDl18vMMs,621 | ||
| damuffin-1.5.8.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 | ||
| damuffin-1.5.8.dist-info/top_level.txt,sha256=jhAfX0gTmarlUxi8oinMg-Dndd0gKQ6B02gGwNTrwZ8,9 | ||
| damuffin-1.5.8.dist-info/RECORD,, |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.