winiutils 2.3.12__py3-none-any.whl
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.
- winiutils/__init__.py +1 -0
- winiutils/dev/__init__.py +1 -0
- winiutils/dev/builders/__init__.py +1 -0
- winiutils/dev/cli/__init__.py +1 -0
- winiutils/dev/cli/subcommands.py +6 -0
- winiutils/dev/configs/__init__.py +1 -0
- winiutils/dev/tests/__init__.py +1 -0
- winiutils/dev/tests/fixtures/__init__.py +1 -0
- winiutils/dev/tests/fixtures/fixtures.py +32 -0
- winiutils/main.py +9 -0
- winiutils/py.typed +0 -0
- winiutils/resources/__init__.py +1 -0
- winiutils/src/__init__.py +4 -0
- winiutils/src/data/__init__.py +8 -0
- winiutils/src/data/dataframe/__init__.py +7 -0
- winiutils/src/data/dataframe/cleaning.py +734 -0
- winiutils/src/data/structures/__init__.py +8 -0
- winiutils/src/data/structures/dicts.py +40 -0
- winiutils/src/data/structures/text/__init__.py +7 -0
- winiutils/src/data/structures/text/string.py +157 -0
- winiutils/src/iterating/__init__.py +8 -0
- winiutils/src/iterating/concurrent/__init__.py +9 -0
- winiutils/src/iterating/concurrent/concurrent.py +301 -0
- winiutils/src/iterating/concurrent/multiprocessing.py +186 -0
- winiutils/src/iterating/concurrent/multithreading.py +132 -0
- winiutils/src/iterating/iterate.py +45 -0
- winiutils/src/oop/__init__.py +7 -0
- winiutils/src/oop/mixins/__init__.py +8 -0
- winiutils/src/oop/mixins/meta.py +217 -0
- winiutils/src/oop/mixins/mixin.py +58 -0
- winiutils/src/security/__init__.py +8 -0
- winiutils/src/security/cryptography.py +100 -0
- winiutils/src/security/keyring.py +167 -0
- winiutils-2.3.12.dist-info/METADATA +283 -0
- winiutils-2.3.12.dist-info/RECORD +38 -0
- winiutils-2.3.12.dist-info/WHEEL +4 -0
- winiutils-2.3.12.dist-info/entry_points.txt +4 -0
- winiutils-2.3.12.dist-info/licenses/LICENSE +21 -0
winiutils/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module for winipedia_utils."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""Fixtures for testing.
|
|
2
|
+
|
|
3
|
+
This module provides custom fixtures for pytest that can be pluued into tests
|
|
4
|
+
across the entire test suite.
|
|
5
|
+
All fixtures defined under the fixtures package are auto plugged in automatically
|
|
6
|
+
by pyrig via the pytest_plugins mechanism.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from collections.abc import Callable, Iterator
|
|
10
|
+
|
|
11
|
+
import keyring
|
|
12
|
+
import pytest
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@pytest.fixture
|
|
16
|
+
def keyring_cleanup() -> Iterator[Callable[[str, str], None]]:
|
|
17
|
+
"""Factory fixture to clean up keyring entries after test.
|
|
18
|
+
|
|
19
|
+
Usage:
|
|
20
|
+
def test_something(keyring_cleanup):
|
|
21
|
+
keyring_cleanup("service_name", "username")
|
|
22
|
+
# ... test code that creates keyring entries ...
|
|
23
|
+
"""
|
|
24
|
+
entries: list[tuple[str, str]] = []
|
|
25
|
+
|
|
26
|
+
def register(service_name: str, username: str) -> None:
|
|
27
|
+
entries.append((service_name, username))
|
|
28
|
+
|
|
29
|
+
yield register
|
|
30
|
+
|
|
31
|
+
for service_name, username in entries:
|
|
32
|
+
keyring.delete_password(service_name, username)
|
winiutils/main.py
ADDED
winiutils/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""__init__ module."""
|